Question: Write a SAS program containing an infile statement to access the data set used in SAS Example B5 (see Fig. 2.13) from a text file.
Write a SAS program containing an infile statement to access the data set used in SAS Example B5 (see Fig. 2.13) from a text file. Use proc tabulate to obtain a table laid out as follows. The rows of the table consist of the combinations of year in school and gender, with the levels of gender appearing within each level of year. The column must present mean and standard deviation of the two variables height and weight.
Use formats and labels to enhance your table. How can you add a single column containing the sample size formatted to print as a four-digit integer?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
