13.1: comparing 2 means

10
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. Subje ct Befo re Afte r 1 293 264 2 330 335 3 353 387 4 354 307 5 400 387 6 454 358 7 552 549

Upload: hadassah-haynes

Post on 30-Dec-2015

39 views

Category:

Documents


4 download

DESCRIPTION

- PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 13.1: Comparing 2 means

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

Page 2: 13.1: Comparing 2 means

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 treatment2) Comparing random samples separately selected from 2 populations

Page 3: 13.1: Comparing 2 means

We measure the same variable for both samples

Page 4: 13.1: Comparing 2 means

Notation to describe the 2 populations

Population Variables Mean Standard deviationSample sizeSample meansSample standard deviations

Page 5: 13.1: Comparing 2 means

The sampling distribution of

The difference of sample means is an unbiased estimator of the difference of population meansThe variance of the difference is the sum of the variances of and If the two population distributions are both normal, then the distribution of the sample means is also normal.

1 2X X

1X 2X

Page 6: 13.1: Comparing 2 means

2-sample z/t test statisticBecause has a normal distribution, we can standardize it to obtain a standard normal z statistic:

1 2X X

1 2 1 2

2 21 2

1 2

( ) ( )X Xz

n n

Page 7: 13.1: Comparing 2 means

Because we don’t know and , we follow the pattern of the one-sample case and use the sample std. dev.

1 2 1 2

2 21 2

1 2

( ) ( )X Xt

s sn n

1 2

Page 8: 13.1: Comparing 2 means

ExampleDoes 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 group7 -4 18 17 -3 -5 1 10 11 -2Group 2 = placebo group-1 12 -1 -3 3 -5 5 2 -11 -1 -31)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.

Page 9: 13.1: Comparing 2 means
Page 10: 13.1: Comparing 2 means

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 beta-blockers reduce the pulse rate.  

2.Give a 99% confidence interval for the difference in mean pulse rates. Interpret the confidence interval you obtain.