Variance Lecture
Variance Lecture
1-1
10-7
5/29/09
10-8
10-9
NOTE
If there are k populations sampled, then
the df (numerator) = k-1
If there are n sample points, df (denominator) =
n-k
The test statistic is : F=[(SST)/(k-1)]/[(SSE)/(n-k)].
SST is the treatment sum of squares.
SSE is the error sum of squares.
TC is the column totals.
nc is the number of observations in each column.
X is the sum of the observations.
5/29/09
10-10
Formulas
10-11
EXAMPLE 1
Rosenbaum Restaurants specialize in meals for
senior citizens and families. Katy Polsby,
President, recently developed a new meat loaf
dinner. Before making it a part of the regular menu
she decides to test it in several of her restaurants.
She would like to know if there is a difference in the
mean number of dinners sold per day at the
Sylvania, Perrysburg, and Point Place restaurants
for sample of five days. At the .05 significance level
can Katy conclude that there is a difference in the
mean number of meat loaf dinners sold per day at
the three restaurants?
5/29/09
10-12
EXAMPLE 1
continued
EXAMPLE 1
continued
10-13
Step 1:
Not all the means
are the same
Step 2: The significance level is .05.
Step 3: H0 is rejected if F>4.10
Step 4: From the table Katy determines SST=76.25,
SSE=9.75, and the test statistic: F=[76.25/2]/
[9.75/10]=39.10
Step 5: H0 is rejected. There is a difference in the mean
number of dinners sold
5/29/09
12-3
12-4
5/29/09
12-5
12-6
5/29/09
12-7
12-8
5/29/09
12-9
Correlation Matrix
A correlation matrix is used to show all possible
simple correlation coefficients between all
variables.
The matrix is useful for locating correlated
independent variables.
How strongly each independent variable is
correlated to the dependent variable is shown
in the matrix.
12-10
Global Test
The global test is used to investigate whether any
of the independent variables have significant
coefficients. The hypotheses are:
5/29/09
12-11
Global Test
continued
12-12
5/29/09
12-13
EXAMPLE 2
A market researcher for Super Dollar super markets
is studying the yearly amount families of four or
more spend on food. Three independent variables
are thought to be related to food expenditures.
Those variables are: total family income, size of
family, and whether the family has children in
college.
12-14
EXAMPLE 2
continued
10
5/29/09
12-15
EXAMPLE 2
continued
12-16
EXAMPLE 2
continued
11
5/29/09
12-17
EXAMPLE 2
continued
12-18
EXAMPLE 2
continued
12
5/29/09
12-19
12-20
Analysis of Residuals
A residual is the difference between the actual value
of Y and the predicted value Y.
Residuals should be approximately normally
distributed. Histograms and stem-and-leaf charts
are useful in checking this requirement.
A plot of the residuals and their corresponding Y
values is used for showing that there are no trends
or patterns in the residuals.
13
5/29/09
12-21
Residual Plot
Residuals
1000
500
0
-500
4500
6000
7500
12-22
Frequency
Histograms of Residuals
8
7
6
5
4
3
2
1
0
-600
-200
200
600
1000
Residuals
14