Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: -estout- and ebsd


From   "Carter Rees" <[email protected]>
To   <[email protected]>
Subject   RE: st: -estout- and ebsd
Date   Mon, 24 Sep 2007 18:11:14 -0400

Ben,

The command I am using is svy subpop(): nbreg, so yes the subpop option is
specified for my model.  Your response seems to indicate that my survey
design is correctly taken into account by -estadd- ebsd option (correct?).
Thus, maybe -listcoef- isn't recognizing the survey design.  (I had no real
reason to assume that -listcoef- was correct vs. -estadd-).  I am going to
compare results between the two using your code below and will post a brief
summary of findings.

Carter

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ben Jann
Sent: Monday, September 24, 2007 3:30 PM
To: [email protected]
Subject: Re: st: -estout- and ebsd

I don't know about -listcoef-, but -estadd ebsd- computes the sd using
-summarize- on the observations identified by e(sample) (and e(subpop)
if defined), and applying the appropriate weights. Did you use the
-subpop()- option in your models? This might explain the difference.

If you want tabulate results from listcoef, then do something like the
following:

. nbreg ...
. listcoef, matrix  //-matrix- saves results in r(); type -return
list- for details
. matrix b_facts = r(b_facts)
. estadd matrix b_facts = b_facts
. estout ., cell(b b_facts) style(smcl)

ben

PS: A set of -estadd- commands to support the -spost- package is in
preparation.

On 9/24/07, Carter Rees <[email protected]> wrote:
> Statalist,
>
> Windows XP, Stata 10 SE.
>
> I am using svy: nbreg to run a series of regressions and then using
-estout-
> to format my regression tables.  Instead of the raw b's my tables display
> the standardized factor change coefficients via the -estadd- ebsd option.
>
> All is well and good except the standardized factor change coefficients
> don't precisely match those displayed if I check them using -listcoef-,
> help.  My assumption is that -listcoef- takes into account the survey
design
> when calculating the sd of the independent variables while -estadd- ebsd
may
> not.  If this is the case, how can I include the standardized factor
change
> coef's as computed by -listcoef- in my -estout- generated table?
>
> Much appreciated.
>
> Carter
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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