is there a proc to run a z-test in SAS (differencce in proportions); thought there might be since there is proc ttest; else i thought i could modify proc freq or proc uninvariate.
if someone could guide me to SAS documentaiotn on this, would be much appreciated. been searching but can;t find anything.
i did the calc by hand (which was kinda fun); but would be good to know how to do this in SAS
thanks
No, that note is for comparing correlations. See this note for comparing proportions. As noted there, the chi-square test is equivalent to the Z test (just the square of it).
See the article "Test for the equality of two proportions in SAS."
thanks for the link Rick
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.