ACR

Upper percentiles squared Mahalanobis distance critical value for test of single multivariate normal
1.9K 次下载
更新时间 2006/9/13

查看许可证

From the method given by Wilks (1963) and approaching to a F distribution function by the Yang and Lee (1987) formulation, we provide an m-file to get the critical value of the maximun squared Mahalanobis distance to detect outliers from a normal multivariate sample.

--The function's name is giving as a gratefull to Dr. Alvin C. Rencher for his unvaluable contribution to the teaching of multivariate statistics with his text 'Methods of Multivariate Analysis'.--

Inputs:
p - number of independent variables.
n - sample size.
alpha - significance level (default = 0.05).

Output:
x - critical value of the maximun squared Mahalanobis distance.

We can generate all the critical values of the maximun squared Mahalanobis distance presented on the Table XXXII of by Barnett and Lewis (1978) and Table A.6 of Rencher (2002). Also with any given significance level (alpha).

引用格式

Antonio Trujillo-Ortiz (2024). ACR (https://www.mathworks.com/matlabcentral/fileexchange/12161-acr), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

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

Code was improved on line 78.