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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.