Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Principal Component Score


From   "Mark Schaffer" <M.E.Schaffer@hw.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Principal Component Score
Date   Fri, 16 Sep 2005 14:25:15 +0100 (BST)

Mariarosaria,

> dear all,
> I'm using STATA 8 for a Principal Component Analysis, as I'm interested in
> building one index out of three covariates (i.e.  I need to get the first
> principal component score).
>
> What I do is the following:
>
> I type: pca x1 x2 x3
>
> and obtain eigenvalues and eigenvector,
> straightafter I type
>
> predict pc1, score
>
> and I get the red message: last estimates not found!
>
> I have tried several times, also changing the computer...but the red
> message always pops up.
> Thank you in advance for your preciuos help

I think you might be confusing Stata 8 and Stata 9.

If you consult the online help for -pca- in Stata 8, you'll see that you
can get the score after -pca- using the -score- command.

Hope this helps.

--Mark

> Mariarosaria Agostino
>
> Dipartimento di Economia e Statistica
> UniversitÓ della Calabria
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> *
> *   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/
>


Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3294
email: m.e.schaffer@hw.ac.uk
web: http://www.sml.hw.ac.uk/ecomes



__________________________________________________________________

DISCLAIMER:

This e-mail message is subject to http://www.hw.ac.uk/disclaim.htm
__________________________________________________________________

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index