Professional Documents
Culture Documents
Advanced Statistics Group Assignment
Advanced Statistics Group Assignment
We notice that there are values of ‘6’ which is not expected, as the highest scale is of
‘5’. So, we will replace all the ‘6’ with ‘5’.
We will find out the number of factors that will be required for factor analysis. We
shall use Parallel Analysis and eigen values for the same.
#Goodness of fit:
#Tucker Lewis Index of factoring reliability = 0.89. >0.90 is acceptable.
So let us choose nfactors=5 and see the results,
fit2<-fa(cereal[,-1], nfactors=5, fm="ml", rotate="oblimin")
fit2
Therefore from both the analysis of Eigen values and Parallel Analysis, the number of factor
indicated=5.
fa.diagram(fit2)
print(fit2$loadings,cutoff = 0.4)
As the alpha values are > 0.7, the factors are reliable
#Factor2 = Taste
# Sweet, Salt, Calories, Sugar, Process
#Factor3 = Family
# Kids, Economical, Family
#Factor4 = Texture
#Fun,Soggy,Plain,Crisp,Fruit,Treat,Boring
#Factor5 = Excitement
#Filling,Satisfying,Energy
factor1alpha$total$raw_alpha
factor2alpha$total$raw_alpha
factor3alpha$total$raw_alpha
factor4alpha$total$raw_alpha
factor5alpha$total$raw_alpha