Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: lincom & svy: mean


From   [email protected]
To   [email protected]
Subject   st: lincom & svy: mean
Date   Mon, 10 Mar 2008 18:03:02 +0000

I want to perform a weighted t-test, I use to use:

svyset [pw=myweight]
svy : mean myvar  , over(mygroup)
lincom [myvar]1-[myvar]0


However, in Stata 10 I now receive the error -  [1] not found after lincom.
Can anybody tell be how to refer to the two groups in lincom?


Thanks in advance.

Mathew

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index