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: RE: testing linear combination of means


From   "Lachenbruch, Peter" <[email protected]>
To   "[email protected]" <[email protected]>
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: [email protected] [[email protected]] on behalf of Rubil Ivica [[email protected]]
Sent: Thursday, November 22, 2012 5:23 AM
To: [email protected]
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
[email protected] || 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/


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