Parallel Analysis (PA) to for determining the number of components to retain from PCA.

版本 1.0.0.0 (2.0 KB) 作者: Hanan Shteingart
component is retained if the associated eigenvalue is bigger than the 95th of the distribution of ei
942.0 次下载
更新时间 2014/1/10

查看许可证

% Parallel Analysis (PA) to for determining the number of components to retain from PCA. component is retained if the associated eigenvalue is bigger than the 95th of the distribution of eigenvalues derived from the random data.
% Syntax:
% ======
% pa_test(x, nShuffle, alpha, princomp_parameters[ ])
% x - the data matrix (nXp where n is the number of observation and p is dimension of each observation)
% nShuffle - number of shuffles. optional, default = 100
% alpha - significance level. optional, default 0.05
% princomp_parameters - parameters to pass to the princomp function (see help princomp). optional, default ={true,'Centered',false}

% Background:
% ==========
% From Wikipedia: http://en.wikipedia.org/wiki/Factor_analysis
% Horn's Parallel Analysis (PA):
% A Monte-Carlo based simulation method that compares the observed eigenvalues with those obtained from uncorrelated normal variables.
% A factor or component is retained if the associated eigenvalue is bigger than the 95th of the distribution of eigenvalues derived from the random data.
% PA is one of the most recommendable rules for determining the number of components to retain, but only few programs include this option.

% References:
% * Ledesma, R.D.; Valero-Mora, P. (2007). "Determining the Number of Factors to Retain in EFA: An easy-to-use computer program for carrying out Parallel Analysis". Practical Assessment Research & Evaluation 12 (2): 1–11.

引用格式

Hanan Shteingart (2024). Parallel Analysis (PA) to for determining the number of components to retain from PCA. (https://www.mathworks.com/matlabcentral/fileexchange/44996-parallel-analysis-pa-to-for-determining-the-number-of-components-to-retain-from-pca), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息
标签 添加标签
pca

Community Treasure Hunt

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

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