Question: Correct the SAS code below to produce the output: obs city state rainfall precipit 1 Norfolk VA 5 8 2 Miami FL 6.75 18 3
Correct the SAS code below to produce the output:
| obs | city | state | rainfall | precipit |
| 1 | Norfolk | VA | 5 | 8 |
| 2 | Miami | FL | 6.75 | 18 |
| 3 | Nashville | TN | 12 |
data D3; input city state rainfall precipit; cards; Norfolk VA 5 8 Miami FL 6.75 18 Raleigh NC 12 ; proc print; run;
Hint: Use @@ to read multiple observations per line. There is a numeric missing value in the data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
