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

st: Testing equality of means with correlated samples?


From   Berk Sensoy <[email protected]>
To   [email protected]
Subject   st: Testing equality of means with correlated samples?
Date   Wed, 27 Apr 2005 09:45:32 -0500

Hi,

I would like to test whether the mean of variable A is equal to that
of variable B.  Observations are correlated, however.  The
observations of A are all potentially correlated with each other, and
the same is true for B.  There is no correlation between A and B.

Because of this structure, I believe the standard t-test for equality
of means will give a p-value that is way too low, because it assumes
the samples are distributed iid.

Anyone know how to do this (in Stata)?

Thanks.

*
*   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