Statistics Need the attached assignments put in the certain APA format.

profileiamnickok
assignment_1_answer.xlsx

Sheet1

male female Observed expected (O-E)^2/E
accidents 17 13 30 17 20.8064516129 0.6963740935
no accidents 26 6 32 13 9.1935483871 1.5760045274
43 19 62 26 22.1935483871 0.6528507127
6 9.8064516129 1.4775042445
4.4027335781
the critical value of chi square with 1 degree and 95% confidence is 5.0238864702
since the test value is 4.4< 5.02 we accept null hypothesis.
genedr and having an accident are independent of each other.
medication no medication Observed expected (O-E)^2/E
adequate 3 10 13 3 6.5 1.8846153846
inadequate 8 1 9 10 6.5 1.8846153846
11 11 22 8 4.5 2.7222222222
1 4.5 2.7222222222
9.2136752137
the critical value of chi square with 1 degree and 95% confidence is 5.0238864702
since the test value is 9.21 > 5.02 we do not accept null hypothesis.
medication and the rating of being adequate are not independent of each other.

Sheet2

Sheet3

1

2

3

4

5

6

7

8

9

A

B

C

D

male

female

accidents

17

13

30

no accidents

26

6

32

43

19

62

the critical value of chi square with 1 degree and 95% confidence is

since the test value is 4.4< 5.02 we accept null hypothesis.