Hi, I am trying to view the analysis variable table to check on both the skewness and kurtosis of a graph I am trying to print. May I please know the code to use to print out this specific table below:
Do you mean print on paper? Because it seems as if you have already printed to a file. Can you explain further?
There are multiple ways. One approach is to use proc means. The following code helps you to get the information. I am using the sashelp.class dataset and doing it for one variable. For more details read the SAS documentation on proc means.
proc means data=sashelp.class (Keep=Age) MEAN STD MIN MAX MEDIAN N NMISS STDERR CV KURTOSIS SKEWNESS MEDIAN ;
run;
The output will be
Last but not the least, a new user should not hesitate to seek help from peers in the organization and should read basic books on SAS.
@Ngo99 wrote:
hi, no. That was a sample given to me and now I am trying to get that for my data.
You could ask that person how the output was created, and do the same.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.