![]() ![]() In a technical sense, it means that SAS chooses the format that provides the most information about the summary statistics while maintaining a default field width of 12. format to display values in reports created by the MEANS procedure. The other thing you might notice about the output is that there are many more decimal places displayed than are necessary. Launch and run the SAS program, and review the output to convince yourself that the subj and hosp variables have been excluded from the analysis. After all, how does it help us to know that the average subj number is 327199.5? ![]() For our hematology data set, for example, it doesn't make much sense for SAS to calculate summary statistics for the subj and hosp variables. Instead, you'll probably just want to focus on a few important variables. In most cases, you probably don't want SAS to calculate summary statistics for every numeric variable in your data set. ![]() As you can see, in its most basic form, the MEANS procedure prints N (the number of nonmissing values), the mean, the standard deviation, and the minimum and maximum values of every numeric variable in the data set. Launch and run the SAS program, and review the output to familiarize yourself with the summary statistics that the MEANS procedure calculates by default. Therefore, you should see output that looks something like this: You may recall that the CONTENTS procedure's POSITION option tells SAS to display the contents of the data set in the order in which the variables appear in the data set. Then, launch the SAS program, and edit the LIBNAME statement so that it reflects the location in which you saved the data set. First, click the link to save the hematology data set to a convenient location on your computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |