Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The data file donation.dat is in the STA3024 folder. The first 10 observations are: 120265 . . . 25 120267 15 15 15 15 120269
- The data file donation.dat is in the STA3024 folder. The first 10 observations are:
120265 . . . 25 120267 15 15 15 15 120269 20 20 20 20 120270 20 10 5 . 120271 20 20 20 20 120272 10 10 10 10 120275 15 15 15 15 120660 25 25 25 25 120662 10 . 5 5 120663 . . 5 .
The following variables should be read in using list style input:
Name | Type | Length |
IDNum | Character | 6 |
Q1 | Numeric | 8 |
Q2 | Numeric | 8 |
Q3 | Numeric | 8 |
Q4 | Numeric | 8 |
Q1, Q2, Q3, and Q4 are the quarterly donations from each person.
Make a SAS data set containing the ID, Q1, Q2, Q3, Q4 and two new variables:
The number of quarters in which a person has a missing donation.
The total of the donations for each person. Use SAS functions to calculate the new variables.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started