Docsity

Understanding Hypothesis Testing: The Alternative Hypothesis and Type I & II Errors - Prof, Study notes of Economics

Partial preview of the text

Download Understanding Hypothesis Testing: The Alternative Hypothesis and Type I & II Errors - Prof and more Study notes Economics in PDF only on Docsity!

Chapter 9

Hypothesis Testing

Testing vs. Estimation

Š^

Confidence Intervals are used to estimate anunknown population parameter using sampledata.

Š^

A Hypothesis test is used when theorysuggests a particular value for an unknownpopulation parameter. The question thenbecomes whether the sample data isconsistent with the theory or not.

The Rhine Deck and ESP

Š^

The population parameter you areinvestigating is the proportion of correctanswers in an infinitely long sequence ofguesses.

Š^

The sample statistic is the sample proportionof correct answers in a fixed number ofguesses

The Theory

Š^

There is one obvious theory here: Nothing is goingon and the person is just guessing. By guessing theperson should get 20% correct. This is the value ofthe population parameter we wish to test.

Š^

Given sample data, such as 25 correct in 100 trials,the question becomes: Is this sample evidenceenough to disprove the theory that the person is justguessing?

The Alternative Hypothesis

Š^

The alternative hypothesis comesin three flavors^ „^

Less than „ Not equal to (two-sided) „ Greater than Š^

H-sub-A signifies the alternativehypothesis Š^

Which flavor is a matter ofjudgment: What do you expect tobe true if the null is false?

0 0 0

A A A

H

p

p

H

p

p

H

p

p

ESP and the Alternative

Hypothesis

Š^

If you believe that ESP (if itexists) will manifest itself in theperson getting more than 20%correct, you’d do a greater thantest.

Š^

This leaves the possibility p < .20hanging, so generally it is tossedinto the null hypothesis.

: 0 0

. :^

.

:^

. :^

.

A A H

p H

p H

p H

= p

≤ >

Isn’t this nitpicking?

Š^

Confusing sample statistics and populationparameters leads to complete nonsense. Š^

The statement is a perfect example.^ „^

Before the sample is drawn, a sample statistic isa random variable, and therefore can’t be equalto a constant. „ After the sample is drawn, the sample mean isjust a number. No fancy statistical theory isrequired to compare two known numbers.

: 0

10

H^

X^

=

Another Hypothesis Test

Mendel’s Carnations

Š^

One of Mendel’sexperiments involvedcrossing pink carnations. Š^

These pink carnationsproduce red, white, andpink offspring. Š^

Mendel believed each pinkcarnation had one red geneand one white gene, andthat the pink offspring gotone of each.

WW

WR

W

RW

RR

R

W

R

Gene taken from the otherparent Gene taken from one parent

The Alternative Hypothesis

Š^

Suppose we test a hypothesis aboutthe proportion of pink carnations.Our null is that the proportion isone half. Š^

If the null is false, do we expect pbigger than .5, smaller than .5, orcould either be plausible? Š^

Both are plausible, so a NotEquals, or two-sided test, isappropriate.

0

:^

.

:^

.

A H

p

H

p

=^ ≠

A Less-than test

Š^

Advertising claims are sometimes takenas the basis for a null hypothesis. Š^

Suppose Duracell says their batterieswill power a flashlight for at least 4hours. Š^

If we wish to test this claim by testing arandom sample of their batteries, thesewould be the null and alternativehypotheses. (Mu is pop mean lifetime)

: 0

4

:^

4

A

H H

μ^ μ

≥ <

Selecting the alternative

hypothesis

Š^

A question such as “Does the statisticalevidence suggest Duracell’s advertised claimis incorrect, and their batteries are in fact

less

durable?” is signaling a less-than test.

Š^

In real-world applications, deciding on thealternative is sometimes difficult; ambiguouscases ought to be treated as two-sided.

Picking the alternative: aproblem even in fiction

Š^

In the movie “Man on a Swing” CliffRobertson plays a small town sheriff.

Š^

A woman is brutally murdered, and hehas no suspects.

Š^

Joel Grey appears, says he is psychic,and offers to help; he then describesdetails of the crime scene only a truepsychic or the true killer would know.

We discover Joel Grey is

creepy.

Š^

Grey knows he is the prime suspect, and enjoys it.Grey’s smug satisfaction suggests he is gettingaway with murder. Robertson desperately wants tonail Grey for the killing, but lacks evidence.

Š^

Voila! In comes a statistics professor, who arriveswith a Rhine deck to test Grey. Cliff Robertson,who arranged the test, paces nervously outside thedoor, fingering his handcuffs.

The professor emerges...

Š^

“I have good news and bad news,” he says.

Š^

“Give me the good news,” Robertson replies.

Š^

“He didn’t do as well as the law of odds,”says the professor. [Robertson pulls out hishandcuffs.] “The bad news is.. .”

Š^

“he did much worse than can be explained bychance.. .”