Question: Write a SAS macro called descripstat that will calculate a descriptive statistic for a variable, in an arbitrary SAS data set. The statistic, the variable,

Write a SAS macro called descripstat that will calculate a descriptive statistic for a variable, in an arbitrary SAS data set. The statistic, the variable, and the name of the data set should be macro parameters. The descriptive statistic should be one that can be calculated by PROC MEANS. Have the macro include a title on the output that describes exactly what is being calculated.

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!