powerStudent

Approximate power estimation of a performed Student's t test about mean(s).
8.9K Downloads
Updated 11 Mar 2009

View License

Estimates the approximate statistical power of a performed Student's t test about mean(s). Here, according to Zar (1999) we use the approximation of power by the central cumulative distribution function. It recalls you the statistical result of the test you should have arrived. This power estimation is considered biased, for it is underestimated. However, it is presented for all those interested people.

You can find the exact power estimation on the extpowerStudent m-file.

Inputs:
t - Student's t statistic
df - degrees of freedom
c - specified testing direction [1 = one-tailed(default);2 = two-tailed]
alpha - significance level (default = 0.05)

Outputs:
- Specified direction test
(Statistical result of the test you should have arrived)
- Power

Cite As

Antonio Trujillo-Ortiz (2024). powerStudent (https://www.mathworks.com/matlabcentral/fileexchange/2907-powerstudent), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: MyRegression

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.18.0.0

Text was improved.

1.7.0.0

MATLAB Central Update Test

1.0.0.0

Revised file.