[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 |
AW: RE: st: RE: mim: reg command |

Date |
Tue, 20 Oct 2009 09:20:04 +0200 |

<> " Can I ask, what does the code "local m= r(max)" and "forvalues j = 1/`m' " mean in that command?" Yes, you can. The first one stores the maximum calculated by the line -sum _mj, meanonly- in a -local- macro so as to make it accessible after other commands have overwritten the returned values of the -summarize- command. The second one lets Stata loop from a fixed starting point of "1" to this very maximum stored by the -local- in "m", in increments of 1... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von McDonald, Catherine Gesendet: Dienstag, 20. Oktober 2009 04:34 An: statalist@hsphsun2.harvard.edu Betreff: Re: RE: st: RE: mim: reg command Thank you Maarten. Can I ask, what does the code "local m= r(max)" and "forvalues j = 1/`m' " mean in that command? I am trying to figure out how congruent _mj (with ICE) is to _mi_miss (mi commands). I thought maybe the equivalent of _mj=j was _mi_miss=m, but that may be too simplistic or completely wrong. I know you said you don't have STATA 11 yet so I understand you may not know. But, if i could start to understand the code, I could try to translate it. (maybe!) or maybe someone else has some ideas or direction. Best- Catherine * * 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/

**Follow-Ups**:**Re: AW: RE: st: RE: mim: reg command***From:*Maarten buis <maartenbuis@yahoo.co.uk>

**References**:**Re: RE: st: RE: mim: reg command***From:*"McDonald, Catherine" <mcdonalc@nursing.upenn.edu>

- Prev by Date:
**st: AW: Regression by SIC and predicting different model** - Next by Date:
**Re: AW: RE: st: RE: mim: reg command** - Previous by thread:
**Re: RE: st: RE: mim: reg command** - Next by thread:
**Re: AW: RE: st: RE: mim: reg command** - Index(es):

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