Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 10 Weeks Ago, 4 Days Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Please help me with SAS program and send me the world file
1. Download the data http://www.statsci.org/data/general/sleep.txt
(originally from http://lib.stat.cmu.edu/datasets/sleep)
and read these data into a SAS data set. (These data are from OzDASL, the Australian
Data and Story Library.) Make sure you reassign the missing code from -999.0 to .
(Hint: Use an “if” statement in a DATA block.) Make sure that you identify animal name
as a character variable (Using $ after the variable declaration).
2. The following data on muscle mass (column 1) and age (column 2) were collected.
82.0 71.0
91.0 64.0
100.0 43.0
68.0 67.0
87.0 56.0
73.0 73.0
78.0 68.0
80.0 56.0
65.0 76.0
84.0 65.0
116.0 45.0
76.0 58.0
97.0 45.0
100.0 53.0
105.0 49.0
77.0 78.0
i. Create a text file containing this information.
ii. Use “infile” to bring these data into SAS.
iii. Produce summary statistics for each variable (use UNIVARIATE)
iv. Generate a plot of muscle mass as a function of age (use SGPLOT).(Source: Neter et
al.)
-----------