Anda di halaman 1dari 33

Inferences abo

aboutt differences
& what test to use
Session 6

Lena Silbermayr
The p
paired t-test

Statistics 158
Example: Comparing 2 brands of fuel

Statistics 159
Example
p Continued

Statistics 160
Example t-test

Statistics 161
Using
g MS Excel

Statistics 162
Interpretation
p of Results

Statistics 163
Comparing
p g two proportions
p p

Statistics 164
Sample
p proportions
p p

Statistics 165
Estimating
g the Standard Error

Statistics 166
Testing (normal distribution, 95% confidence)

Statistics 167
Example:
p Disease treatment

Statistics 168
Example:
p Calculate Proportions
p

Statistics 169
Example:
p Testing
g

Statistics 170
P-Value and Interpretation
p

Statistics 171
Comparing two means: two-sample t-test

Statistics 172
Example:
p Package
g Options
p

Statistics 173
Example:
p Test Statistic

Statistics 174
Example:
p Calculation

Statistics 175
Example:
p Interpretation
p

Statistics 176
Using
g MS Excel for Analysis
y

Statistics 177
MS Excel: t-Test for 2 samples, unequal variances

Statistics 178
Interpretation
p of results

Statistics 179
Small sample
p sizes

Test statistic is modified to match a t-distribution


(need df)

Statistics 180
Deciding
g what test to use

Statistics 181
Who will win the election?

Statistics 182
Example: Differences in test results

Statistics 183
Differences in test results

Statistics 184
Drug
g effectiveness

Statistics 185
Confidence interval

Statistics 186
Example: wire manufacturer
• A manufacturer of wire is interested in using a
wire made from a new material but wants
assurance that the new type has the same pitch
characteristic as the old type.
yp A random sample p off
17 wires of the new type and a random sample of
23 wires of the old type are taken. Pitch
measurements show that the mean for the new type
is 41.86 vibrations per second, and the mean for
the old type is 40.93.
40 93 Pitch measurements are
normally distributed with a standard deviation of 2
vibrations pper second.
• Is there a significant difference in pitch between
the two types of wire at a 5% level?

Statistics 187
Example: courier work
• The following table shows the numbers of
ppackages
g which are pprocessed byy 50 courier
trainees per hour.

505 400 499 415 418 467 551 444 481 429

480 466 477 445 413 537 484 418 465 496

487 373 416 424 471 427 509 410 515 435

482 442 465 449 523 488 508 432 405 440

409 501 440 444 485 475 470 485 469 450

Statistics 188
Example: courier work

• Experienced couriers process an average of 500


packages per hour. The manager wants to know if
his trainees process at least 90% of the
experienced workers, because there are no late
deliveries as longg as the mean is ggreater than 450.
• At a 5% significance level – can the manager
conclude from the data, that his trainees are
working hard enough for no late deliveries?

Statistics 189