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

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

From |
Joerg Luedicke <joerg.luedicke@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Esimates Table commend |

Date |
Tue, 28 Aug 2012 16:49:09 -0500 |

It is not clear at all what exactly "did not work" in your case. We can't know what went wrong if we can't see what you did. Perhaps have a look at the Statalist FAQ for some good advice on posting. I don't think there are any problems with -estimates table- in the context you describe. Consider the following example: *------------------------- clear sysuse auto forval i=1/5 { gen w`i'=runiform() } gen obs=_n svyset obs, brrweight(w*) svy brr: reg price mpg est sto m1 svy brr: reg price mpg trunk est sto m2 estimates table m*, b(%6.1f) se(%6.1f) *------------------------- which works just fine. J. On Tue, Aug 28, 2012 at 2:12 PM, William Hart <whart@rsu.edu> wrote: > 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/ * * 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**:**st: Esimates Table commend***From:*William Hart <whart@rsu.edu>

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

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

- Prev by Date:
**st: have different sizes of dots in scatter plot** - Next by Date:
**Re: st: xtmepoisson postestimation** - Previous by thread:
**RE: st: Esimates Table commend** - Next by thread:
**st: Re: Can I use Many to Many merge for this case,** - Index(es):