Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: testing linear combination of means |
Date | Thu, 22 Nov 2012 17:26:09 +0000 |
isn't this easily done with the cotrast command? Peter A. Lachenbruch, Professor (retired) ________________________________________ From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] on behalf of Rubil Ivica [irubil@eizg.hr] Sent: Thursday, November 22, 2012 5:23 AM To: statalist@hsphsun2.harvard.edu Subject: st: testing linear combination of means Dear Statalist members: Suppose there are four variables: var1, var2, var3, var4. I need to test whether 0.5 * [mean(var1) - mean(var2)] - 0.5 * [mean(var3) - mean(var4)] is significantly different from zero. Is there any idea how to perform the test? Thanks in advance, Ivica -- Ivica Rubil Ekonomski institut || The Institute of Economics, Zagreb Trg J. F. Kennedyja 7, 10 000 Zagreb, Croatia tel. +385-1-2362-269 || fax. +385-1-2335-165 irubil@eizg.hr || www.eizg.hr * * 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/