Displaying posts categorized under

SAS

Examples to demonstrate dataset manipulation in SAS

Data is king in statistical analysis. Here provide several examples related to data input, manipulation, and merging. Read data from a file When using SAS, you will alsways want to read data from a existing data file. This will simplify the copy data around and waste the disk space, share a same set of data [...]

  • Share/Bookmark

Generating the treatment layout of a completely randomized (CR) design

This a small SAS program to generate the treatment layouts of a completely randomized (CR) design. Use any text editor to enter the following program and save it to a file with a file extension “.SAS”. Then you can run the program in SAS. You can change the number of treatments (th) and the number [...]

  • Share/Bookmark