6. Hypothesis Testing Flashcards

1
Q

What IS hypothesis testing?

A

Asks how unusual it is to get data that differes from the null hypothesis.

If the data would be quite unlikely under H0, we reject H0.

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

Null Distribution

A

Distribution of answers we would get if the null hypothesis were true

Assumes that all samples would be random samples, thus with sampling error

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

How is a Null Distribution used to reject null hyp

A

If real answer from sample falls in a very unlikely area of the null distribution, evidence that the null hypothesis isn’t true

Doesn’t necessarily PROVE that null hypothesis isn’t true

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

Hypotheses usually assume…

A

Samples are random samples

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

Null Hypothesis

A

A specific statement about a population parameter made for the purposes of argument

*Don’t necessarily think its true
*Very specific

ex. No difference between mean offspring of two populations - SPECIFIC, means difference is 0

Could also be specific number, not 0

Usually simplest statement

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

Alternate Hypothesis

A

Represents all other possible parameter values except those stated in the null hypothesis

Non-specific

Usually the statement of greatest interest

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

Are scientific hypotheses and alternate hypotheses the same?

A

NO scientific is what you think is true, alternate hypothesis is anything other than the null hypothesis

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

Test Statistic

A

A number calculated to represent the match between a set of data and the null hypothesis

cam be compared to a general distribution to infer probability

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

P-value

A

The probability of getting the data OR something as or more unusual, if the null hypothesis were true.

  • The measure of uncertainty associated with null hypothesis testing
  • Given test statistic, what is the probability of getting test statistic OR any value less likely than it one BOTH tails of the distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Ways of calculating P-value

A

Simulation (computer)

Parametric tests

Permutation - test that lets us ask if two variables are independent of each other, take the data itself randomize association between two variables

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

Statistical significance

A

a probability used as a criterion for rejecting the null hyp.

If P-value is less than or equal to alpha (sideways breast cancer symbol) then the null hypothesis is rejected

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

Significance level

A

the acceptable probability of rejecting a true null hypothesis

called alpha

for most purposes alpha = 0.05 is acceptable, alpha is somewhat arbitrary

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

Type 1 error def.

A

Rejecting a true null hypothesis

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

type 1 error probability

A

alpha (significance level)

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

type 2 error definition

A

NOT rejecting a false null hypothesis

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

type 2 error probability

A

Beta

A test has more POWER the smaller beta is

16
Q

How to calculate beta

A

POWER = 1 - beta

17
Q

Power definition

A

The ability of a test to reject a false null hypothesis

18
Q

Power equation

A

Power = 1- beta

19
Q

Statement about how power changes

A

Power increases with more information (i.e. with larger sample size)

20
Q

Two-tailed tests

A

A deviation in either direction from proportion expected from null hypothesis would reject the null hypothesis

Each tail is rep. by alpha/2

21
Q

One tailed test

A

Used when one tail is nonsensical

ex. comparing grades on multiple choice to those expected by random guessing

22
Q

Critical value

A

the value of a test statistic beyond which the null hypothesis can be rejected

23
Q

Can you accept a null hypothesis?

24
When is "statistically significant" used
When P < alpha, therefore can reject the null hypothesis
25
Relationship between P values and confidence intervals
If a hypothesis test rejects a null hypothesis (P < 0.05), the value proposed by the null hypothesis is outside of the 95% confidence interval
26
Example of Important and insignificant
Study shows a small effect, leading to a larger study that finds significance OR large study finding that a drug thought to be beneficial showed no effect
27
unimportant and signficant
things you don't care about OR already know
28
insignificant and unimportant
studies with small sample size and high p value OR things you don't care about
29
Does correlation imply causation
NUH UH
30
Confounding variable
An unmeasured variable that may be the cause of both X and Y
31
Significance of confounding variables in observation vs. experimentation
In experimentation, confounding variables are the same (on average) for all treatment groups
32
perfect match under null hypothesis
n * p0 Number of tests in sample * proportion expected by null hypothesis