Exercise 4: Counts and
Exercise 4: Counts and
Summarizing Data
Be sure that you have set up a libname statement to define the SASDATA2 library before you begin this exercise.
libname sasdata2 "C:\Users\kwelch\Desktop\sasdata2";
1. Using the autism_socialization SAS dataset, create a new dataset called autism_countdata that contains a variable called VISIT that counts the visits for each child. This dataset should have 896 observations (the same as the autism_socialization dataset).
2. Create another new dataset called autism_lastvisit from autism_countdata that contains only the last visit for each child, along with the total number of visits for that child. This dataset should have 213 observations in it.
3. If you have time, create another dataset called autism_firstvisit that contains only the first visit for each child. This dataset should also have 213 observations.
4. Use Proc Means to create a summary dataset called autism_summary from autism_socialization that contains the following statistics:
mean of VSAE (MEAN_VSAE)
minimum of VSAE (MIN_VSAE)
maximum of VSAE (MAX_VSAE)
standard deviation of VSAE (STD_VSAE)
n of VSAE (N_VSAE)
mean of AGEAUTO (MEAN_AGE)
minimum of AGEAUTO (MIN_AGE)
maximum of AGEAUTO (MAX_AGE)
standard deviation of AGEAUTO (STD_AGE)
n of AGEAUTO (N_AGE)
This new dataset should contain 213 observations, one for each child in the dataset.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- working with sas formats catalogs
- creating a dataset of phase space density
- creation of dataset and screening program
- epi info 7 user guide chapter 8 visual dashboard
- database design document template cms
- stata by and egen commands university of maryland
- exercise 4 counts and
- lab 1 linq project unified language features for object
Related searches
- exercise trivia questions and answers
- exercise quiz questions and answers
- 4 ecosystems and communities answers
- 4 lobes and their functions
- element with 4 protons and 6 neutrons
- chapter 4 questions and answers
- the outsiders chapter 4 questions and answers
- difference between 4 10 and 3 73
- 4 list and describe the 4ps
- new york 4 numbers and 3 numbers
- 2 4 state and city income taxes
- chapter 14 lesson 4 cells and eneeryy gt