Statalist The Stata Listserver


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

Re: st: Partial Correlation


From   "Raphael Fraser" <raphael.fraser@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Partial Correlation
Date   Sun, 26 Nov 2006 11:21:06 -0500

-pcorr- and -partcorr- are almost the same. None of the two gives a
partial correlation matrix.

On 11/26/06, Michael S. Hanson <mshanson@mac.com> wrote:
On Nov 26, 2006, at 12:32 AM, Raphael Fraser wrote:

> What I was looking for is a command that could produce a 4x4 partial
> correlation MATRIX of y x1 x2 x3 controlling for x4 much in the same
> way as -corr y x1 x2 x3- would result. I was trying to avoid having to
> run pcorr several times to get my desired result.

        -findit partial correlation- turns up -partcorr- in SSC.  Seems to be
what you are looking for, based on your description.  Hope this helps.

                                         -- Mike

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

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