SAS statistical analysis programming

bar chart and its properties.

BAR CHART

vbar metro / response=Payment stat=median GROUPDISPLAY=stack;

run;

/ stat=percent shows the percent.

/ response = comparative numerical variable

Grouped HBAR VBAR

hbar MortgagePayment / group=metro

Group = variable <treated as a categorical >

ss

the placement by default occurs to be stack. But we can check it using GroupDisplay = option` options are stack, cluster (side by side).

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store