Re: chi-squared test. hypothesis confusion



This is a common question when starting to do hypothesis testing. Your
tests H0 is smoking and allergy are statistically independant, and Ha
is smoking and allergy are not independant. From your notes you have a
decision rule associated with this chisq test. You reject H0 if your
test statistic chi^2 >= chi^2 alpha (where chi^2 alpha, (r-1)(k-1) is
found in a table or generated from a program depending on your level of
alpha and r and k). Simply find the chi^2 alpha value from a table (in
any stat book), then calculate the chi^2 statistic using your data.
Then follow the rule ... if chi^2 >= chi^2 alpha - reject Ho, i.e.
smoking and allergy are NOT independant, if chi^2 < chi^2 alpha you
dont accept Ha, you "fail to reject H0", i.e. smoking and allergy are
independant. Its as easy as that. However, make sure your data
satisfies any assumptions of the test. This particular test has very
flexible assumptions, in that you only need your observations to be
independant of each other and that each cell of your 2x2 table is
greater than 0 (preferably bigger than 5, otherwise you could get
skewed results).
Hope that helps.

Eric B.

.



Relevant Pages

  • Re: chi-squared test. hypothesis confusion
    ... tests H0 is smoking and allergy are statistically independant, and Ha is smoking and allergy are not independant. ... found in a table or generated from a program depending on your level of alpha and r and k). ...
    (sci.stat.edu)
  • Re: RESPIRATORY ALLERGY?
    ... I notice some things bother me more like cigg smoke or perfume but I ... believe I always had that and smoking just masked it. ... I had a full allergy attack just this weekend when we ... "fresh air" again. ...
    (alt.support.stop-smoking)
  • Re: Need advice about Carnival
    ... My wife is alergic, even if people before us smoked in same room. ... Is this true that Carnival allows smoking in cabins, and can you get smoke free cabins. ... "There are cases of true tobacco allergy, but they always involve physical contact with the raw leaf. ...
    (rec.travel.cruises)
  • chi-squared test. hypothesis confusion
    ... I am performing a chi-squared test and I am not sure how to interpret ... I want to test if smoking has an effect on allergy or not. ...
    (sci.stat.edu)