Z test to compare two different proportions, using the x1 and x2 as the
% successes of each group and n1 and n2 as the total in the group. Answer
% = the Z stat, in which the null hypthothesis is rejected if Zstat<-1.96
% or if Z>1.96 when alpha = 0.05
Cite As
Scott Callahan (2026). myztest (https://in.mathworks.com/matlabcentral/fileexchange/68670-myztest), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Test Scripts in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
