Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: AW: PCA results and new variable |
Date | Thu, 11 Mar 2010 12:46:46 +0100 |
<> -statsby- could be your friend, but you really need to frame your question in terms of an official example: ************* sysuse auto, clear bys rep78: pca trunk weight length headroom ************* HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von mmolina@uniroma3.it Gesendet: Donnerstag, 11. März 2010 12:29 An: statalist@hsphsun2.harvard.edu Betreff: st: PCA results and new variable Dear Statalist, I am performing a PCA analysis of specific firms'(id) characteristics (varname) within regions. I would like to know if it possible to create a new variable with the results of the cumulative of the first component to be assigned to each firm (id). Thanks in advance, Alejandra * * 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/ * * 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/