quantilese

版本 1.0.0.0 (2.3 KB) 作者: Ben Petschel
determines quantiles of data and their standard errors or confidence intervals
363.0 次下载
更新时间 2011/6/16

查看许可证

Usage:

[q,se]=quantilese(x,p)
[q,ql,qu]=quantilese(x,p,a)

This determines the quantiles corresponding to probability P in the data set X, along with either their standard errors or confidence intervals at level A. The standard errors are calculated using the Maritz-Jarrett method and the confidence intervals are calculated by normal approximation.

NOTE: Q1=quantilese(X,P) is not the same as Q2=prctile(X,100*P). Here Q1=XS(M1) whereas Q2 is interpolated between XS(floor(M2)) and XS(ceil(M2)) where X is of length N, XS is the sorted X, M1=round(N*P) and M2=N*P+1/2.

This function does not require the Statistics toolbox.

引用格式

Ben Petschel (2024). quantilese (https://www.mathworks.com/matlabcentral/fileexchange/31823-quantilese), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
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.0