Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten buis <maartenbuis@yahoo.co.uk> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: principal component analysis-creating linear combinations |
Date | Thu, 10 Mar 2011 15:09:26 +0000 (GMT) |
--- On Thu, 10/3/11, James Wu wrote: > Thank you, but -predict- generates only the first > component scores. That is not true: *------------ begin example --------------- sysuse auto pca trunk weight length headroom, comp(2) predict comp1 comp2 *------------- end example ---------------- (For more on examples I sent to the Statalist see: http://www.maartenbuis.nl/example_faq ) 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/