Power Analysis for T-tests
No License
The main function, TPOWER, will compute the power of a t-test given an effect size (d), sample size (N), and alpha. By giving N as an array the program can be used to plan sample size for an experiment. By setting the "PLOT" parameter to 1 the function calls plotpowfun, which plots the array N against power. By providing a desired power level, DESPWR, the program will also determine the minimum sample size needed to reach the desired power.
Cite As
Jason Augustyn (2024). Power Analysis for T-tests (https://www.mathworks.com/matlabcentral/fileexchange/8494-power-analysis-for-t-tests), 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 |