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: Esimates Table commend


From   William Hart <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Esimates Table commend
Date   Mon, 27 Aug 2012 11:37:56 -0500

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, [email protected]

.  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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index