The reason for this is that Stata can only
hold the last set of -pca- results in memory.
You need some other approach, such as using
-levels-.
Nick
[email protected]
Amita Rantidev Chudgar
> Stata allows PCA or factor analysis with "by" option
>
> so I can do
>
> sort region
> by region : pca var1 var2 var3
>
> but it does not allow "score" with by!
>
> I want to use the first component as a regional index and not
> being able
> to generate the score defeats the purpose of generating pca "by
> region"!
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/