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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.