How do I conduct a z test for multiple independent proportions
Jun 28, 2016 12:20 PM(1371 views)
I have three independent samples and want to test if P1=P2=P3. I am attaching the file I have created in JMP. I can do this hypothesis testing using an online calculator: Z-test for Proportions-Independent Groups | McCallum Layton, but I would prefer to do this in JMP so that I can get the details. Can someone walk me how to do this?
Copy this script to a new script window, then with the table open that you shared run this script. Then from the main red triangle: Script > Relaunch Analysis to see how I completed the dialog box. The ANOM for proportions is an option in the contingency platform. You can also change the ANOM plot to be for your "Yes" variable if you prefer (red triangle menu once you run the ANOM). Note, this compares all three of your groups to the overall proportion.
Y( :Name( "Completed?" ) ),
X( :Name( "Labs?" ) ),
Weight( :Completed Counts ),
Analysis of Means for Proportions( 1, Point Options( "Show Needles" ) ),