Conover's Two-Sample Squared Ranks Test for Equality of Variance
No License
Performs the nonparametric squared ranks test on quality of variance for two samples. Based on Conover (1981), 'Practical Nonparametric Statistics', pp. 239-248.
Uses normal approximation for for m >10 (MATLAB fxn norminv or table if norminv unavailable). Uses normal approximation if ties exist. Uses tabulated critical values from Conover if small samples sizes and no ties.
Input:
x vector;
y vector;
type I error rate;
alternative hypothesis type (upper, lower, two-sided)
Output:
squared ranks test statistic if no ties;
squared ranks test statistic if ties;
decision (1 reject; 0 fail to reject);
Type I error rate;
alternative hypothesis type;
lower side critical value;
upper side critical value.
Cite As
Benjamin Levy (2024). Conover's Two-Sample Squared Ranks Test for Equality of Variance (https://www.mathworks.com/matlabcentral/fileexchange/4584-conover-s-two-sample-squared-ranks-test-for-equality-of-variance), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | a few errors that I missed. sorry. |