Lecture 9- Two Sample Flashcards

1
Q

Paired vs. 2 Sample Comparisons

A

Paired– natural correspondence between individual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Comparing means–
what is it? how is it done?

A
  • tests with one categorical and one numerical variable
  • GOAL: to compare the mean of a numerical variable for different groups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Paired comparisons allow us to

A

account for a lot of extraneous variation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2-sample methods are ______ to collect data for

A

easier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Examples of Paired Designs

A
  • Before and after treatment
  • Upstream and downstream of a power plant
  • Identical Twins: one with a treatment and one without
  • Earwigs in each ear: how to get them out? Compare tweezers to hot oil
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Paired Designs

A
  • Data from two groups paired
  • Each member of pair shares much in comon with the other, except for tested categorical variable
  • There is a one-to-one correspondence between the individuals in the two groups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Paired Comparisons

A
  • We have many pairs
  • In each pair, there is one member that has one treatment and another who has another treatment
  • (“Treatment” can mean “group”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do we compare two groups in paired comparisons?

A

To compare two groups, we use the mean of the difference between the two members of each pair

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Paired t test

A
  • Compares the mean of the differences to a value given in the null hypothesis
  • For each pair, calculate the difference
  • The paired t-test is simply a one-sample t-test on the differences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Example of paired t-test?

A

Emergency Room Admissions (4/20)
- Counted emergency room admissions in Vancouver on April 20
- Compared to average admissions one week before and after
- Each data point is one year

Hypotheses:
H0 (null): ER admissions are the same on average on 4/20 as on control days
HA: (alternative): ER admissions are different on average on 4/20 compared to control days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Assumptions of paired t test

A
  • Pairs are chosen at random
  • The differences have a normal distribution
  • It does not assume that the individuals values are normally distributed, only the differences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Comparing the means of two groups

A

Hypothesis test: 2-sample t-test`

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Pooling variance

A

when you weigh the variances of both samples

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Two Sample T test

A

exact opposite of two sample one test

t= (Ybar_1 - Ybar_2)/SE_[Ybar_1-Ybar_2]

17
Q

Assumptions of 2-sample t-test

A
  • Both samples are random samples
  • Both populations have normal distributions
  • The variance of both populations is equal

Ybar ~ normal if sigma is known
(Ybar-M)/s rad sigma ~t is estimated