our goal is to assess the evidence provided by the data in favor of some claim about the population....

16
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2 Tests of Significance

Upload: rahul-hays

Post on 01-Apr-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

Our goal is to assess the evidence provided by the data in favor of some claim about the population.

Section 6.2 Tests of Significance

Page 2: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

Stating Hypotheses

Hypotheses are statements about the parameter.

Ho is called the “Null Hypothesis”: It is the statement being tested. Usually a statement of “no effect” or “no difference.”Always includes equality.

Ha is called the “Alternative Hypothesis”:It is the statement we suspect or hope is true. It expresses the effect we hope to find evidence for.Never includes equality.May be one-sided ( “<” or “>” ) or two-sided ( “ ≠ ” )

Page 3: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

We use the sample data to draw a conclusion about the hypotheses. If the

sample data results are quite different from what the null hypothesis Ho claims, then we suspect that the difference is due to some

other effect than just random chance.

In this case, we reject Ho and say that the data are statistically significant. If we do not

reject the null hypothesis, we say that the data are not statistically significant.

Page 4: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

We use the test statistic (in this case a z-score) to calculate the probability that we could get a statistic as extreme or more extreme as the one we got from our sample data if Ho were true.

This probability is called the p-value of the test.

The smaller the p-value, the stronger the evidence against Ho provided by the data.

Page 5: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

There will be five steps in doing such a test:

1. State the hypotheses

2. Calculate the value of the test statistic

3. Calculate the p-value of the test

4. Make a decision about the null hypothesis (we will decide whether or not to reject Ho)

5. State a conclusion(the conclusion will address Ha)

Page 6: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

The One-Sample z Test for a Population MeanTo test the hypothesis Ho: µ = µo based on a SRS of size n from a population with unknown mean µ and

known standard deviation σ , compute the test statistic

In terms of a standard normal random variable Z, the P-value for a test of Ho against

Ha: µ > µo is P(Z ≥ z)

Ha: µ < µo is P(Z ≤ z)

Ha: µ ≠ µo is 2 * P(Z ≥ |z| )

n

xz

/0

Page 7: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

the P-value for a test of Ho against

Ha: µ > µo is P(Z ≥ z)

The shaded area to the right of z is the p-value of this “one-sided” test.

z

Page 8: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

the P-value for a test of Ho against

Ha: µ < µo is P(Z ≤ z)

The shaded area to the left of z is the p-value of this “one-sided” test.

z

Page 9: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

the P-value for a test of Ho against

Ha: µ ≠ µo is 2 * P(Z ≥ |z| )

The total shaded area in both ends is the p-value of this “two-sided” test.

– |z| |z|

Page 10: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

P-values are exact when the population is normally distributed. They are approximate when n is large (at least 30) in other cases.

Page 11: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

Decision: Ho is True Ho is False

Reject Ho Type I error Correct decision

Fail to Reject Ho

Correct decision

Type II error

If we reject Ho when Ho is in fact true, this is a Type I error. If we fail to reject Ho when in fact Ho is false, this is a Type II error.

The significance level, α, is the probability of making a Type I error – of rejecting Ho when Ho is really true.

α = P(rejecting Ho when it’s really true)

Page 12: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

We never “prove” that Ho is true – we only are unable to find enough evidence

to indicate that Ho should be rejected.

In our court system, a defendant is considered to be innocent until proven guilty

(beyond a reasonable doubt).

O.J. Simpson was not convicted. Does this prove that he is innocent?

No – it just means that the jury did not find enough evidence to convict him.

Page 13: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

Verdict:Defendant is Innocent

Defendant is Guilty

ConvictIncorrect verdict

Correct verdict

Fail to Convict

Correct verdict(although you have not actually “proved” that the defendant is innocent!)

Incorrect verdict(but you have not “proved” that the defendant is innocent – s/he is guilty, but there was not enough evidence to convict them.)

Page 14: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

We never can “prove” anything – we can only assess probabilities and make

decisions based on those probabilities.

Page 15: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

The p-value of the test gives us the smallest significance level α for which the sample data tell us to reject Ho; i.e., the smallest level at which

the data are statistically significant.

The advantage of knowing the p-value is that we know all levels of significance for which the observed sample statistic tells us to reject Ho.

Many research journals require authors to include the p-value of the observed sample

statistic. Then readers will have more information and will know the test conclusion for any pre-set

level of significance.

Page 16: Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance

p-value is ≤ α we say the data are statistically significant at level α, and we reject Ho in favor of Ha.

Our conclusion: there is sufficient evidence at the α level of significance to support Ha.

p-value is > α we say the data are not statistically significant at level α, and we fail to reject Ho in favor of Ha.

Our conclusion: there is not sufficient evidence at the α level of significance to support Ha.