Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "George_Huang" <cjhuang168@gmail.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: How to test ratio of coefficients |
Date | Wed, 4 Sep 2013 10:34:51 +0800 |
Hi, I have following regression: reg y x1 x2 x3 x4 x1Xx3 x1Xx4 x2Xx3 x2Xx4I would like to compare ratio of coefficients on x1Xx3 / x1Xx4 with the following ratio: x2Xx3 / x2Xx4.
I try to use the following commend: test x1Xx3 / x1Xx4 = x2Xx3 / x2Xx4However, I got the result stated “not possible with test”. Are there other ways to solve the problem?
Any suggestion is greatly appreciated. Best, George * * 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/