You are on page 1of 1

ID Hosp Cost ( C) (C-Xbarbar)^2 (C-Xbar)^2 Notes

1 Albemarle $5,342.61 2740146.377 1685779.4 Average of Costs (C-Xbarbar)^2 = TOTAL variance of group =
2 Albemarle $7,237.59 57427.9287 355936.73 Hospital Total nj*(Xbar-Xbarbar)^2 SST
3 Albemarle $11,801.95 23078428.01 26635553 Albemarle 6640.99 3822679 nj*(Xbar-Xbarbar)^2 = calculates BETWEEN
4 Albemarle $1,082.36 34994190.26 30898319 Beaufort 6253.90 16608450 group variance = SSB where nj is the
5 Albemarle $2,379.59 21329237.54 18159493 Catawba 9380.71 170326345 number of observations for each hospital in
6 Albemarle $8,469.39 2165139.352 3343062.4 Dare 5716.21 49286011 this case 30
7 Albemarle $4,453.55 6473964.999 4784874.8 Grand Total 6997.95 (C-Xbar)^2 = calculates WITHIN group
8 Albemarle $4,745.26 5074606.604 3593775.8 variance = SSW
9 Albemarle $11,963.80 24659678.64 28332352 SS -(Total Sum) df MS F p To verify calculations are done correctly
10 Albemarle $5,294.96 2900170.683 1811785.1 SST 2726170568 119 SST=SSB + SSW
11 Albemarle $2,965.55 16260239.68 13508827 SSB 240043485 3 80014495 3.7334 0.01323 df = Degrees of Freedom, SSB: if m different
12 Albemarle $3,896.16 9621093.45 7534067.9 SSW 2486127083 116 21432130 groups in this case 4 hospitals (df = 4-1),
13 Albemarle $6,074.21 853293.2783 321234.66 2726170568 SSW: 30 different observations within 4
14 Albemarle $7,217.18 48062.34098 331999.91 groups, each group -1 hence 116 df
15 Albemarle $3,730.40 10676874.83 8471508.9
16 Albemarle $1,248.14 33060300.66 29082784
17 Albemarle $14,258.95 52722139.15 58033381 MS = Mean Square Error, 2 calcuated mean
18 Albemarle $19,475.78 155696272.7 164731946 square error between groups and within
19 Albemarle $3,384.80 13054843.89 10602745 groups
20 Albemarle $6,680.14 101002.4016 1533.0618 F test= mean square BETWEEN groups
21 Albemarle $1,871.78 26277606.05 22745323 divided by mean square WITHIN groups
22 Albemarle $4,655.22 5488377.996 3943265.3 p = using FDIST() = probability of obtaining
23 Albemarle $7,899.41 812632.3853 1583631.8 the F test value (F). In this case 0.01323
24 Albemarle $12,005.57 25076270.58 28778765 probability of getting F value of 3.7334 which
25 Albemarle $3,117.39 15058736.21 12415726 is very low. STATISTICAL CONCLUSION:
26 Albemarle $10,750.39 14080815.33 16887204 cost is not independent of hosptials and
27 Albemarle $5,097.72 3610869.302 2381668.9 hospitals differ in their costs
28 Albemarle $2,280.30 22256209.73 19015579
29 Albemarle $16,611.95 92429020.04 99420130
30 Albemarle $3,237.47 14141200.43 11583919
31 Beaufort $6,844.89 23426.98095 349274.3
32 Beaufort $6,283.80 510008.4371 894.26915
33 Beaufort $5,206.09 3210757.78 1097896.7
34 Beaufort $22,030.51 225977897.7 248901560
35 Beaufort $5,372.86 2640913.445 776223.85
36 Beaufort $2,197.14 23047764.65 16457267
37 Beaufort $13,472.69 41922274.25 52110992
38 Beaufort $8,486.18 2214832.253 4983093.3
39 Beaufort $2,447.01 20711043.51 14492378
40 Beaufort $19,182.24 148456953.3 167142087
41 Beaufort $10,021.34 9140894.651 14193637
42 Beaufort $1,594.57 29196501.92 21709316
43 Beaufort $4,412.80 6682994.06 3389633.3
44 Beaufort $7,000.21 5.113251562 556985.08
45 Beaufort $1,221.58 33366435.94 25324201
46 Beaufort $6,956.35 1730.456002 493442.09
47 Beaufort $2,568.13 19623294.16 13584869
48 Beaufort $2,257.24 22474319.45 15973257
49 Beaufort $3,946.68 9310240.985 5323244.1
50 Beaufort $9,546.52 6495215.416 10841375
51 Beaufort $9,321.12 5397124.657 9407865.1
52 Beaufort $4,278.73 7394150.61 3901279.4
53 Beaufort $3,720.09 10744357.98 6420171.2
54 Beaufort $2,314.85 21931413.9 15516081
55 Beaufort $2,741.32 18118888.32 12338188
56 Beaufort $3,489.61 12308440.78 7641275.2
57 Beaufort $9,916.19 8516131.993 13412400
58 Beaufort $2,793.26 17679407.48 11975999
59 Beaufort $4,394.15 6779767.931 3458653.9
60 Beaufort $3,598.72 11554756.09 7049957.8
61 Catawba $5,455.73 2378438.673 15405458
62 Catawba $4,448.48 6499790.907 24326880
63 Catawba $8,996.80 3995406.32 147385.86
64 Catawba $4,734.98 5121027.563 21582795
65 Catawba $13,055.10 36689081.27 13501152
66 Catawba $10,194.42 10217428.45 662126.13
67 Catawba $16,229.83 85227631.41 46910463
68 Catawba $7,099.69 10351.28195 5203046.2
69 Catawba $5,948.36 1101636.544 11781017
70 Catawba $4,155.38 8080197.098 27304060
71 Catawba $14,470.90 55845000.38 25910048
72 Catawba $4,957.09 4165104.437 19568402
73 Catawba $5,040.75 3830626.947 18835241
74 Catawba $4,113.04 8322698.496 27748333
75 Catawba $18,527.78 132937008.7 83668914
76 Catawba $7,272.11 75164.391 4446188.3
77 Catawba $10,481.06 12132063.98 1210773.1
78 Catawba $3,156.14 14759494.47 38745255
79 Catawba $14,447.60 55497303.75 25673388
80 Catawba $6,412.51 342738.53 8810203.3
81 Catawba $13,480.78 42027101.02 16810585
82 Catawba $18,847.52 140412338.8 89620517
83 Catawba $15,593.65 73886079.98 38600640
84 Catawba $10,049.19 9310073.166 446867.29
85 Catawba $9,632.61 6941439.902 63454.282
86 Catawba $18,571.33 133943153.6 84467520
87 Catawba $4,513.67 6171640.908 23688065
88 Catawba $6,049.84 898910.2018 11094686
89 Catawba $6,716.69 79106.48445 7096995.5
90 Catawba $8,768.23 3133895.704 375130.12
91 Dare $1,035.75 35547813.93 21906659
92 Dare $6,130.58 752328.5485 171706.64
93 Dare $2,584.28 19480471.83 9808954.2
94 Dare $2,635.85 19027905.5 9488586.9
95 Dare $5,371.03 2646864.619 119145.78
96 Dare $14,433.99 55294709.47 75999775
97 Dare $2,283.88 22222444.18 11780855
98 Dare $3,630.39 11340451.93 4350624.2
99 Dare $4,775.36 4939900.752 885189.31
100 Dare $6,084.66 834096.3409 135759.09
101 Dare $1,414.80 31171549.96 18502085
102 Dare $6,630.33 135143.5454 835624.52
103 Dare $5,139.11 3455281.499 333038.64
104 Dare $16,346.71 87399336.91 113007637
105 Dare $5,068.54 3722618.125 419469.95
106 Dare $1,810.36 26911077.04 15255625
107 Dare $5,881.90 1245564.812 27454.833
108 Dare $4,149.18 8115483.391 2455567.4
109 Dare $3,597.68 11561827.57 4488148.2
110 Dare $10,679.39 13553009.68 24633205
111 Dare $5,249.46 3057212.909 217850.9
112 Dare $10,377.23 11419541.77 21725154
113 Dare $3,063.96 15476267.49 7034403.5
114 Dare $3,580.55 11678614.22 4561022.3
115 Dare $10,516.46 12379921.42 23042448
116 Dare $6,082.93 837259.3129 134487.23
117 Dare $960.28 36453443.93 22618823
118 Dare $3,118.49 15050200.19 6748123.2
119 Dare $12,919.48 35064532.34 51887171
120 Dare $5,933.54 1132965.987 47234.502

You might also like