[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: st: AW: save estimated coefficients and use in other regressions |

Date |
Mon, 9 Nov 2009 15:38:01 +0100 |

<> The thing about -input- would be that all links to the initial analysis are severed. In particular, the sampling variability of the estimates is lost forever if you fail to also -input- the standard errors. Any new analysis in the other dataset will not know that there is uncertainty associated with these values. HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Jia Li Gesendet: Montag, 9. November 2009 15:34 An: statalist@hsphsun2.harvard.edu Betreff: Re: st: AW: save estimated coefficients and use in other regressions Dear Martin and Maarten: Thanks for your suggestions. I ran separate regressions using completely different data sets: one uses consumer expenditure survey to derive relationships between income and expenditure; and I then use the estimated coefficients in my dataset to establish estimates of expenditure based on income. I could of course just input the estimated coefficients, but I was wondering if there are more efficient ways to do this. I will experiment with the commands you suggested and let you know what i find out. Thanks Jia Date: Fri, 6 Nov 2009 01:46:30 -0800 (PST) From: Maarten buis <maartenbuis@yahoo.co.uk> Subject: Re: st: AW: save estimated coefficients and use in other regressions - --- Jia Li wrote: > I have a simple question which I couldnâ€™t find a > solution: I want to use estimated coefficients from one > regression analysis in other analyses. What would be the > best way to save the estimation results and call them in > other do-files? - --- On Fri, 6/11/09, Martin Weiss wrote: > Depends very much on the context. -estimates store- and > -estimates save- are obvious candidates. Also look at > -postfile- This is not a simple question as it could mean multiple things: It could mean that you want to estimate a regression for each region/school/company separately, and than study how the resulting coefficients change as a result of some characteristic of the region/school/company. Basically, you are then trying to do some form of multi-level analysis, and the first recommendation would be not to do that and use the appropriate -xt- commands instead. The second recommendation would be to use either - -statsby- or -postfile- to collect the results, but now you'll have to think about how to weight the different estimates: An estimate which was measured with very low precision should not get the same weight as an estimate measured with very high precision. Reasoning by analogy from the meta-analysis literature I would use 1/se^2, but you'll need to find your own justification for such a weight (and which weight type to use). Alternatively, your question could mean that you want to combine that you have multiple models and want to compare coefficients. This is usually a mistake. Most of the times that this is asked on the statalist, the answer is that you should estimate one model and make proper use of dummies and interactions. If this is not the case you could consider looking at -suest-. Bottom line: you'll need to tell us more about your problem, even if you found the answer in the previous posts; the polite thing is to close a thread that you started. - -- Maarten - -------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://www.maartenbuis.nl - -------------------------- * * 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: AW: save estimated coefficients and use in other regressions***From:*Jia Li <jli@arec.umd.edu>

- Prev by Date:
**AW: st: AW: Keeping variable After restore** - Next by Date:
**st: forvalues i = 0(.05).15** - Previous by thread:
**Re: st: AW: save estimated coefficients and use in other regressions** - Next by thread:
**Re: st: AW: save estimated coefficients and use in other regressions** - Index(es):

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