Professional Documents
Culture Documents
Small Large
sample sample
Example:
A sample of 12 jars of peanut butter was taken from a lot, each jar being labeled “
8 ounces net weight.” The individual weights in ounces are: 8.2, 8.0, 7.6, 7.7, 7.5, 7.3,
7.4, 7.5, 8.0, 7.4, 7.5. Test whether these values are consistent with a population mean of
8. Assume that the weights are normally distributed. Use SPSS software and interpret the
results.
Results:
T-Test
One-Sample Statistics
One-Sample Test
A manufacturer claims that his light bulbs have an average lifetime of 1500 hours.
A purchaser decides to check this claim and finds that for six bulbs the lifetimes are 1472,
1486, 1401, 1350, 1610, 1590 hours. Does this evidence support the manufacturer’s
claim? Assume that the lifetime of the light bulbs are normally distributed.
Results
T-Test
One-Sample Statistics
One-Sample Test
Example:
Two independent groups, each of 10 children, were tested in General Knowledge.
Their scores were as follows:
Group A: 7, 7,6,7,9,6,8,6,6,10
Group B: 6,6,4,7,8,6,6,5,6,8
Group Statistics
95% Confidence
Mean Std. Error Interval of the
F Sig. t df Sig. (2-tailed)
Difference Difference Difference
Lower Upper
Equal
variances .305 .587 1.698 18 .107 1.000 0.589 -.237 2.237
assumed
cases Equal
variances
not
1.698 18 .107 1.000 0.589 -2.37 2.237
assumed
Matched or Paired Groups
The weights of 4 persons before they stopped smoking and 5 weeks after they
stopped smoking are as follows:
Person 1 2 3 4
Use the t-test for paired observations to test the hypothesis that giving up smoking has no
effect on a person’s weight.
T-Test
N Correlation Sig.
Paired Differences
Std. Std. Error sig (2-
Mean Deviation Mean t df tailed)
Pair after weight - before 2.250 3.862 1.931 1.165 3 .328
1 weight
More than two samples
Example:
Two following are three consecutive weeks’ earnings of three salesmen employed
by a given firm:
Salesmen
A B C
One-way
ANOVA
salesmen
Total 5152.000 8
Post Hoc Tests
Multiple Comparisons
salesmen
LSD
The two way classification is a mere extension of the one-way ANOVA. You will
have two factors for which the population means will have to be compared.
Example:
A supermarket that has a chain of stores is concerned about its service quality
reputation perceived by its customers. The table below shows the perceived services
quality with regard to politeness of the staff. The number in each cell of the table is the
percentage of people who have said that the staff is polite. Perform the two-way ANOVA
and draw your inference about the population means of politeness corresponding to the
days, as well as, the stores.
Day/ Store A B C D E
Monday 79 81 74 77 66
Tuesday 78 86 89 97 86
Wednesday 81 87 84 94 82
Thursday 80 83 81 88 83
Friday 70 74 77 89 68
Results:
Type II Sum of
Source Squares df Mean Square F Sig.
a. MS(Error)
Post Hoc Tests
day
Multiple Comparisons
percentage of people
LSD
store
Multiple Comparisons
percentage of people
LSD
Example:
A certain company had four salesmen A,B,C and D each of whom was sent for a
week into three types of area, country area K, outskirts of a city O and shopping centre of
a city S. The sales in pounds per week are shown below:
Salesmen
District
A B C D
K
30 70 30 30
O
80 50 40 70
S
100 60 80 80
Carry out analyses of variance and interpret the results stating the assumptions under
which your results are valid.
Results:
Two-way ANOVA
Dependent Variable:sales
Type II Sum of
Source Squares df Mean Square F Sig.
a. MS(Error)