0% found this document useful (0 votes)
71 views9 pages

Stats 12 Assignment

Uploaded by

kjoel.ngugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views9 pages

Stats 12 Assignment

Uploaded by

kjoel.ngugi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Procedure ABC Hospital RDF Hospital

A 710 790
B 900 1010
C 1100 1220
D 890 880
E 990 1040
F 910 980
G 1030 1170

Test: Do the procedures cost the same at each hospital? NO, the costs for all the procedure are different at each h

1. What is the null hypothesis?


2. Run a paired two sample for mean t-test on this data and place your output in cell F1.
3. Is the difference between the means statistically significant? YES, the difference between the mean is signi
4. Why? Because p (0.00283) is less than the significance level (0.05).
5. Will you accept or reject your null hypothesis? Reject the null hypothesis
t-Test: Paired Two Sample for Means

Mean
Variance
Observations
Pearson Correlation
Hypothesized Mean Difference
rocedure are different at each hospital. df
t Stat
P(T<=t) one-tail
t Critical one-tail
P(T<=t) two-tail
t Critical two-tail

nce between the mean is significant.


ABC Hospital RDF Hospital
932.85714286 1012.8571429
15623.809524 22790.47619
7 7
0.9507444495
0
6
-4.2052598643
0.0028263769
1.9431802805
0.0056527538
2.4469118511
Days survived after removal of organ
Stomach Bronchus Colon Ovary Breast
124 20 248 1234 1235 Patients with advanced cancers of the stomach,
bronchus, colon, ovary, and breast were treated with
40 450 377 89 24 asorbate. The purpose of the study was to
25 246 189 201 1581 determine if patient survival differed with removal of
45 166 1843 356 1166 the organ affected by the cancer.
412 63 180 2970 40
51 64 537 456 727
1112 155 519 3808
46 859 455 791
103 151 406 1804
876 166 365 3460
106 37 942 719
340 223 776
396 138 372
81 72 163
461 245 101
20
283

1. What is the null hypothesis?


2. Run an ANOVA Single Factor test and put your output in cell N1.
3. Is the difference between the means statistically significant? YES, the difference between the means is stati
4. Why? Because the p-value (0.000225) is less than the level of significance (0.05)
5. Will you accept or reject your null hypothesis? Reject the null hypothesis.
Anova: Single Factor

of the stomach, SUMMARY


ast were treated with
tudy was to Groups Count Sum Average Variance
ffered with removal of Stomach 15 4218 281.2 108946.3
er. Bronchus 15 3055 203.6667 44603.52
Colon 17 7776 457.4118 182473
Ovary 6 5306 884.3333 1206875
Breast 11 15355 1395.909 1535038

ANOVA
Source of Variation SS df MS F P-value F crit
Between Groups 11566530 4 2891632 6.449162 0.000225 2.527907
Within Groups 26454028 59 448373.4

Total 38020558 63

between the means is statisically significant.


Patients involved in clinical trial for new antidepressant
T = Treated; D= Dropped out
M = Male; F = Female
Patient
M T Count of Gender Column Labels
M D Row Labels D T Grand Total
F T F 7 5 12
M D M 4 10 14
F D Grand Total 11 15 26
F D
M T
F T
F T
F T
M T
F T 0.12569545473
M T
M D
M T
F D
M T
M D
F D
F D
F D
F D
M T
M T
M T
M T

Question: Is there a difference in the groups?

1. What is your null hypothesis?


2. Create your actual & expected tables, starting in cell D5
3. Calculate your chi-square value and place it in cell D16
4. Is there a statistically significant difference between the observed & expected values? No, there is no statistica
5. Why? Because the value of p (0.1257) is greater than the level of statistical significance (0.05)
6. Do you accept or reject the null hypothesis? Accept the null hypothesis
Row Labels D T Grand Total
F 5.0769230769 6.9230769231 12
M 5.9230769231 8.0769230769 14
Grand Total 11 15 26

No, there is no statistical significance between the observed abd expected values.
ificance (0.05)
The HIM department has been approached by the manufacturer of the scanning software with an offer to purchase their new
model. The company claims the new machine is much more efficient and can scan more documents per minute than the curr
model and they are willing to let your department try it for a month. The CEO wants data on this efficiency before considering
price.

January Old New


1 sofrware
20 software
25
2 16 35 Variance
3 25 25 Old 291.40645161
4 15 14 New 249.89247312
5 8 40
6 60 20
7 65 60
8 24 29
9 35 48
10 48 57
11 35 62
12 61 19
13 33 35
14 36 39
15 29 47
16 39 25
17 49 24
18 60 36
19 60 60
20 55 59
21 51 12
22 60 45
23 34 59
24 55 24
25 45 65
26 21 54
27 13 39
28 15 40
29 45 58
30 40 40
31 21 24

1. What is the null hypothesis?


2. What data do you need to calculate before you can run a Z-test? Before running the Z test, I will calcu
3. Run a Z-test and place the output in cell D10
4. Do you accept or reject your null hypothesis? Accept the null hypothesis
5. Why? Because the p-value (0.7225) is greater than the level of significane (0.05)
ware with an offer to purchase their new
ore documents per minute than the current
data on this efficiency before considering the

z-Test: Two Sample for Means

Variable 1 Variable 2
Mean 37.838709677 39.322580645
Known Variance 291.406452 249.892473
Observations 31 31
Hypothesized Mean Difference 0
z -0.3551063206
P(Z<=z) one-tail 0.3612549708
z Critical one-tail 1.644853627
P(Z<=z) two-tail 0.7225099417
z Critical two-tail 1.9599639845

Before running the Z test, I will calculate the variance of both the new and old variables.

l hypothesis
ificane (0.05)

You might also like