这个是当初最开始学习用SAS的时候做的笔记,现在再次看到有点亲切和熟悉,初学者看书做笔记的感觉。。。
回过头看,这些非常基础的用法却是平时用的最多的代码。
If you'd like to add one blank row in your report, as shown below:
Here is to present a set of SDTM and ADaM datasets from CDISC pilot projects as resources for R develpment and programming.
In this article, we are going to present how to work with files and folders in R and SAS.
The Bland-Altman analysis is the most common method of assessing the agreement in method comparison in IVD CT or CE trials.
This post is to talk about how to compare two paired areas under ROC curves(AUC) for diagnostic accuracy by non-inferiority test.
If you often work with data manipulation, obviously you need to know how to merge and transpose data as that is very common in our data processing.
Selecting N rows from a dataset or K-th element from a macro variable is a common data manipulation process. This post is listing the ways how to resolve these questions.
Handling the duplicates and missing values in data manipulation is a very common process. This post is taking a few examples to list how to accomplish it from a datasets in SAS.
This post is talking about how to display descriptive statistics for variables quickly. In the sense that we would like to know an usual and agile way to accomplish it in SAS.
Sometimes we would want to list column names of a SAS dataset, which can be useful in other programs, such as proc freq
, proc transpose
.
Standing up a flag here, I'm planning to keep a series of notes to minute my questions met in sas learning. Practice is the best teacher, practice makes perfect!
由于Hexo博客中的about页面默认是通过markdown渲染的,假如想用自定义的页面,比如HTML/CSS方式,那么该如何实现呢?
对团队R包开发的协作经验,做个小结;并为个人开发R包做个基础知识准备
Assume that you input
a character string 20211109
with a sas format like yymmdd8.
that specifies how sas must interpret the character string, you will get a numeric number 22593
.
This is reference to the "Chapter 8 A graphical compendium" in <SAS and R: Data Management, Statistical Analysis, and Graphics (second edition)>.
I believe that the capability of data science is more than just building predictive models, data visualization is also an integral part, especially in a convincing way.
This is reference to the "Chapter 3 Statistical and mathematical functions", "Chapter 4 Programming and operating system interface" and "Chapter 5 Common statistical procedures" in <SAS and R: Data Management, Statistical Analysis, and Graphics (second edition)>.
This is reference to the 2.3 section of Data management and 2.4 Date and time variables in <SAS and R: Data Management, Statistical Analysis, and Graphics (second edition)>.
在R中常说的数据集操作是指处理数据框类型的数据,当然有时也会是其他的数据类型。在SAS中就是数据集,SAS相比其他编程方法来说数据类型还是太少了。。
处理数据,常见的不外乎combination, collation, and subsetting
This is reference to the 2.1 to 2.2 section of Data management in <SAS and R: Data Management, Statistical Analysis, and Graphics (second edition)>.
我一直想找一个合适的方法来记录SAS的学习笔记,最好能结合以往的编程经验(如R or Python);我想到了当初学习Python的时候是根据实际需要,结合R/Perl的既往经验来互补学习,那么SAS也是可以这样。