ci.m

版本 1.0.0.0 (1.1 KB) 作者: Raymond Reynolds
calculates 90, 95 or 99% confidence interval.
3.0K 次下载
更新时间 2006/11/27

无许可证

interval=ci(x,confidence,dim);

90%, 95% or 99% confidence interval of a vector or 2d matrix
Optional dim refers to dimension and must be 1 or 2 (default is 1).
Optional confidence must either 90, 95 or 99 (default is 95).

Calculated as the standard error multiplied by the critical two-tailed value of t for a=0.10, 0.05 or 0.01 (see Statistical methods in psychology, D.C. Howell). This formula applies when the Population standard deviation is unknown. As n gets larger then the t distribution approaches the normal distribution. So, if n>120, uses z instead of t (e.g. 1.96 standard errors, for 95% interval)

Raymond Reynolds 23/11/06

引用格式

Raymond Reynolds (2024). ci.m (https://www.mathworks.com/matlabcentral/fileexchange/13097-ci-m), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Frequently-used Algorithms 的更多信息
致谢

启发作品: Reverberation Time Calculator

社区

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0