1 conceptsdescriptionhypothesis theorylawsmodel organizesurprise validate formalize the scientific...

23
1 Concepts Descripti on Hypothesi s Theory Laws Model organi ze surpri se valida te formaliz e The Scientific Method

Upload: myrtle-hill

Post on 04-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

1

Concepts Description Hypothesis

Theory Laws Model

organize surprise

validateformalize

The Scientific Method

Page 2: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

2

Hypothesis Testing

• Population parameter = hypothesized?

• One sample mean = another sample mean?

• Null hypothesis

Page 3: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

3

Hypothesis Testing

• One-sample tests

– One-sample tests for the mean

– One-sample tests for proportions

• Two-sample tests

– Two-sample tests for the mean

Page 4: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

4

Hypothesis Testing

• Confidence interval

Interval

• Hypothesis testing

Particular, predetermined value

Page 5: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

5

Hypothesis Testing

• Hypothesis testing

Null hypothesis

• Purpose

Test the viability

• Null hypothesis

Population parameter

Reverse of what the experimenter believes

Page 6: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

6

Hypothesis Testing

1. State the null hypothesis, H0

2. State the alternative hypothesis, HA

3. Choose a, our significance level

4. Select a statistical test, and find the observed test

statistic

5. Find the critical value of the test statistic

6. Compare the observed test statistic with the critical

value, and decide to accept or reject H0

Page 7: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

7

Hypothesis Testing – Step 1

1. State the null hypothesis (H0)

– H0: μ = μ0

– H0: μ - μ0 = 0

Page 8: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

8

Hypothesis Testing – Step 2

2. State the alternative hypothesis

– HA: μ # μ0 two-sided (two-tailed)

or

– HA : μ > μ0

– HA : μ < μ0

one-sided (one-tailed)

upper-tailed

lower-tailed

Page 9: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

9

Hypothesis Testing – Step 3

3. Choose α, our significance level

– It really depends on what we are testing

– α = 0.05

– α = 0.01

– Type I error

Page 10: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

10

Hypothesis Testing - Errors

• Type I Error - α error, occurs when we reject

the null hypothesis when we should accept it

• Type II Error - β error, occurs when we

accept the null hypothesis when we should

reject it

Page 11: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

11

Hypothesis Testing - Errors

H0 is true H0 is false

Accept H0 Correct decision Type II Error (β)

(1-α)

Reject H0 Type I Error (α) Correct decision

(1-β)

Page 12: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

12

Hypothesis Testing – Step 4

4. Select a statistical test, and find the test statistic

Test statistic = - 0

Std. error

n

xz

/

ns

xz

/

Page 13: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

13

Hypothesis Testing – Step 4

4. Select a statistical test, and find the test statistic

Test statistic = - 0

Std. error

n

xt

/

ns

xt

/

Page 14: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

14

Hypothesis Testing – Step 5

5. Find the critical value of the test statistic

– Standard normal table

– Student’s t distribution table

– Two-sided vs. one-sided

Page 15: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

15

Two-sided tests Zα/2

Page 16: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

16

One-sided tests Zα

Page 17: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

17

Hypothesis Testing – Step 6

6. Compare the observed test statistic with the critical value

| Ztest | > | Zcrit | HA

| Ztest | | Zcrit | H0

Zcrit-Zcrit H0

HA HA

Page 18: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

18

| Ztest | > | 1.96 | HA

| Ztest | | 1.96 | H0

1.96-1.96 H0

HA HA

Hypothesis Testing – Step 6

6. Compare the observed test statistic with the critical value

Page 19: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

19

Hypothesis Testing – Step 6

Ztest > Zcrit HA

Ztest Zcrit H0

ZcritH0

HA

6. Compare the observed test statistic with the critical value

Page 20: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

20

Hypothesis Testing – Step 6

Ztest > 1.645 HA

Ztest 1.645 H0

1.645H0

HA

6. Compare the observed test statistic with the critical value

Page 21: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

21

p-value

• p-value is the probability of getting a value of the test

statistic as extreme as or more extreme than that observed

by chance alone, if the null hypothesis H0, is true.

• It is the probability of wrongly rejecting the null

hypothesis if it is in fact true

• It is equal to the significance level of the test for which

we would only just reject the null hypothesis

Page 22: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

22

p-value

• p-value vs. significance level

• Small p-values the null hypothesis is unlikely to be

true

• The smaller it is, the more convincing is the rejection of

the null hypothesis

Page 23: 1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method

23

One-Sample z-Tests