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

From |
"Guillaume Frechette" <[email protected]> |

To |
[email protected] |

Subject |
st: Signtest (statistics question) |

Date |
Mon, 12 May 2003 14:02:07 +0000 |

Dear Statalisters: I have two variables x1 and x2 for which I want to test the null hypothesis x1 = x2 (let's say 2 sided at the 10% level). I would normally use Signtest which I believe takes x = x1 - x2 and compares x to a binomial with mean 1/2. Thus, if you have 5 observations, such that x can be written as the vector [1,2,3,4,5] you would reject the null. Now, add 1 million 0's to x and the Signtest (at least as it is implemented in Stata) would still reject the null. However, at an "intuitive" level, it seems to me that x1 and x2 are much more similar in the second case (with the million observations where they are exactly the same) than in the original case. My (very limited) understanding of the problem is that since the variables should be continuous, an x of 0 happens with zero probability. Is there a test which takes into account my "intuitive" understanding or is my intuition simply wrong? I apologize for the non-Stata question. Thanks in advance.

Best,

Guillaume

_________________________________________________________________

MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus

*

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

**Follow-Ups**:**Re: st: Signtest (statistics question)***From:*Roger Newson <[email protected]>

- Prev by Date:
**Re: st: graphing the averages of a variable by year** - Next by Date:
**st: RE: Signtest (statistics question)** - Previous by thread:
**st: graphing the averages of a variable by year** - Next by thread:
**Re: st: Signtest (statistics question)** - Index(es):

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