Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Write results factor analysis to file


From   Ulrich Kohler <kohler@wzb.eu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Write results factor analysis to file
Date   Fri, 21 Sep 2007 15:30:11 +0200

Hendri Adriaens schrieb:
> Hello,
> 
> Hopefully a simple question: I do factor analysis, like:
> 
> factor x1 x2 x3 x4 x5 x6 x7 x8 x9 x10, pcf factor(6)
> predict factor1
> 
> How can I write the output of predict to a file?

As "tab separted values":

. outsheet factor1 using foo.tsv

or, as Stata dataset:

. preserve
. keep factor1
. save foo, replace
. restore

Uli

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