Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: deriving a bootstrap estimate of a difference between two weighted regressions


From   "Ariel Linden, DrPH" <[email protected]>
To   <[email protected]>
Subject   st: deriving a bootstrap estimate of a difference between two weighted regressions
Date   Sat, 31 Jul 2010 17:54:36 -0700

Hi All,

I would like to run two regressions (each using a different weight), and
then get the bootstrapped estimates of the difference. Neither suest or
sureg allows different weights to be used in the two models. I thought that
maybe there is a way of getting the resulting estimate in a somewhat manual
manner, but I don't know how. I am thinking something like this:


regress outcome treatment [aw = att]
scalar ATT =  _b[ treatment]

Regress outcome treatment [aw = atc]
scalar ATC =  _b[ treatment]

scalar difference= (ATT-ATC)

Then bootstrap the scalar difference to get the mean, CI, etc. 

Any help is much appreciated!

Ariel


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index