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