Skip to content

extracting Proportion Var and Cumulative Var values from factanal

3 messages · Tamas Gal, William Revelle

#
Hi R users,
I need some help in the followings:
I'm doing factor analysis and I need to extract the loading values and
the Proportion Var and Cumulative Var values one by one.
Here is what I am doing:
Loadings:
         Factor1 Factor2 Factor3 Factor4 Factor5
b1freqr2  0.246   0.486              0.145         
b2freqr2  0.129   0.575   0.175   0.130   0.175 
b3freqr2  0.605   0.253   0.166   0.138   0.134 
b4freqr2  0.191   0.220   0.949                 
b5freqr2  0.286   0.265   0.113   0.891   0.190 
b6freqr2  0.317   0.460   0.151                 
b7freqr2  0.138   0.199              0.119   0.711 
b8freqr2  0.769   0.258              0.195   0.137 
b9freqr2  0.148   0.449              0.103   0.327 

                    Factor1 Factor2 Factor3 Factor4 Factor5
SS loadings      1.294   1.268   1.008   0.927   0.730
Proportion Var   0.144   0.141   0.112   0.103   0.081
Cumulative Var   0.144   0.285   0.397   0.500   0.581
I can get the loadings using:
[1] 0.2459635
but I couldn't find the way to do the same with the Proportion Var and
Cumulative Var values.

Thanks,
Tamas
1 day later
#
Hi R users,
I need some help in the followings:
I'm doing factor analysis and I need to extract the loading values and
the Proportion Var and Cumulative Var values one by one.
Here is what I am doing:
Loadings:
           Factor1 Factor2 Factor3 Factor4 Factor5
b1freqr2  0.246   0.486           0.145
b2freqr2  0.129   0.575   0.175   0.130   0.175
b3freqr2  0.605   0.253   0.166   0.138   0.134
b4freqr2  0.191   0.220   0.949
b5freqr2  0.286   0.265   0.113   0.891   0.190
b6freqr2  0.317   0.460   0.151
b7freqr2  0.138   0.199           0.119   0.711
b8freqr2  0.769   0.258           0.195   0.137
b9freqr2  0.148   0.449           0.103   0.327

                  Factor1 Factor2 Factor3 Factor4 Factor5
SS loadings      1.294   1.268   1.008   0.927   0.730
Proportion Var   0.144   0.141   0.112   0.103   0.081
Cumulative Var   0.144   0.285   0.397   0.500   0.581


I can get the loadings using:
[1] 0.2459635

but I couldn't find the way to do the same with the Proportion Var and
Cumulative Var values.

Thanks,
Tamas
#
At 9:44 AM -0400 4/7/05, Tamas Gal wrote:
Although not pretty, try

colSums(fact$loading*fact$loading)/dim(fact$loading)[1]       for the 
proportion Var and
cumsum(colSums(fact$loading*fact$loading)/dim(fact$loading)[1])   to 
get the cumulative Var values

Bill