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
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!
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.