Hi there,
I'm currently trying to export rotated factor loading matrices with putexcel (Stata 14.1), but I can't get two little things to work. I hope that someone of you can help me out here:
My code looks like this and I basically want to recreate the stata output table ("Rotated factor loadings (pattern matrix) and unique variances"):
factor $variables, factor(5)
rotate
putexcel A1=(e(title)) B2=matrix(e(r_L)) , names
putexcel H3=matrix(e(Psi))
However, this returns the uniqueness matrix in column form, but not as fifth column behind the factor loadings as in the output table. Is there any way to rotate the e(Psi) matrix 90 degrees and append it to the first matrix?
Second, I wish it would show the labes and not variable names. Is there any way to change that as well?
Thank you as always for your support,
best
Alex
I'm currently trying to export rotated factor loading matrices with putexcel (Stata 14.1), but I can't get two little things to work. I hope that someone of you can help me out here:
My code looks like this and I basically want to recreate the stata output table ("Rotated factor loadings (pattern matrix) and unique variances"):
factor $variables, factor(5)
rotate
putexcel A1=(e(title)) B2=matrix(e(r_L)) , names
putexcel H3=matrix(e(Psi))
However, this returns the uniqueness matrix in column form, but not as fifth column behind the factor loadings as in the output table. Is there any way to rotate the e(Psi) matrix 90 degrees and append it to the first matrix?
Second, I wish it would show the labes and not variable names. Is there any way to change that as well?
Thank you as always for your support,
best
Alex
Comment