

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Davenport; Class: INTRO TO STATISTICAL COMPUTING; Subject: Statistics; University: Virginia Commonwealth University; Term: Unknown 1989;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


a. For the following problem, you are to create a data step that will read the data and create a temporary SAS data set. Use whatever input style you desire. Use informats, formats, and labels freely. Create a printing (using PROC PRINT) of the data set's variable values making use of titles.
Elderly persons often sustain injuries due to falls. In an attempt to understand the frequency and diversity of the number of falls among the elderly residing in a nursing home, records were reviewed for a period of one year. The number of falls for several patients was entered in the (raw data) file: falls.txt (this data set is on the L-drive and can be downloaded from the Stat 321 web site). Place this data set to an appropriate directory on your computer.
Create a SAS program that will read this data using an “infile” statement into a temporary SAS data set. In addition to printing the data, provide a horizontal bar chart of the number of falls. You may use the default chart provided by the procedure, PROC Chart. Also, make appropriate use of “titles” in the procedures.
b. On the L-drive or on the Stat 321 web site (under “Homework > hw05), there are two files called “Gorman_Toman.txt” and “Gorman_Toman1.txt”. Download these two files to your pc. The Gorman_Toman1.txt file is a simple ASCII DOS text file that presents information about the data and the variables that are in the data set. The other file contains the data (space delimited).
c. On the L-drive or on the Stat 321 web site (under “Homework > hw05), there is a permanent SAS data set called “Grades_SAS_Data_Set” (the actual name of the file is grades.sas7bdat). Download this SAS data set to your pc and place it in your SAS data library.
This data set is the data base for a distance learning class broadcast from the University of TV. There were several remote sites that logged on and took the course, and there were varying numbers of students at the remote sites. Also provided in the data set are the grades on four examinations and a homework average.
Answer the following questions:
(a) How many students were there in this class? (b) How many distance-learning sites were taking this course?