Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: PCA results and new variable


From   mmolina@uniroma3.it
To   statalist@hsphsun2.harvard.edu
Subject   st: AW: PCA results and new variable
Date   Thu, 11 Mar 2010 13:07:20 +0100 (CET)

Regarding the official example, I would need to make,

*************
sysuse auto, clear
bys foreign: pca trunk weight length headroom

and then create a new variable with the cumulative of the first compenent
of each group (foreign or domestic)assigned to each "car".

Thanks a lot


st: AW: PCA results and new variable

--------------------------------------------------------------------------------


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