Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: principal component analysis-creating linear combinations
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: principal component analysis-creating linear combinations
Date
Thu, 10 Mar 2011 14:46:30 +0000 (GMT)
--- On Thu, 10/3/11, James Wu wrote:
> Suppose we ran pca on four variables, x1, x2, x3, x4 as
> follows:
> Now, suppose that you decide to retain the firs two
> principal components, and then you want to create two
> variables that are linear combinations of the original
> four variables.
Then you need to use -predict-, see help -pca postestimation-.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/