YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Chi-Square Goodness-of-Fit · PDF fileChi-Square Goodness-of-Fit Tests ... a chi-square goodness-of-fit test to help answer this ... Explain carefully why it would not be appropriate

Chi-Square Goodness-of-Fit Tests

f 7) Birds in the trees Researchers studied the behav orof birds that were searching for seeds and insects iin an Oregon forest. In this forest, 54% of the treeswere Douglas firs, 40% were ponderosa pines,and 6% were other types of trees. At a randomlyselected time during the day, the researchersobserved 156 red-breasted nuthatchesr70 wereseen in Douglas firs, 79 in ponderosa pines, and7 in other types of trees.2 Do these data suggest thatnuthatches prefer particular types of trees whenthey're searching for seeds and insects? Carry outa chi-square goodness-of-fit test to help answer thisquestion.

^Ct

m&<?.

Benford's law Faked numbers in tax returns, invoices,or expense account claims often display patterns thataren't present in legitimate records. Some patterns areobvious and easily avoided by a clever crook. Othersare more subtle. It is a striking fact that the firstdigits of numbers in legitimate records often followa modttHrrtowTT as &enfordVtaw-.3-CaU the-first digitof a randomly chosen record X for short. Benford'slaw gives this probability model for X (note that a firstdigit can't be 0):

(?) No chi-square A school's principal wants to know ,if students spend about the same amount of time ;on homework each night of the week. She asks arandom sample of 50 students to keep track of theirhomework time for a week. The following table

displays tha^average arnount_pf time (in minutes)^students reported per night:

Night: Sunday Monday Tuesday Wednesday Thursday Friday Saturday

Average 130 108 115 104 99 37 62time:

Explain carefully why it would not be appropriate toperform a chi-square goodness-of-fit test using thesedata.

Jc4 a

4.0 ere.

pg688

Mendel and the peas Gregor Mendel (1822-1884),an Austrian monk, is considered the father ofgenetics. Mendel studied the inheritance of varioustraits in pea plants. One such trait is whether thepea is smooth or wrinkled. Mendel predicted aratio of 3 smooth peas for every 1 wrinkled pea. Inone experiment, he observed 423 smooth and 133wrinkled peas. The data were produced in such away~"thatlKe~Randorn and Independent conditionsare met. Carry out a chi-square goodness-of-fittest based on Mendel's prediction. What do youconclude?

VA i0 I First digit (X): 1 2 3 4 5 6 7 8

° ' Probability: 0.301 0.176 0 .125 0.097 0.079 0.067 0 0 5 8 0 0 5 1 0046

A forensic accountant who is familiar with Benford'slaw inspects a random sample of250 invoices froma company that isaccused oFcommitting fraud. Thetable below displays the sample data.

1̂| First digit:

i Count:I

1

61

2

50

3

43

4

34

5

25

6

16

7 [

1 i

} 9

5 6 -

(a) Are these data inconsistent with Benford's law?Carry out an appropriate test at the a = 0.05 level tosupport your answer. If you find a significant result ,perform a follow-up analysis.

(b) Describe a Type 1 error and a Type II error inthis setting, and give a possible consequence of each.Which do you think is more serious?

11)

Page 2: Chi-Square Goodness-of-Fit · PDF fileChi-Square Goodness-of-Fit Tests ... a chi-square goodness-of-fit test to help answer this ... Explain carefully why it would not be appropriate

Mr*U

l3t<

Ui

PC.''.LLI/):

Qj

7-

ns

A"

nO

r o

•• "*j f~

•<•<-'

H

tf

c\

tJY3

>-

r-

0MJ,-,1

• \J

«J-7-

I-:vM

^j\-

j

\n

1 I1h

Nte•;j

r

:̂iIS

-.!i>./v

:

V•h-o

d

oIt-,3"

nt

0

i^4"V

cl

VuC

\A

ho^,

T̂',•3

~D

_'O

fX.

Page 3: Chi-Square Goodness-of-Fit · PDF fileChi-Square Goodness-of-Fit Tests ... a chi-square goodness-of-fit test to help answer this ... Explain carefully why it would not be appropriate

?*•#*=p^o (Qa/4^ OVN ft

_£l^

-Pt^ ?*-

•y *-_'J" t u 0:> Cr"

J

.g&3) =:

ie^s_

r-^'ve.^ nQ «-nd c$s\\i ^

Be/i

Page 4: Chi-Square Goodness-of-Fit · PDF fileChi-Square Goodness-of-Fit Tests ... a chi-square goodness-of-fit test to help answer this ... Explain carefully why it would not be appropriate

irxNt?

HH

'-H

5-0"X

i2

t

Cs(O•x•vs&-C

T\A

C.

CN

rr,

,̂C

i.

-1

ii

•j

otf]E^NAi

"famoniC

t?Pr

9«?* b9co.

- r

^^ -p

L-̂

^^

4>0~l

-Iy.

c:c

c4o^+rt>0o

o

i05

|3J

•-S-

oo

xiA

.SO

i

cryo

vJt/v

r>0 £

uiO

0r

Ci(\-0Jk

N

i&J

VSo

Nl

c>5-

gaOnooK

SOCP

Page 5: Chi-Square Goodness-of-Fit · PDF fileChi-Square Goodness-of-Fit Tests ... a chi-square goodness-of-fit test to help answer this ... Explain carefully why it would not be appropriate

-^freti' p0

4^ooua

^n < f / a r > ( Jflci ' '

/<•£_ ^ H_L joen 3 -i > r^1'^ t>o

> T l~fer

U!\x.C">uys

Q-0 3f -K'3--t > t(


Related Documents