Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
William Hart <whart@rsu.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: Esimates Table commend |

Date |
Tue, 28 Aug 2012 14:12:35 -0500 |

That seems clear enough, except... The same code worked properly until I used the BRR method for estimation. I can see nothing the docs that suggest that the code would need to be different using OLS under the SVY commands. Bill -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Joerg Luedicke Sent: Monday, August 27, 2012 12:35 PM To: statalist@hsphsun2.harvard.edu Subject: Re: st: Esimates Table commend If something does not work the way you would expect it to work, it is always a good idea to consult a) the help file(s), b) the manual, and c) further material like books and articles etc., probably in that order. In this case, a simple look at the syntax rules for -estimates table- in the help file reveals: estimates table [namelist] [, options] If this command would take variables as arguments then it would not say [namelist], but rather [varlist]. It is also stated in the help file that this [namelist] refers to stored estimation results. J. On Mon, Aug 27, 2012 at 11:37 AM, William Hart <whart@rsu.edu> wrote: > I am running the commands below. When my DO file gets to the Estimates Table command, it says that the Predict variable cannot be found. However, I can 'see' the variables and can run summary variables on them. What, very obvious, point am I overlooking? > > TIA, > > Bill Hart, whart@rsu.edu > > . svy brr : regress newfdpct erankh educ_ref educa2 house alcohol > util appar >> trans entr read tobac misc cash insur health work2 work3 if >> sex_ref==1 > (running regress on estimation sample) > > <Stuff deleted> > . > . predict fdpctmale if e(sample) > (option xb assumed; fitted values) > (61432 missing values generated) > r; t=0.02 11:10:31 > > <stuff deleted> > > . svy brr : regress newfdpct erankh educ_ref educa2 house alcohol > util appar >> trans entr read tobac misc cash insur health work2 work3 if >> sex_ref==2 > (running regress on estimation sample) > > <stuff deleted> > . > . predict fdpctfemale if e(sample) > (option xb assumed; fitted values) > (70857 missing values generated) > r; t=0.02 11:10:34 > > <stuff Deleted> > > . estimates table fdpctfemale fdpctmale,b(%9.6f) star stats(N f_r) > estimation result fdpctfemale not found r(111); t=0.05 11:10:40 > > . summ fdpctmale fdpctfemale awaypctmale awaypctfemale > > Variable | Obs Mean Std. Dev. Min Max > -------------+-------------------------------------------------------- > fdpctmale | 18526 .1670943 .0473593 -.2985667 .2682556 > fdpctfemale | 9101 .1684507 .0456866 -.1752876 .3141496 > awaypctmale | 18520 .2721265 .0906052 -.0322625 1.137353 > awaypctfem~e | 9099 .2591119 .0952958 -.072858 .7787072 > r; t=0.06 11:28:25 > > > * > * 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/ * * 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: st: Esimates Table commend***From:*Joerg Luedicke <joerg.luedicke@gmail.com>

**References**:**st: Esimates Table commend***From:*William Hart <whart@rsu.edu>

**Re: st: Esimates Table commend***From:*Joerg Luedicke <joerg.luedicke@gmail.com>

- Prev by Date:
**Re: st: Creating new variables for parent groups in a joint family** - Next by Date:
**Re: st: margins & marginsplot when multiple outcomes are involved** - Previous by thread:
**Re: st: Esimates Table commend** - Next by thread:
**Re: st: Esimates Table commend** - Index(es):