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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: STATA 11 MI - how to get a standardized correlation?


From   Christina Weiland <weilanch@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: STATA 11 MI - how to get a standardized correlation?
Date   Tue, 11 May 2010 18:06:20 -0400

Hello -

I am using STATA 11's MI features.  However, as I saw noted on another
post, the "beta" option for mi estimate: reg does not work (that post
is here: http://www.stata.com/statalist/archive/2009-12/msg01005.html).
 I would like to estimate the standardized correlations among some of
my imputed variables.  Does anyone know how to do this easily?  I've
used the following round-about procedure but I'm not sure that it is
correct (and whether correct or not, it is annoying) -

mi estimate: mean y x
(using the SE produced from the above step, I calculate the standard
deviation by hand)

/****Then, I standardize the variables of interest*****
mi passive: generate x2=(x-mean_of_x)/STD_of_x
mi passive: generate y2=(y-mean_of_y)/STD_of_y

/*****regress the standardized x on standardized y***/
mi estimate, post: reg y2 x2



Thanks for any and all help/suggestions!

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


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