BookmarkSubscribeRSS Feed
Ngo99
Fluorite | Level 6

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:

Screenshot (484).png

4 REPLIES 4
PaigeMiller
Diamond | Level 26

Do you mean print on paper? Because it seems as if you have already printed to a file. Can you explain further?

--
Paige Miller
Ngo99
Fluorite | Level 6
hi, no. That was a sample given to me and now I am trying to get that for my data.
Sajid01
Meteorite | Level 14

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 

Sajid01_0-1652632485294.pngLast 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.

PaigeMiller
Diamond | Level 26

@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.

--
Paige Miller

sas-innovate-wordmark-2025-midnight.png

Register Today!

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.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 787 views
  • 0 likes
  • 3 in conversation