Bookmark and Share

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]

Re: st: Re: st: Re: st: Re: st: Re: st: RE: Ratio of coefficients from two regressions and standard error‏.


From   meenakshi beri <berimeenakshi@hotmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Re: st: Re: st: Re: st: Re: st: RE: Ratio of coefficients from two regressions and standard error‏.
Date   Sun, 4 Dec 2011 13:05:58 -0500

Yes, I forgot them in the regression.
Thanks,
Meenakshi

Sent from my iPhone

On Dec 4, 2011, at 12:57 PM, Steve Samuels <sjsamuels@gmail.com> wrote:

> 
> I'll bet you forgot the single quotes:
> *********************************************
> tempname uhatmain  // or tempvar uhatmain
> 
> predict `uhatmain', u
> 
> xi: xtreg `uhatmain' l_inc_wealth hispanic, be
> ********************************************
> 
> teve
> 
> On Dec 4, 2011, at 12:16 PM, meenakshi beri wrote:
> 
> Hello Steve,
> 
> Thanks a lot for your suggestions. I appreciate your time and effort.
> 
> Here is an issue:
> 1. I am using panel data and I found that xtreg is not supported by suest
> 2. If I use the previous code (as was suggested by you earlier) and create uhatmain as a temporary variable, I get the following error:
> ****************************************
> bootstrap ratio1 =r(ratio1) , reps(100)cluster(hhidpn) idcluster(newhhid) nowarn : my_xtboot 
> (running my_xtboot on estimation sample)
> : variable uhatmain not found
> an error occurred when bootstrap executed my_xtboot
> ****************************************
> 
> Best,
> Meenakshi
> ________________________________
> Meenakshi Beri
> Graduate Teaching Assistant
> Department of Economics
> Wayne State University
> dy5651@wayne.edu
> 
> 
> ----------------------------------------
>> Subject: st: Re: st: Re: st: Re: st: RE: Ratio of coefficients from two regressions and standard error‏.
> 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index