Hi, I am running Stata SE 15.1 (August 7th update) on Windows 10.
I am doing a PCA on 29 variables,
but when I rotate only 4 components using the command:
or
it runs as if I just input
meaning it outputs 29 components (see sample output below)
Any suggestions? Am I inputting this wrong or is it an error in Stata?
Is anyone else having this issue?
I am doing a PCA on 29 variables,
Code:
pca var1-var29
Code:
rotate, comp(4)
Code:
rotate, f(4)
Code:
rotate
Code:
. rotate, comp(4) Principal components/correlation Number of obs = 130,053 Number of comp. = 29 Trace = 29 Rotation: orthogonal varimax (Kaiser off) Rho = 1.0000 Component Variance Difference Proportion Cumulative Comp1 6.44883 1.12733 0.2224 0.2224 Comp2 5.32149 1.92512 0.1835 0.4059 Comp3 3.39637 1.41976 0.1171 0.5230 Comp4 1.97661 1.06077 0.0682 0.5911 Comp5 .91584 .0945092 0.0316 0.6227 Comp6 .821331 .0857374 0.0283 0.6511 Comp7 .735593 .0278702 0.0254 0.6764 Comp8 .707723 .0658892 0.0244 0.7008 Comp9 .641834 .0432065 0.0221 0.7230 Comp10 .598627 .051037 0.0206 0.7436
Any suggestions? Am I inputting this wrong or is it an error in Stata?
Is anyone else having this issue?
Comment