The question i want to solve is;
Make a scatterplot and portrays how weight (wt in x-axis) and height (ht
in y-axis) differs between genders (sex).Confirm your conclusions with a histogram and a comparative box plot.
I have made the scatterplot however am unsure how to do the second bit. Would I need 2 separate box plots and histograms to do this?
Box plots: one plot, two boxes (one for male and one for female)
Histogram: one plot, bars for males along side bars for females.
PROC SGPLOT will do both.
Box plots: one plot, two boxes (one for male and one for female)
Histogram: one plot, bars for males along side bars for females.
PROC SGPLOT will do both.
Both box plots and scatterplots have only one y-variable.
So you will need one box plot for height and another for weight. Same for histograms.
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 16. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.