BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mariko5797
Pyrite | Level 9

mariko5797_0-1631725913617.png

 

Is there a way to have the bottom right be an Origin = any (i.e. overall distribution)? My thought is to do something like this: 

data cars;
 set sashelp.cars;
run;

data cars2;
 set cars;
 origin = 'any';
run;

data cars3;
 set cars cars2;
run;

However, I feel like this may take up too much computational power if you have a particularly large dataset, so is there another way?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

You don't mention any specific type of plot.

If concerned about large data with that approach then summarize the data yourself and don't have the graphing procedure do it. But if you are looking at Histogram or Density you can summarize and provide a Freq variable for a count of identical plot values to reduce the data set size (maybe, depends on your data).

 

You might consider a format or rounded value for largish continuous variables like price before summarizing to reduce the number of records as well. Consider if a car has a price in the $35,000 how much practical significance comes with a difference of a couple hundred dollars for examining distributions?

View solution in original post

1 REPLY 1
ballardw
Super User

You don't mention any specific type of plot.

If concerned about large data with that approach then summarize the data yourself and don't have the graphing procedure do it. But if you are looking at Histogram or Density you can summarize and provide a Freq variable for a count of identical plot values to reduce the data set size (maybe, depends on your data).

 

You might consider a format or rounded value for largish continuous variables like price before summarizing to reduce the number of records as well. Consider if a car has a price in the $35,000 how much practical significance comes with a difference of a couple hundred dollars for examining distributions?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 377 views
  • 0 likes
  • 2 in conversation