Sleep in Mammals
(data input, missing values, creating variables)
- Create a SAS data set using the sleep data set.
- Convert the values of -999.0 to a missing value for each variable.
- Create a new variable which is the ratio of brain weight to body weight.
- Sort the data by this new variable and print the data set with the
observation having the largest value of the ratio first.
- Summarize the data, displaying the following quantities for each
variable in the data set: number of observations, number of missing
observations, minimum, median, maximum, mean and standard deviation.