anfactpcwod

Factor Analysis by the Principal Components Method Without Data.
2.5K 次下载
更新时间 2006/5/30

查看许可证

This m-file deals with the principal component solution of the factor model thru the R-correlation matrix (without the matrix of data; one can also input a covariance matrix), the latent root criterion, and uses the varimax factor rotation. Optionally, it also gives the residual matrix, which results of the difference between the original correlation and the correlation structure for the factor model.

The purpose of Factor Analysis is to describe as possible the covariance relationships among many variables in terms of a few underlying and unobservable random quantities called factors. It can be considered as an extension of Principal Components Analysis, but its approximation is more elaborate. The factor model postulates that the X-observable random vector with p components is linearly dependent upon a few unobservable random variables F_1,F_2,...,F_m, called common factors, and p additional sources of variation e_1,e_2,...,e_m, called errors or specific factors (a component unique to that particular X_i and not shared by the others X´s). So, the model is:

X_1 = b_11*F_1 + b_12*F_2 + ...+ b_1m*F_m + e_1
X_2 = b_21*F_1 + b_22*F_2 + ...+ b_2m*F_m + e_2
. .
: :
X_p = b_p1*F_1 + b_p2*F_2 + ...+ b_pm*F_m + e_p

In matrix notation it can be written as,
X = B*F + e
where, B is the matrix of loadings of the i-th variable on the j-th factor. F and e are, respectively, the random vectors of the common factors and errors. Value m are the number of factors specified ahead of time to complete the model and selected by a spacific criteria as the latent root, a priori, percentage of variance or scree test. The latent root criterion can be used as a guideline for a first attempt or as a definitive selection of the number of factors: it must be less that the p number of components(variables).

According to Rencher (2002), there are four approaches to estimation of the loadings and communalities:(1) Principal Component Metdod; (2) Principal Factor Method; (3) Iterated Principal Factor Method, and (4) Maximum Likelihood Method. The two most popular methods of parameter estimation are the principal component and the maximum likelihood method. The solution from either method can be rotated in order to simplify the interpretation of factors. It is always prudent to try more than one method of solution.

Some of the purposes for which Factor Analysis can be used are (1) that the number of variables for further research can be minimized while also maximizing the amount of information in the analysis (the smaller set can be used as operational representatives of the constructs underlying the complete set of variables), (2) can be used to search data for possible qualitative and quantitative distinctions and particularly useful when the sheer amount of available data exceeds comprehensibility, and (3) if the domain of data can be hypothesized to have certain qualitative and quantitative distinctions, then this hypothesis can be tested by factor analysis.

Syntax: function [anfactpcwod] = anfactpcwod(X)

Input:
X - Correlation matrix. One can also input a covariance matrix, that thru the
standardization of any X-input matrix it assure a R-correlation matrix of
it and needed for the procedure.
Outputs:
Complete Factor Analysis Results such as:
- Table of the Extraction of Components.
- Table of Unrotated Principal Components of the Factor Analysis.
- Proportion of Total (standardized) Sample Variance.
- Table of Cumulative Proportion of Total (standardized) Sample Variance.
Optionally:
- Table of Varimax Rotated Principal Components of the Factor Analysis.
- Residual Matrix.

引用格式

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

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

Community Treasure Hunt

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

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

Text was improved.