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

Re: st: Testing equality of means with correlated samples?


From   Christian Hunkler <[email protected]>
To   [email protected]
Subject   Re: st: Testing equality of means with correlated samples?
Date   Wed, 27 Apr 2005 17:11:14 +0200

if I get you right, your case is a two-sample, thus unpaired t-test; -ttest
A==B, unpaired - then is appropriate.
umpaired t-test are used when you want to compare two variables collected
e.g. in different samples or with different populations.

Chris

At 16:45 27.04.2005, you wrote:
>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/


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