Lecture 8 Flashcards

Hypothesis Testing with Two/More Samples

1
Q

What are the two types of continuous outcomes?

A

independent and matched

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

Why are confidence intervals the preffered method of making a conclusion about a population?

A
  • shows the precison of the estimates
  • can be applied clinically to the whole population
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an independent variable?

A

categorical variable with two levels that are independent (exposure variable)

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

What is dependent variable?

A

an interval or ratio in which a mean can be calculated (outcome variable)

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

What are the requirements of an independent sample t-test?

A
  • 2 independent samples
  • normally distributed (n >= 30)
  • both variances are equal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which equation is used for which variacne scenariio?

A

equal variance- pooled variance formula
unequal variance- separate variance formula

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

What is the test statistic value equation if variances are unequal?

A

z or t = x-bar 1 - x-bar 2 / root (sd1^2/n1 + sd2^2/n2)

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

What must be done to the p-value in a two tailed test?

A

multiply by 2

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

Which value is used to determine the p-value?

A

the TEST STATISTIC calculated is applied to the z-table to determine the p-value

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

What must be done to the p-value if the test statistic is < critical value?

A

be subtracted from 1 (the z-table only gives values to the left of the distribution, not the right- if the critical value is on the right side, positive)

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

Based on p-values, when is the null rejected?

A

when p-value < 0.05

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

If the null (0) IS included in the CI, is H0 rejected?

A

No, we fail to reject the null

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

When variances are equal, what is the test statistic equation?

A

z or t = x-bar 1 - x-bar 2 / Sp root(1/n1 + 1/n2)

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

What is Sp?

A

the pooled standard deviation

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

If the test statistic calculated is too large for the table to accomadate which value is used?

A

the highest possible value is used for the p-value

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

When comparing variation in two samples, what is their margin of error?

A

z a/2Sp root *1/n1+1/n2)

17
Q

What is the SD equation for matched samples?

A

root[ (sum of difference^2 - (sum of differences)^2 / n] / n-1

17
Q

What is the focus of matched t-tests?

A

the difference in means

18
Q

What is the t value equation for matched samples?

A

X-bar d - mew d / sd/root n

19
Q

Why can mew d in the t value equation be zero?

A

there is no population since samples are being compared to each other

20
Q

In a t-test when is the null rejected?

A

if the t-statistic falls IN the rejection region determined by df and alpha)

21
Q

How is the p-value determined in t-tests?

A

the t-statisitic is lined up where it would hypothetically fall in the table and a range or </> of alpha values is determined

22
Q

What is the test statistic equation for proportions?

A

z = p-hat 1-p-hat 2 / root (p-bar(1-phat)(1/n1+1/n2)

23
Q

What is the p-bar equation?

A

x1 + x2 / n1 + n2

24
Q

What is the purpose of the test of independence?

A

testing that there is NO association between the two variables?

25
Q

What is the reuqirement of the expected frequency for a X^2 independence test to be ran?

A

E must be >= 5

26
Q

What is the test statistic equaiton for independence tests?

A

x^2 = sum of (O-E)^2 / E

27
Q

What is the equation for the E values?

A

E = row total * column total / grand total
- for each row/column combination

28
Q

What is the degree of freedom for an independence test?

A

df = # rows - 1 * # columns - 1

29
Q

When is the null rejected?

A

since the critical value table is x>X, if the test statistic is GREATER than the critical value, the null is rejected