BookmarkSubscribeRSS Feed
tabraz
Fluorite | Level 6

"I want to create graph .




2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

An excel file is of no use to us.

You can get averages from proc means:

proc means data=have;
  by nr;
  var ...;
  output out=want mean=mean;
run;

As for what plot you want, no information, so can't say.  I can say that this blog:

http://blogs.sas.com/content/graphicallyspeaking/

 

Is where you should be looking for any thing graphically.  It has thousands of examples with code on pretty much any graph you can think of.

ballardw
Super User

Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.

 

Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 719 views
  • 0 likes
  • 3 in conversation