Exam 2 Terms Flashcards

1
Q

What does a hypothesis test do?

A

A hypothesis test uses data from a sample to assess a claim about a population.

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

When do we not need a hypothesis test?

A

If we have data for the entire population.

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

Describe the null hypothesis.

A
  • Contains an equality ( = )
  • is in terms of parameters, not statistics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the alternative hypothesis.

A
  • sign can be not equal to, > , or <
  • in terms of parameters, not statistics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does it mean in the null hypothesis if rho = 0?

A

It means there is no correlation

rho represents a population correlation

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

What is the p-value?

A

The probability of obtaining results (in direction of the alternative hypothesis) as extreme as, or more extreme than, those observed if H0 is true.

If our p-value is small enough, then we have convincing evidence against H0 in favor of Ha.

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

p-value < alpha

A

reject the H0, results are statistically significant

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

p-value > alpha

A

fail to reject the H0, results are not statistically significant

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

Is failing to reject the null hypothesis the same as accepting it?

A

no, we never say we “accept” H0

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

What are the steps of testing a hypothesis?

A
  1. State H0 and Ha
  2. calculate sample statistics
  3. calculate the test statistic
  4. acquire p-value
  5. make a decision about H0 and Ha based on alpha
  6. write conclusion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does t-distribution shape depend on?

A

sample size where degrees of freedom = n-1

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

What is the formula for test statistic?

A

t = x bar - mu / (s/sqrt n)

sample mean minus hypothesized population mean divided by the sample standard deviation over the square root of the sample size

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

What is standard error?

A

s/ sqrt n

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

How do we determine what “tails” to use when calculating p-value?

A

Equal tails in Ha does not equal whatever you’re testing (must multiply p-value by 2)

right tail if Ha > than what you’re testing

left tail if Ha < than what you’re testing

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

What assumptions must be met to use a t-test?

A

Sample size must be greater than or equal to 30

Data should be bell shaped with no extreme outliers

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

What p-value provides greater evidence against H0?

A

the smaller p-value

ex p = 0.0031 provides stronger evidence against H0 than p = 0.0032

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

What is alpha?

A

the significance level or probability of making a Type I error

can be assumed to be 95% (0.05) if not stated

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

If the sample mean is less than the hypothesized mean, will the t test statistic be negative or positive?

A

negative

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

If the sample mean is greater than the hypothesized mean, will the t test statistic be negative or positive?

A

positive

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

What happens to the test statistic as the difference between the sample mean and the hypothesized mean increases?

What happens to the p-value in this scenario?

A

Test statistic gets farther away from 0

The p-value gets smaller

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

What happens to the p-value if the test statistic is close to 0?

A

It gets larger

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

What happens if the sample mean equals the hypothesis mean in a t test?

A

the test statistic would be 0, and p = 1, so there is no evidence to reject the null

23
Q

What is multiple testing?

A

Suppose H0 is true.

When multiple studies are conducted, alpha (ex. 5%) of all p-values will be statistically significant just by random chance.

example:
Given we took 20 samples and computed 20 p-values, how many p-values would we expect to be significant, even though H0 is actually true given alpha = 0.05?

20 * 0.05 = 1

5% of people (1 out of the 20) would incorrectly reject the null.

24
Q

What makes multiple testing worse?

A

Publication bias

Often, only significant results are published. If many tests are conducted, some of them will be statistically significant just by chance, and we may only hear about those significant studies.

25
Q

What are the parts of a confidence interval?

A

CI ( __ , __)

x bar plus or minus t* x s/sqrt n

x bar is the point estimate or best estimate
t* x s/sqrt n is the margin of error

26
Q

What is 1 - alpha?

A

The confidence interval

ex. is alpha is 0.05, the CI is 95%

27
Q

What should t* be close to usually?

A

2

28
Q

How do we interpret confidence intervals?

A

Essentially means that we are ___ % confident that the population mean (or parameter) for whatever we are testing is between ( __ , __ )

100% sure that the sample mean is in that range since it was used to calculate CI

Ex. We are 95% confident that the population mean pH for all Florida lakes is between 6.236 and 6.946.

29
Q

What is the point estimate?

A

The statistic that serves as the best estimate for the parameter.

X bar or the mean of the sample

30
Q

What is the margin of error?

A

Half of the width of a confidence interval; equal to t* times the standard error.

t* x s/sqrt n

31
Q

Given a CI, how do we find the point estimate or the margin of error?

A

To find point estimate, find the average of the confidence interval. (i.e. add the two values in the parentheses and divide by 2)

To find ME, subtract the two values in the CI and divide by 2

32
Q

What happens to t* as CI increases

A

t* increases

33
Q

Which is wider, a 99% CI or a 95% CI?

A

99%

34
Q

How do we solve for sample size for a mean?

A

n = ((t* or z*)(s)/ME)^2

ALWAYS ROUND UP FOR SAMPLE SIZE

35
Q

How can we reject or fail to reject a null hypothesis based on the CI?

A

If the value indicated within the null hypothesis falls within the confidence interval, we fail to reject it. Reject the null only if it is not within the CI.

36
Q

What is z* for a 95% CI?

A

1.96

37
Q

What is z* for a 90% CI?

A

1.645

38
Q

What is z* for a 99% CI?

A

2.576

39
Q

What happens to n as the variability decreases?

A

n decreases (s gets smaller, so numerator gets smaller)

40
Q

What happens to n as ME decreases?

A

n increases (ME is in denominator, smaller ME means larger n)

41
Q

How do we write hypotheses for a two samples?

A

mu of one group = mu of other group

42
Q

How do we calculate a two sample t test?

A

t = (xbar 1 -xbar 2)/ sqrt (s1^2/n1 + s2^2/n2)

43
Q

For a two sample t test, how do we find degrees of freedom?

A

df = n - 1 for the smaller n

44
Q

Compare t-test statistic to t*

A

We use t-test statistic to calculate p-value

We use t* to calculate CI

45
Q

How do we calculate CI for two means?

A

(x1 - x2) plus or minus t* x sqrt (s1^2/n1 + s2^2/n2)

46
Q

How do we interpret CI for two means?

A

We are __ % confident that the difference in population means is between ( __, __ )

47
Q

How can we reject the null based on a CI for a two sample test?

A

If 0 falls within the CI, fail to reject the null

can reject null is 0 is not within CI

48
Q

What are independent samples?

A

From a randomized comparative experiment. Each case is randomly assigned to only one of the treatment conditions.

Cases in each group are unrelated to one another

49
Q

What are paired samples?

A

From a matched pair experiment. Each case is measured under BOTH treatment conditions.

Cases in each group are meaningfully matched with one another; also known as dependent samples or matched pairs

50
Q

How do we write hypotheses tests for a case of differences?

A

mu will always equal 0

51
Q

How do we calculate t test statistic for a sample of differences?

A

the same as for a one sample t test, but use the mean of the differences and the stdev of a difference

52
Q

What is a sampling distribution?

A

The distribution for a statistic. It shows how a statistic varies from sample to sample.

53
Q

How can we describe standard error in terms of sampling distribution?

A

The standard error is the standard deviation of the sampling distribution.