Hi,
I'm just running one of the examples from here (the Top Companies Profile Study) and when I run the code I get no plots. I tried resetting all goptions but didn't help. I do get graphical output using Proc Freq with ODS Graphics On so maybe it's an issue with my version of SAS and the SURVEYMEANS procedure? I'm running SAS 9.4 TS 1M0
Thanks,
Brian Adams
You are using 9.4m0, which corresponds to SAS/STAT 12.3. The documentation you linked to is the 13.1 doc. To connect SAS versions to SAS/STAT numbering, see
The What's New doc for SAS/STAT 13.1 says
You can request plots by specifying the PLOTS= option in the PROC SURVEYMEANS statement for continuous analytical variables. PROC SURVEYMEANS provides a summary plot that includes a box plot and a histogram plot. When you specify a DOMAIN statement, PROC SURVEYMEANS also produces box plots for domain statistics."
I conclude that you can't get those plots in 12.3.http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...
BTW, here's a link to the HTML documentation instead of the PDF documentation:
This should make it easier for you to navigate, and to cut and paste from the doc.
Please post which exact code you submitted.
BallardW,
Thanks for the quick response. I would post the code if I could copy/paste into this forum but it doesn't seem to be an option. If you go to the link in my initial post and go to page 8263, it is Example 96.2
Brian Adams
The code on page 8265, with the actual Proc Surveymeans has no plot statement. Have you tried adding one such as Plots=boxplot ?
I don't have SAS 9.4 so can't test plots with surveymeans.
You are using 9.4m0, which corresponds to SAS/STAT 12.3. The documentation you linked to is the 13.1 doc. To connect SAS versions to SAS/STAT numbering, see
The What's New doc for SAS/STAT 13.1 says
You can request plots by specifying the PLOTS= option in the PROC SURVEYMEANS statement for continuous analytical variables. PROC SURVEYMEANS provides a summary plot that includes a box plot and a histogram plot. When you specify a DOMAIN statement, PROC SURVEYMEANS also produces box plots for domain statistics."
I conclude that you can't get those plots in 12.3.http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...
BTW, here's a link to the HTML documentation instead of the PDF documentation:
This should make it easier for you to navigate, and to cut and paste from the doc.
Rick,
Thanks for the great response and links!
Brian Adams
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.