Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exercise 18 D.2 Null Hypothesis, H 0 : There is a relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years.

Similar presentations


Presentation on theme: "Exercise 18 D.2 Null Hypothesis, H 0 : There is a relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years."— Presentation transcript:

1 Exercise 18 D.2 Null Hypothesis, H 0 : There is a relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years. Alternative Hypothesis, H 1 : There is no relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years.

2 Observed Value Table SchizophreniaNon-SchizophreniaTotal Smokers5873131 Non-smokers269624893 Total3276971024 Expected Value Table SchizophreniaNon-SchizophreniaTotal Smokers(131 x 327)/1024 = 41.8(131 x 697) / 1024 = 89.2131 Non-smokers893 x 3270 / 1024 = 285.2(893 x 697) / 1024 = 607.8893 Total3276971024 If the variables are independent, expected value = product of probability each variable x total number of values e.g. P(smokers and schizophrenia) = P(smoker) x P(schizophrenia) x 1024 = (131/1024) x (327/1024) x 1024 = (131x 327)/1024 = 41.8

3 Calculating X 2 (chi-squared) X 2 =∑ (f o - f e ) 2 f e fofo fefe f o - f e (f o - f e ) 2 f e 5841.816.2262.446.28 7389.2-16.2262.442.94 269285.2-16.2262.440,92 624607.816.2262.440.43 Total10.57 X 2 = 10.57

4 df = (r – 1) (c – 1) = (2 – 1) (2 – 1) = 1 Significance level = 5% = 0.05 Reject hypothesis if X 2 calc > 3.84, 10.57 > 3.84 so reject hypothesis. It therefore suggests that there is no relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years.


Download ppt "Exercise 18 D.2 Null Hypothesis, H 0 : There is a relationship between smoking marijuana as a teenager and suffering schizophrenia within the next 15 years."

Similar presentations


Ads by Google