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 |
Nahla Betelmal <nahlaib@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: test of coefficients of the same regression equation |

Date |
Fri, 15 Feb 2013 10:49:44 +0000 |

hi Florian, Thanks for the reply. Would not that test the difference of the mean between the two variables rather than testing the difference between coefficients themselves? Thanks again Nahla On 15 February 2013 10:42, Florian Wendelspiess Chávez Juárez <florian@chavezjuarez.com> wrote: > Hi Nahla > > I think you can simply use: > test [mean]NSP = [mean]Times_2 > > or even > > test NSP = Times_2 > in this case, since there is only one equation as I see. > > I hope this help. > Best regards, > Florian > > > > On 15-Feb-13 11:29, Nahla Betelmal wrote: >> >> Dear Statalist, >> >> I am trying to test the equality of coefficients b1 and b3 of the same >> regression equation >> >> reg Y NSP Q Times_2 >> >> est store alltwo >> >> suest alltwo >> >> test [alltwo_mean]NSP = [alltwo_mean]times_2 >> >> I got the error message : equation [alltwo_mean] not found >> r(303); >> >> All goes well till the test part. However, I had no problem using the >> same steps when I wanted to test the coefficients equality between >> two different regression. equations. >> >> It would be great if you let me know what I am doing wrong and the >> right way to test the coefficents of the same regression equation. >> >> Many thanks >> >> >> Nahla >> * >> * For searches and help try: >> * http://www.stata.com/help.cgi?search >> * http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: test of coefficients of the same regression equation***From:*Florian Wendelspiess Chávez Juárez <florian@chavezjuarez.com>

**References**:**st: test of coefficients of the same regression equation***From:*Nahla Betelmal <nahlaib@gmail.com>

**Re: st: test of coefficients of the same regression equation***From:*Florian Wendelspiess Chávez Juárez <florian@chavezjuarez.com>

- Prev by Date:
**Re: st: test of coefficients of the same regression equation** - Next by Date:
**Re: st: test of coefficients of the same regression equation** - Previous by thread:
**Re: st: test of coefficients of the same regression equation** - Next by thread:
**Re: st: test of coefficients of the same regression equation** - Index(es):