Calculates the sample size for a given confidence level and error margin using Cochran's formula.
See G.D. Israel. Determining Sample Size. University of Florida, PEOD-6, 1992.
https://www.academia.edu/21353552/Determining_Sample_Size_1
Cite As
Manolis Lourakis (2025). cochran (https://www.mathworks.com/matlabcentral/fileexchange/71985-cochran), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Frequently-used Algorithms in Help Center and MATLAB Answers
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 |