Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Count 21 21
Mean 47.95238 47.2380952381
StDev 11.92257 15.0429543704
Variance 142.1476 226.2904761905
X=80.94
μ=85
σ=11.60
p-Value
Childrens are underfeed
Location
1
2
3
4
5
6
Average
sd
SE n=6
z=0.091667/0.024776
Mean
SD
SE 3.4641016151
z= 2.8976449587
ffrom table 11df 2.201
Reject null hypo
Men
Education N
<= High School 476
>=College 192
SE
Z
as compared to table highly significa
Sp=(n1-1)S1*S1+(n2-1)S2*S2/n1+n2-2
1203.21
552.96+650.25=1203.21
1203.21/49=24.56
SE(x1=x2)=sp sqrt (n2*n1)/n1+n2
26*25/26+25=12.745
sqrt12.745=3.57
SE=24.56*3.57
ertain age have a mean weight of 85 lb. An observa-
made that in a city neighborhood, children were underfed. As evi-
25 boys in the neighborhood of that age were weighed and found to
an x of 80.94 lb and a standard deviation s of 11.60 lb. An applica-
procedure above yields
Z=80.94-8 -4.06
SE=11.60/ 2.32
z=-1.75
0.0400591569
are underfeed
0.0916666667 0.011472
0.0606882745
2.4494897428 0.0247758843
7/0.024776 3.6998343001
3.69 is gretaer than 2.75found in table at df5 hence null hypothesis rejected
2.583333
3.088346
0.891529
metimes self-reported.
and follow-up program in
n opportunity to evaluate the
e 7.3 gives the percent dis-
ht _x0002_ 100%
ht _x0002_ 100%
Women
mean SD N mean SD
1.38 1.53 323 0.66 1.53
1.04 1.31 62 0.41 1.46
21.8174242293 1.53
0.070127
19.67846
ed to table highly significant
mple ttest
condition of joggers, a
maximum volume of oxygen
0.25=1203.21
0.0140018158
t-Test: Two-Sample Assuming Unequal Variances t-Test: Two-Sample Assuming Unequal Variances
0.991452
0.044366 0.85%
Err:502
0.955634 0 1.644854
Sample x1 x2 Variance
1 3 3 0
2 3 5 2
3 3 10 24.5
4 5 1 8
5 5 5 0
6 5 10 12.5
7 10 5 12.5
8 10 5 12.5
9 10 10 0
ANOVA
Group B Group C
Mean 18.8833333333 7.66
Variance 35.3906060606 14.8271111111
Observations 12 10
Pooled Variance 26.1370333333
Hypothesized Mean D 0
df 20
t Stat 5.1271142886
P(T<=t) one-tail 2.56754321855E-05
t Critical one-tail 1.7247182182
P(T<=t) two-tail 5.1350864371E-05
t Critical two-tail 2.0859634413 0.05/3
5 7 8 15
10 12 17 13
15 14 18 19
20 19 25 22
All
Anova: Single Factor
SUMMARY
Groups Count Sum
7 5 53
12 5 82
14 5 88
19 5 108
ANOVA
Source of Variation SS df
Between Groups 310.15 3
Within Groups 86.8 16
Total 396.95 19
x (mm of H
42
46
42
71
80
74
70
80
85
72
64
81
41
61
75
Anova: Single Factor
SUMMARY
Groups Count Sum Average Variance
a 10 517 51.7 533.7888888889
b 10 456 45.6 351.8222222222
c 10 550 55 631.5555555556
ANOVA
Source of Variation SS df MS F P-value
Between Groups 454.86666667 2 227.4333 0.4497198726 0.642498039
Within Groups 13654.5 27 505.7222
Total 14109.366667 29
SUMMARY
Groups Count Sum Average Variance
Group A 7 84.7 12.1 14.67
Group B 12 226.6 18.88333 35.3906060606
Group C 10 76.6 7.66 14.8271111111
ANOVA
Source of Variation SS df MS F P-value
Between Groups 702.09243678 2 351.0462 14.9439906273 4.780948E-05
Within Groups 610.76066667 26 23.49079
Total 1312.8531034 28
Mean SD
11 9 10 10 2.8284271247
18 19 15 15.66667 2.8047578624
17 16 18 17 1.788854382
23 18 20 21.16667 2.639444386
15.95833 4.6115294322
Average Variance
10.6 7.3
16.4 5.8
17.6 1.3
21.6 7.3
MS F P-value F crit
103.3833333333 19.0568356375 0.000015662 3.238872
5.425
weight in oz Increase in wt after 70-100
x y
112 63 Anova: Single Factor
111 66
107 72 SUMMARY
119 52 Groups Count
92 75 x 12
80 118 y 12
81 120
84 114
118 42 ANOVA
106 72 Source of Variation SS
103 90 Between Groups 2242.666667
94 91 Within Groups 9425.166667
Total 11667.83333
ANOVA table
Source SS df MS F
Treatment 2,242.67 1 2,242.667 5.23
Error 9,425.17 22 428.417
Total 11,667.83 23
Comparison of Groups
130.0
120.0
110.0
100.0
90.0
80.0
70.0
60.0
50.0
40.0
y mm of Hg
130
115 One factor ANOVA
148
100 Mean n Std. Dev
156 65.6 15 15.59
162 146.2 15 19.48
151 105.9 30 44.50
156
162 ANOVA table
158 Source SS df MS
155 Treatment ### 1 48,722.700
160 Error 8,716.00 28 311.286
125 Total ### 29
150
165
Comparison of Groups
50,000.0
45,000.0
40,000.0
35,000.0
30,000.0
25,000.0
20,000.0
15,000.0
10,000.0
5,000.0
0.0
SUMMARY
Groups Count Sum Average Variance
x (mm of Hg 15 984 65.6 243.1142857143
y mm of Hg 15 2193 146.2 379.4571428571
ANOVA
Source of Variation SS df MS F P-value
Between Groups 48722.7 1 48722.7 156.5208352455 5.54E-13
Within Groups 8716 28 311.2857
Total 57438.7 29
Example 8.7 Ultrasounds were taken at the time of liver transplant and again
five to ten years later to determine the systolic pressure of the hepatic artery.
Results for 21 transplants for 21 children are shown in Table 8.7; also available
are gender (1 ¼ male, 2 ¼ female) and age at the second measurement.
SUMMARY
Groups Count Sum Average Variance
Child 21 231 11 38.5
5-10 Yrs Later 21 937 44.61905 132.7476190476
At Transplant 21 977 46.52381 388.1619047619
Gender 21 30 1.428571 0.2571428571
Age 21 331 15.7619 18.0904761905
ANOVA
Source of Variation SS df MS F P-value
Between Groups 35252.990476 4 8813.248 76.2712129829 1.621537E-29
Within Groups 11555.142857 100 115.5514
ANOVA
Source of Variation SS df MS F P-value
Rows 4863.1666667 20 243.1583 2.4636201718 0.003777392
Columns 30907.27381 3 10302.42 104.3816213217 8.86887E-24
Error 5921.9761905 60 98.6996
Total 41692.416667 83
F crit
3.3541308286
F crit
3.3690163595
Group C
7.66
14.8271111111
10
Sum Average Variance
1207 100.583333333 196.0833
975 81.25 660.75
df MS F P-value F crit
1 2242.66666667 5.234779 0.032115 4.300949462
22 428.416666667
23
p-value
.0321
oups
Child
x (mm of Hg
y mm of Hg
Total
F p-value
156.52 5.54E-13
arison of Groups
F crit
4.1959717074
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.8258905786
R Square 0.6820952478
Adjusted R Squa 0.6259944092
Standard Error 7.0461586476
Observations 21
ANOVA
df SS MS F Significance F
Regression 3 1810.93 603.6435 12.1583788165 0.0001707493
Residual 17 844.022 49.64835
Total 20 2654.952
Using the second measurement of the systolic pressure of the hepatic artery
as our dependent variable, the resulting ANOVA table is shown in Table 8.8.
The result of the overall F test ( p ¼ 0:0002) indicates that taken collectively,
the three independent variables (systolic pressure at transplant, gender, and
age) contribute significantly to the prediction of the dependent variable. In
addition, we have the results shown in Table 8.9. The e¤ects of pressure at
transplant and age are significant at the 5% level, whereas the e¤ect of gender is
not ( p ¼ 0:5982).
these in-
dicate that the pressure at transplant time (pressure1) is the most significant
variable. Example 8.8 There have been times the city of London experienced peri
dense fog. Table 8.10 shows such data for a very severe 15-day period w
included the number of deaths in each day (y), the mean atmospheric sm
(x1, in mg/m3), and the mean atmospheric sulfur dioxide content (x2, in
F crit
2.462614926 Number of deaths Smoke Sulfur dioxide
112 0.3 0.09
140 0.49 0.16
143 0.61 0.22
120 0.49 0.14
196 2.64 0.75
294 3.45 0.86
513 4.46 1.34
518 4.46 1.34
430 1.22 0.47
274 1.22 0.47
255 0.32 0.22
236 0.29 0.23
256 0.5 0.26
222 0.32 0.16
213 0.32 0.16
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.9268446481
R Square 0.8590410017
Adjusted R Square 0.8355478354
Standard Error 52.9576915765
Observations 15
ANOVA
df SS
Regression 2 205097.5282
Residual 12 33654.2052
Total 14 238751.7333
F crit Using the number of deaths in each day as our dependent variable, Tab
1.7479841334 8.11 is the resulting ANOVA table. The result of the overall F test ðp ¼ 0
2.7580783156 indicates that taken collectively, the two independent variables contrib
nificantly to the prediction of the dependent variable. In addition, we h
results shown in Table 8.12. The e¤ects of both factors, the mean atmo
smoke and the mean atmospheric sulfur dioxide content, are significan
the 1% level (both p < 0:001).
Trace metals in drinking water a¤ect the flavor of the water, and un-
usually high concentration can pose a health hazard. Table E8.1 shows
trace-metal concentrations (zinc, in mg/L) for both surface water and
bottom water at six di¤erent river locations. Our aim is to see if sur-
face water concentration (x) is predictive of bottom water concen
(y).
0.4
0.35
0.3
0.25
0.2
0.2 0.3 0.4 0.5 0.6 0.7
Bottom
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.9421646629
R Square 0.887674252
Adjusted R Square 0.859592815
Standard Error 0.0531225177
Observations 6
ANOVA
df SS
Regression 1 0.0892054924
Residual 4 0.0112880076
Total 5 0.1004935
70
60
f(x) = 0.3485905144x + 6.0770340681
50 R² = 0.4856072451
After 24 hrs
40
30
20
10
f(x) = 0.3485905144x + 6.0770340681
50 R² = 0.4856072451
After 24 hrs
40
30
20
10
0
0 20 40 60 80 100 120 140 1
After 12 hrs
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.6968552541
R Square 0.4856072451
Adjusted R Square 0.3827286941
Standard Error 16.591371509
Observations 7
ANOVA
df SS
Regression 1 1299.346242962
Residual 5 1376.368042752
Total 6 2675.714285714
Table E8.3 gives the net food supply (x, number of calories per person
per day) and the infant mortality rate (y, number of infant deaths per
1000 live births) for certain selected countries before World War II.
Country X Y
Argentina 2730 98.8
Australia 3300 39.1
Austria 2900 87.4
Belium 3000 83.1
Burma 1080 202.1
Canada 3070 67.4
chile 2240 240.8
Cuba 2610 116.8
Eypt 2450 162.9
France 2880 66.1
Germany 2960 63.3
Iceland 3160 42.4
India 1970 161.6
Ireland 3390 69.6
Italy 2510 102.7
Japan 2180 60.6
Netherlands 3010 37.4
New Zealand 3260 32.2
Sweden 3210 43.3
UK 3100 55.3
US 3150 53.2
Uruguay 2380 94.1
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.787725072
R Square 0.620510789
Adjusted R Squa 0.6015363285
Standard Error 35.2685353868
Observations 22
ANOVA
df SS MS F Significance F
Regression 1 40677.55 40677.55 32.7024205728 1.34966421E-05
Residual 20 24877.39 1243.87
Total 21 65554.94
di
0.015
0.028
0.177
0.121
0.102
0.107
+ 0.0264891406
6.0770340681
6.0770340681
MS F Significance F
1299.346243 4.7201991132 0.0818736968
275.2736086
250
150
Y
300
250
150
Y
Country
100 Argentina
Australia
50
Austria
Belium
0
1000 1500 2000 2500 3000 3500 4000 Burma
Canada
X
chile
Cuba
Eypt
France
Regression Analysis Germany
Iceland
r² 0.621 n 22 India
r -0.788 k 1 Ireland
Std. Error 35.269 Dep. Var. Y Italy
Japan
Netherland
df MS F p-value New Zealan
1 ### 32.70 1.35E-05 Sweden
20 ### UK
21 US
Uruguay
confidence interval
std. error t (df=20) p-value95% lower95% upper
39.5819 7.888 1.45E-07 229.6739 394.8065
0.0141 -5.719 1.35E-05 -0.1102 -0.0513
50
40
Axis Title 30
20
10
0
Red Blue Green Black Yellow White Silver Other
Axis Title
The effect of UV exposure on the appearance of mutant in 3 different bacterial populations
600
E.coli
500
f(x) = 48.9x - 1.2272727273
Number of mutant bacterial cells
400
300
200
C.sporogenes
100
0
0 2 4 6 8 10 12
Temperature
6 7 30
7 6
20
8 13
9 15 10
10 29
0
0 2 4 6 8 10 12
Figure1: Time Vs.Temperature Time
West
East
South
North
30%
25%
25% Luxury
22% Luxury Sports Luxury Sports
Sports
White 25 10 White 25% 10%
20%
Black 18% 22 15 Black 22% 15%
15% Silver 16 18 15% Silver 16% 18%
16%
Percentages
15%
15% Gray 12 15 Gray 12% 15%
13%
12%
Blue 7 13 Blue 7% 13%
10%
10% Red 7 15 Red 7% 15%
Gold 6 7% 5 7% Gold 6% 5%
7%
6%
Green 3 2 Green 5% 3% 2%
5%
Brown 2 7 Brown 3% 2% 2% 7%
2%
0%
White Black Silver Gray Blue Red Gold Green Brown
Car Colours
ature
10 12
$5,000
$4,500
$4,000
$3,500
$3,000
January
$2,500 February
$2,000 March
$1,500
$1,000
$500
$0
West East South North
West
East
South
North
E.coli
The effect of UV exposure on the appearance of mutant in 3 different bacterial populations
600
E.coli
500
f(x) = 48.9x - 1.2272727273
400
Number of mutant bacterial cells
S.aureus
300
200
100
C.sporogenes
0
0 2 4 6 8 10 12
Luxury
Luxury Sports
Sports
White 0.25% 0.10%
Black 0.22% 0.15%
Silver 0.16% 0.18%
Gray 0.12% 0.15%
Blue 0.07% 0.13%
Red 0.07% 0.15%
7% Gold 0.06% 0.05%
Green 0.03% 0.02%
2%
Brown 0.02% 0.07%
Brown
populations
populations
C.sporogenes
10 12
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.912424
R Square 0.832518
Adjusted R 0.741609
Standard E 36.28798
Observatio 12
ANOVA
df SS MS F Significance F
Regression 1 72002 72002 54.67879 2.33E-05
Residual 11 14485 1316.818
Total 12 86487
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%
Lower 95.0%
Upper 95.0%
Intercept 0 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
x 0.763364 0.103234 7.394511 1.37E-05 0.536148 0.99058 0.536148 0.99058
Ice cream sales data-Simple Regression Analysis
Day Temp Sales
1 65 20
2 68 22
3 66 21
4 75 23 Cha
5 81 25
35
6 76 26
7 78 28 f(x) = 0.4330867518x - 8.4
8 85 30 30 R² = 0.7413818931
9 88 30
10 95 35
11 90 29 25
Sales
12 82 28
13 80 26
14 76 26 20
15 74 24
16 73 24
15
17 73 20 60 65 70
18 77 18
19 68 19
20 60 20
Coefficients
Intercept 0
x 0.763364
Regression Analysis 89.5% of the variation in growth rates
r² 0.895 n
r -0.946 k
Std. Error 8.717 Dep. Var.
ANOVA table
Source SS df MS
Regression 6,508.4274 1 ###
Residual 759.8226 10 75.9823
Total 7,268.2500 11
Regression output
variables coefficients std. error t (df=10)
Intercept 255.9719 19.0454 13.440
x -1.7371 0.1877 -9.255
Example 8.2 In Table 8.2 the first two columns give the values for age (x, in
years) and systolic blood pressure (y, in mmHg) for 15 women. We first let
each pair of numbers ðx; yÞ be represented by a dot in a diagram with the x’s
on the horizontal axis; we have the scatter diagram shown in Figure 8.2. Again
the dots do not fall perfectly on a straight line, but scatter around a line, very
typical for statistical relationships. In this example, a straight line still seems
to fit, too; however, the dots spread more and cluster less around the line,
indicating a weaker association. Generally, the 15 dots go from lower left to
upper right, and we have a positive association. As shown in Example 2.9, we
obtained a Pearson’s correlation coe‰cient of r ¼ 0:566, indicating a moder-
ately positive association, confirming the observation from the graph.
x (mm of Hg y mm of Hg
42 130
46 115 Regression Analysis
42 148
71 100
80 156
74 162 Std. Error
70 151
80 156 ANOVA table
85 162 Source
72 158 Regression
64 155 Residual
81 160 Total
41 125
61 150
75 165 Regression output
variables
Intercept
x (mm of Hg
170
160
f(x) = 0.7049006934x + 99.958514514
150 R² = 0.3183490971
140
y mm of Hg
130
120
110
100
90
80
40 45 50 55 60 65 70 75 80 85 90
Age
SUMMARY OUTPUT
Chart Title
Regression Statistics
35
Multiple R
f(x) = 0.4330867518x - 8.4311365165
R Square
30 R² = 0.7413818931 Adjusted R Square
Standard Error
Observations
25
ANOVA
20 Regression
Residual
Total
15
60 65 70 75 80 85 90 95
High Temp
Intercept
Temp
y
140
120
f(x) = - 1.7370861183x + 255.9719120658
100 R² = 0.895460037
y
80 Linear (y)
60
40
20
0
SS MS F Significance F
75 80 85 90 95 100 105 110 115 120 125
72002 72002 54.67879 2.33E-05
14485 1316.818
86487
120
f(x) = - 1.7370861183x + 255.9719120658
110
F p-value R² = 0.895460037
85.66 3.22E-06 100
90
y
80
70
confidence interval
60
p-value95% lower95% upper
1.00E-07 213.5362 298.4076 50
3.22E-06 -2.1553 -1.3189
40
60 70 80 90 100 110 120 130
Regression Analysis
r² 0.318 n 15
r 0.564 k 1
Std. Error 16.690 Dep. Var. y mm of Hg
ANOVA table
SS df MS F p-value
### 1 ### 6.07 .0285
### 13 278.5540
### 14
80 85 90
gression Statistics
0.86104
0.74138
0.72701
2.32489
20
df SS MS F Significance F
1 278.907868191 278.9078682 51.6006951 1.09618775E-06
18 97.292131809 5.405118434
19 376.2
Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0%
-8.431 4.641 -1.817 0.086 -18.182 1.320 -18.182
0.433 0.060 7.183 0.000 0.306 0.560 0.306
y
Linear (y)
5.9719120658
120 130
Upper 95.0%
1.320
0.560
Systolic blood pressure measurement (mm Hg) from arteriosnode machineobtained by from 10
Persons Oberserver 1
1 194
2 126
3 130
4 98
5 136
6 145
7 110
8 108
9 102
10 126
Mean x
Variance
SD
Chi square test One way for varinace
pressure measurement (mm Hg) from arteriosnode machineobtained by from 10 patients and read by 2 observers
Observer 2 Difference d
200 -6
123 3
128 2
101 -3
135 1
145 0
111 -1
107 1
99 3
128 -2
-0.2
8.1777777778 Polutation
2.8596814119 SD
χ2=(10-1)*8.178/35
73.602
2.1029142857
χ2=2.103
Polutation
35
opulation deviation
Confidence interval - mean
Descriptive statistics
Oberserver 1 Observer 2
count 10 10
mean 127.50 127.70
sample standard 27.93 29.53
sample varianc 779.83 871.79
minimum 98 99
maximum 194 200
range 96 101
0 1 2 3 4 5 6 7 8 9 10 11 12 13
Chisq
0.00
Chi-square distribution
df = 9
P(lower) P(upper) Chi-square
0.00E+00 1.0000 0.00
Correlation Matrix
x (mm of Hg y mm of Hg
x (mm of Hg 1.000
y mm of Hg .564 1.000
15 sample size
ANOVA table
Source SS df MS F p-value
Treatments 35,252.99 4 8,813.248 90.68 6.41E-29
Blocks 3,780.13 20 189.007 1.94 .0197
Error 7,775.01 80 97.188
Total 46,808.13 104
Comparison of Groups
100.0
90.0
80.0
Comparison of Groups
100.0
90.0
80.0
70.0
60.0
50.0
40.0
30.0
20.0
10.0
0.0
Child 5-10 Yrs Later At Transplant Gender Age
13 14 15 16 17 18 19 20 21 22
Confidence interval
Mean zone diameters with 30μg netilmicin disks te
E.Coli
Lab diff media
1A 27.5
B 24.6
C 25.3
D 28.7
E 23
F 26.8
G 24.7
H 24.3
9I 24.9
1.0303317214
7.4121326886 6.5878673114
Column1
Mean
Standard Error
Median
Mode
Standard Deviation
Sample Variance
Kurtosis
Skewness
Range
Minimum
Maximum
Sum
Count
Confidence Level(95.0%)
Descriptive statistics
count
mean
sample standard deviation
sample variance
minimum
maximum
range
S.aureus P.aeruginosa
Common Media difference diff media Common Media
23.8 3.7 25.4 23.9 20.1 16.7
21.1 3.5 24.8 24.2 18.4 17
25.4 -0.1 24.6 25 16.8 17.1
25.4 3.3 29.8 26.7 21.7 18.2
24.8 -1.8 27.5 25.3 20.1 16.7
25.7 1.1 28.1 25.2 20.3 19.2
26.8 -2.1 31.2 27.1 22.8 18.8
26.2 -1.9 24.3 26.5 19.9 18.1
26.3 -1.4 25.4 25.1 19.3 19.2
Column1
25.5333333333
0.5946520925
24.9
#N/A
1.7839562775
3.1825
-0.2607497746
0.6114613616
5.7
23
28.7
229.8
9
1.3712701832
diff media
9
25.533
1.784
3.183
23
28.7
5.7
0.595
24.162
26.905
1.371