Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: ttest var1==var2 for clustered data


From   Nick Winter <nw53@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: ttest var1==var2 for clustered data
Date   Tue, 22 Mar 2005 09:55:20 -0500

Sorry, that last line should, of course, be

  . test diff=0

Last I checked, "text" is not a valid Stata command ...

At 09:47 AM 3/22/2005 -0500, you wrote:

How about

  . generate diff = var1-var2
  . svymean diff
  . text diff=0

?
--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government nw53@cornell.edu e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index