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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Re: Calculate beta values for mim results |

Date |
Sat, 2 May 2009 16:07:29 +0200 |

<>

HTH Martin _______________________

To: <statalist@hsphsun2.harvard.edu> Sent: Saturday, May 02, 2009 3:38 PM Subject: Re: st: Re: Calculate beta values for mim results

Hi Maarten,This is a test reply to see whether I can reply to your message and haveit post without pasting the syntax I used from your example.Best, Frank On May 1, 2009, at 12:04 PM, Maarten buis wrote:This is one way of getting standardized coefficients after multipleimputation:*------------------- begin example ---------------------------- sysuse auto, clear ice rep78 price mpg, m(5) clear foreach var of varlist rep78 price mpg { gen double z`var' = . } forvalues i = 1/5 { foreach var of varlist rep78 price mpg { sum `var' if _mj == `i' replace z`var' = (`var' - r(mean)) / r(sd) if _mj == `i' } } mim : reg zprice zrep78 zmpg *--------------------- end example --------------------------------- Hope this helps, Maarten ----------------------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://home.fsw.vu.nl/m.buis/ ----------------------------------------- --- On Fri, 1/5/09, fjgallo@mac.com <fjgallo@mac.com> wrote:From: fjgallo@mac.com <fjgallo@mac.com> Subject: Re: st: Re: Calculate beta values for mim results To: statalist@hsphsun2.harvard.edu Date: Friday, 1 May, 2009, 4:16 PM Thank you. Your thoughts were helpful, and I also hope that an experienced person with the -mim- command might offer some insight. Best, Frank On May 1, 2009, at 11:01 AM, Martin Weiss wrote: <> You can find a general recipe for recovering the beta coefficients here: http://www.stata.com/statalist/archive/2009-03/msg00154.html As I have never used -mim-, I am highly reluctant to endorse any calculation in connection with it. AFAIK, P. Royston, its author, does not post to the list regularly, so he is unlikely to comment, either. But there are probably more experienced listers who can step in... Note that my -mata- code was way too complicated as you have now revealed that you are a beginner. Sorry about that... HTH Martin _______________________ * * 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/* * 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/

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

**References**:**Re: st: Re: Calculate beta values for mim results***From:*Maarten buis <maartenbuis@yahoo.co.uk>

**Re: st: Re: Calculate beta values for mim results***From:*fjgallo@mac.com

- Prev by Date:
**Re: st: Counter Variable** - Next by Date:
**Re: st: Re: Calculate beta values for mim results** - Previous by thread:
**Re: st: Re: Calculate beta values for mim results** - Next by thread:
**Re: st: Re: Calculate beta values for mim results** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |