The Matlab code presented here generates a table (represented as a matrix) with the values of Student's t-distribution with v degrees of freedom (often calculated as the sample size minus one) for a range of two-sided critical regions. The first row represents the confidence levels gamma (the confidence level complements the significance level to unity), the first column represents v, and the numbers in the body of the table are the t-coefficients (as a function of gamma and v). The last row with infinite v gives critical points for a normal distribution (a t-distribution with infinite degrees of freedom is a normal distribution).
The code is based on the theory described in:
[1] P. Dunn, M. Davis. Measurement and Data Analysis for Engineering and Science. Boca Raton, CRC Press, 2018.
引用格式
Hristo Zhivomirov (2024). Critical Values of the Student's t-distribution (https://www.mathworks.com/matlabcentral/fileexchange/131344-critical-values-of-the-student-s-t-distribution), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |