anfactpc (Scripts) Publisher's description
This m-file deals with the principal component solution of the factor model thru the complete data matrix
This m-file deals with the principal component solution of the factor model thru the complete data 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 [anfactpc] = anfactpc(X)
X - Data matrix. Size n-data x p-variables.
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.
- Table of Varimax Rotated Principal Components of the Factor Analysis.
- Pair-wise Unrotated Factor Score Plots.
- Pair-wise Varimax Rotated Factor Score Plots.
- Object labels.
- Residual Matrix.
System Requirements:MATLAB 7 (R14)
Program Release Status: New Release
Program Install Support: Install and Uninstall