Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
X X
1 2
t
1 2
S n 1 S n
2 2
1 1 1
1 1 2 2
n n 21 2 n n 1 2
ABC Manufacturing Company (Part 2)
n 15
1 n 12
2
X 47.731 X 56.5
2
S 19.495
2
S 18.273
2
1 2
ABC Manufacturing Company (Part 1)
Ho: 1 2 0
Ha: 1 2 0
Rejection Rejection
Region Region
.025
2
.05
.025
2 2 .025
2
df n1 n2 2 15 12 2 25
Nonrejection Region
t 0.25, 25
2.060
t .025, 25
2.060
t 2.060
0 .025, 25
X X
1 2
t
1 2
S n 1 S n 1
2 2
1 1
1 1 2 2
n1 n2 2 n n 1 2
47.73 56.50 0
19.49514 18.27311 1 1
15 12 2 15 12
5.20
If t < - 2.060 or t > 2.060, reject Ho. Since t = -5.20 < -2.060, reject Ho.
1 32 39 -7
2 11 15 -4
Measurements on the 4 17 13 4
same individual. 5 30 41 -11
• n=sample size
d
d
n
d d
2
S
d
n 1
d
2
d 2
n
n 1
t-test contd…
t-test for testing the observed correlation coefficient:
t= (r/sqrt(1-r^2))*sqrt(n-2)~t (n-2) d.f.
Problem1
1)Below are given the gain in weights (in kg’s) of plus 2 students on two diets A and
B.
Diet A:25,32,30,34,24,14,32,24,30,31,35,25
Diet B :44,34,22,10,47,31,40,30,32,35,18,21,35,29,22
Test the two diets differ significantly as regards their effect on increase
In weight.
2)Samples of two types of electric light bulbs were tested for length of life and
following data were obtained:
Type I : n1=8,mean1=1,234 hrs,s1=36hrs.
Type II: n2 =7.mean2=1036 hrs,s2=40hrs.
Is the difference in the means sufficient to warrant that type I is superior to type II
Regarding length of life.
Problems contd….
1)A certain stimulus administered to each of the 12 patients resulted in the
following difference in increase of blood pressure:
5,2,8,-1,3,0,-2,1,5,0,4 and 6
Can it be concluded that the stimulus will, in general, be accompanied by an
increase in blood pressure?
2)In a certain experiment to compare two types of animal foods A and B,the
following results of increase in weights were observed in animals:
1 2 3 4 5 6 7 8 TOTAL
a)Assuming that the two samples of animals are independent ,can we conclude
that food B is better than food A?
b)Also, examine the case when the same set of eight animals were used in both
the foods.
Inferences About Population Variances
Importance of Variance
• The average is 1 litre as claimed by the bottling plant but what about the variance?
• The average strength in the production of 1mg Amaryl(diabetes drug) is 1 mg but what about the variance
of drug weight?
• Risk measurement is a primary focus in the Finance industry and the most common metric is the variance.
• The call center was erratic in Average handling time(AHT) what is the variation in the AHT.
Chi-Square Distribution χ2
• Constructing a (chi-square) χ2 distribution: σ 𝑧𝑖2
• Suppose the population is normally distributed
• A sample of size n is taken
• The squared z scores are computed
• The sum is from a χ2 distribution
• The sampling distribution of (n - 1)s2/2 has a χ2 distribution
with (n-1) degrees of freedom, whenever a simple random
sample of size n is selected from a normal population.
χ2 distribution: (n - 1)s2/ 2
/2
(1 - ) /2
0 2
Χ1−𝛼 Χ𝛼2 2
2 2
𝟐
df 𝚾𝟏−𝛂 𝚾𝛂𝟐
𝟐 𝟐
3 .10 0.352 7.815
10 .05 3.247 20.483
Hypothesis Testing About a Population
Variance
Testing whether the variance of X is =, ≤, or ≥ a 𝜎02
In both cases, the population providing the larger sample variance is population 1.
s21
Test Statistic: F = ൗs2
2
The F-Distribution
•Assume we repeatedly select a random sample of size n1 from one normal
population and another random sample n2 from another normal population.
s21
•And each time, we compute ൗs2
2
•If we do this , we would arrive at the distribution of the ratio of two variances:
s21
F = ൗs2 .
2
•The distribution formed in this manner approximates an F distribution with the
following degrees of freedom:
v1 = n1 - 1 and v2 = n2 - 1
P(F(6,9) > 3.37) = 0.05
P(F(6.9) < 3.37) = 0.95.
2
0 2
Χ1− Χ𝛼2 (n – 1)s2
𝛼 (1-) % of all will lie in the interval ≤
2 2 χ 2αΤ2
(n – 1)s2
𝜎≤
χ 2(1−αΤ2)
Interval Estimation of 2
Buyer’s Digest rates thermostats manufactured for home temperature control. In a recent
test, 10 thermostats manufactured by ThermoRite were selected and placed in a test room
that was maintained at a temperature of 68oF. The temperature readings of the ten
thermostats are shown below.
•We will use the 10 readings below to develop a 95% confidence interval estimate of
the population variance.
Temperature 67.4 67.8 68.2 69.3 69.5 67.0 68.1 68.6 67.9 67.2
Interval Estimation of 2
Selected Values from the Chi-Square Distribution Table
(n – 1)s2 (n – 1)s2
≤𝜎≤ 9 ∗ .7/19.023 ≤ 𝜎 ≤ 6.3/2,7 0.58≤ 𝜎 ≤ 1.53
χ 2αΤ2 χ 2(1−αΤ2)
Hypothesis Testing of 2 – Example
Buyer’s Digest rates thermostats manufactured for home temperature control. In a recent
test, 10 thermostats manufactured by ThermoRite were selected and placed in a test room
that was maintained at a temperature of 68oF. The temperature readings of the ten
thermostats are shown below.
•Buyer’s Digest gives an “acceptable” rating to a thermostat with a temperature variance of
0.5 or less.
•We will conduct a hypothesis test (with = .10) to determine whether the
ThermoRite thermostat’s temperature variance is “acceptable”.
Thermostat 1 2 3 4 5 6 7 8 9 10
Temperature 67.4 67.8 68.2 69.3 69.5 67.0 68.1 68.6 67.9 67.2
Solution: The p-value approach
F S 1
2
S 2
dfnumerator n 1
1 1
F .025,9 ,11
1 2 3 4 5 6 7 8 9
1 647.79 799.48 864.15 899.60 921.83 937.11 948.20 956.64 963.28
2 38.51 39.00 39.17 39.25 39.30 39.33 39.36 39.37 39.39
3 17.44 16.04 15.44 15.10 14.88 14.73 14.62 14.54 14.47
4 12.22 10.65 9.98 9.60 9.36 9.20 9.07 8.98 8.90
Denominator 5 10.01 8.43 7.76 7.39 7.15 6.98 6.85 6.76 6.68
Degrees of Freedom 6 8.81 7.26 6.60 6.23 5.99 5.82 5.70 5.60 5.52
7 8.07 6.54 5.89 5.52 5.29 5.12 4.99 4.90 4.82
8 7.57 6.06 5.42 5.05 4.82 4.65 4.53 4.43 4.36
9 7.21 5.71 5.08 4.72 4.48 4.32 4.20 4.10 4.03
10 6.94 5.46 4.83 4.47 4.24 4.07 3.95 3.85 3.78
11 6.72 5.26 4.63 4.28 4.04 3.88 3.76 3.66 3.59
12 6.55 5.10 4.47 4.12 3.89 3.73 3.61 3.51 3.44
Hypothesis Test for Equality of Two Population Variances:
Sheet Metal Example (Part 1)
Ho: 1 2
2 2 0.05
F 359
.
n 10
.025,9,11
Ha: 1 2
1
2 2
n 12
2
F.975,11,9 =
1
2
F .025,9,11
F
S 1
1
2
S 2
359
.
0.28
dfnumerator n 1
1 1 If F < 0.28 or F > 3.59, reject Ho.
dfdeno min ator n 1
2 2 If 0.28 F 359
. , do reject Ho.
Sheet Metal Example (Part 2)
Rejection Regions
F .975,11,9
0.28 F .025,9 ,11
359
.
Critical Values
Slide 10-38
Sheet Metal Example :
Machine 1 Machine 2
22.3 21.8 22.2 22.0 22.2 22.0
21.8 21.9 21.6 22.1 22.0 22.1
22.3 22.4 21.8 21.7 21.9
21.6 22.5 21.9 21.9 22.1
n 10
1
F
S
2
1
01138
.
5.63
n 2
12
2
S 01138 0.0202
2 0.0202 2
1
. S 2 S 2
19-09-2019
Problem on Single Variance: