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: Loadingplot after factor analysis
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Loadingplot after factor analysis
Date
Thu, 23 Jan 2014 10:51:39 +0000
Not what was asked, but -eofplot- (SSC) offers an alternative plot of
loadings with built-in capability to select particular factors (in
this case).
Nick
[email protected]
On 22 January 2014 22:15, Red Owl <[email protected]> wrote:
> Andrew,
>
> Try this approach:
>
> *** Begin Stata Code ***
> sysuse auto, clear
> factor mpg price headroom-gear_ratio, fac(3)
> rotate
> matlist e(r_L)
>
> preserve
> mat F = e(r_L)
> svmat F, names(F)
> keep if !missing(F1)
> list F*
> twoway scatter F1 F2, name(F1F2)
> twoway scatter F1 F3, name(F1F3)
> twoway scatter F2 F3, name(F2F3)
> graph combine F1F2 F1F3 F2F3
> restore
> *** End Stata Code ***
>
> Red Owl
> [email protected]
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/