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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1285 views
  • 0 likes
  • 3 in conversation