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?

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 1 reply
  • 505 views
  • 0 likes
  • 2 in conversation