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: Aggregating subsample coefficients to get the pooled coefficient?
From
Jen Zhen <[email protected]>
To
[email protected]
Subject
st: Aggregating subsample coefficients to get the pooled coefficient?
Date
Mon, 3 Dec 2012 13:14:44 +0100
Dear list members,
suppose I have a relationship y=A+B*x+u and I want to estimate A and B.
Is there a way to estimate this separately for 2 subsamples and
aggregate the coefficients that will give me the same A_hat and B_hat
as estimating it on the full sample?
How about the standard errors.
On a small example dataset, I have tried obtaining B_pooled as
(N1/N)*B1+(N2/N)*B2 and that gave me a very different coefficient.
I then tried weighting by the relative size of the T stats, as a
measure of precision, rather than weighting by relative sample sizes:
(T1/(T1+T2))*B1+(T2/(T1+T2))*B2
That got me closer but still not all the way to the pooled B.
So now I'm unsure whether there is another weighting scheme that would
do the job, or whether really the only way is to do a single pooled
regression?
Thanks so much,
JZ
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/