Transcript 13.1
Some studies have shown that lean and obese
people spend their time differently. Obese
people spend fewer minutes per day standing
and walking than do lean people who are
similar in age, overall health, and occupation.
Is this difference biological or is it a response
to obesity (people become less active when
they gain weight?). A small pilot study looked
at this. The subjects were 7 mildly obese
people who were healthy and didn’t exercise.
The subjects volunteered to participate in a
weight-loss program for 8 weeks during which
they lost an average of 8 kgs (17.6 lbs). Before
and after weight loss, subjects wore monitors
that recorded their movement for 10 days. The
table shows the minutes per day spent
standing and walking. Carry out a hypothesis
test to find out if mildly obese people increase
the time they spend standing and walking
when they lose weight.
Subject Before After
1
293 264
2
330 335
3
353 387
4
354 307
5
400 387
6
454 358
7
552 549
13.1: Comparing 2 means
Comparing 2 populations or treatments: most
common statistical practice.
Types of 2-sample problems:
1) Randomized comparative experiment that
randomly divides subjects into 2 groups and
exposes each group to a different treatment
2) Comparing random samples separately
selected from 2 populations
We measure the same variable for both samples
Notation to describe the 2
populations
Population
Variables
Mean
Standard deviation
Sample size
Sample means
Sample standard deviations
The sampling distribution of
X1 X 2
The difference of sample means is an
unbiased estimator of the difference of
population means
The variance of the difference is the
sum of the variances of X 1 and X 2
If the two population distributions are
both normal, then the distribution of
the sample means is also normal.
2-sample z/t test statistic
Because X 1 X 2 has a normal
distribution, we can standardize it to
obtain a standard normal z statistic:
z
( X 1 X 2 ) ( 1 2 )
12
n1
22
n2
Because we don’t know 1 and 2 , we follow the pattern of the
one-sample case and use the sample std. dev.
t
( X 1 X 2 ) ( 1 2 )
s12 s22
n1 n2
Example
Does increasing the amount of calcium in our diet reduce blood
pressure? Examination of a large sample revealed a relationship
between calcium intake and blood pressure... The subjects in the
experiment were 21 healthy black men. A randomly chosen
group of 10 men received a calcium supplement for 12 weeks,
and the control group of 11 men took a placebo….the response
variable is the decrease in b.p. after 12 weeks; an increase
appears as a negative response.
Group 1 = calcium group
7 -4 18 17 -3 -5 1 10 11 -2
Group 2 = placebo group
-1 12 -1 -3 3 -5 5 2 -11 -1 -3
1)Is this good evidence that calcium decreases blood
pressure in the population more than a placebo does?
2) Find a 90% confidence interval for this prob.
In a study of heart surgery, one issue was the effect of drugs
called beta-blockers on the pulse rate of patients during
surgery. The available subjects were divided at random
into two groups of 30 patients each. One group received a
beta-blocker; the other group received a placebo. The
pulse rate of each patient at a critical point during the
operation was recorded. The treatment group had mean
65.2 and standard deviation 7.8. For the control group, the
mean was 70.3 and the standard deviation was 8.3.
1. Perform an appropriate significance test to see if betablockers reduce the pulse rate.
2. Give a 99% confidence interval for the difference in mean
pulse rates. Interpret the confidence interval you obtain.