Help using Base SAS procedures

PROC UNIVARIATE would not produce stem and leaf plot

Accepted Solution Solved
Reply
Contributor
Posts: 62
Accepted Solution

PROC UNIVARIATE would not produce stem and leaf plot

I used to produce stem-and-leaf and box plot in proc univariate by specifying PLOT in the PROC UNIVARIATE statement

proc univariate data=data plot;

  var var ;

run;

Cannot get this result anymore and I don't know why :-(

no error messages or warnings, and can't figure why - I am missing something... any help nice community?


Accepted Solutions
Solution
‎03-26-2014 03:53 PM
Super User
Posts: 19,851

Re: PROC UNIVARIATE would not produce stem and leaf plot

Are you outputting to HTML or with ODS GRAPHICS ON?

produces a stem-and-leaf plot (or a horizontal bar chart), a box plot, and a normal probability plot in line printer output


ods listing;

ods graphics off;

proc univariate data=sashelp.class plot;

var age;

run;

View solution in original post


All Replies
Solution
‎03-26-2014 03:53 PM
Super User
Posts: 19,851

Re: PROC UNIVARIATE would not produce stem and leaf plot

Are you outputting to HTML or with ODS GRAPHICS ON?

produces a stem-and-leaf plot (or a horizontal bar chart), a box plot, and a normal probability plot in line printer output


ods listing;

ods graphics off;

proc univariate data=sashelp.class plot;

var age;

run;

Contributor
Posts: 62

Re: PROC UNIVARIATE would not produce stem and leaf plot

Reeza you are awesome! I had the graphics on. Thank you community!

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 3484 views
  • 0 likes
  • 2 in conversation