Question: SAS coding. Using the data set below. Generate a frequency distribution of the new tertiles variable for age at visit 9. Give your new variable

SAS coding.
Using the data set below.
Generate a frequency distribution of the new tertiles variable for age at visit 9.
Give your new variable a label and format your variable to indicate which is tertile 1, 2, and 3.
How would I do this?
 SAS coding. Using the data set below. Generate a frequency distribution

data test; 2 set neslib.nghsdatal; run 1 5/91/ 6 Proc contents data-test; 7 run 9/92/ 10 Proc means data-test; 11 var activescorel activescore2 activescore activescore18; 12 run; 14 /37 15 proc means median min pi p25 pse pse p75 099 max maxdec-2; 16 var activescorel; 17 run 19 /"937 20 proc univariate data-nghslib.ngsdato: 21 var ActiveScore10; 22 histogram ActiveScorele; run; data test; 2 set neslib.nghsdatal; run 1 5/91/ 6 Proc contents data-test; 7 run 9/92/ 10 Proc means data-test; 11 var activescorel activescore2 activescore activescore18; 12 run; 14 /37 15 proc means median min pi p25 pse pse p75 099 max maxdec-2; 16 var activescorel; 17 run 19 /"937 20 proc univariate data-nghslib.ngsdato: 21 var ActiveScore10; 22 histogram ActiveScorele; run

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!