12.07.2015 Views

chapter 1

chapter 1

chapter 1

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 14: The Analysis of Categorical Data3. Using the number 1 for business, 2 for engineering, 3 for social science, and 4 for agriculture,let pi= the true proportion of all clients from discipline i. If the Statistics department’sexpectations are correct, then the relevant null hypothesis isH op = .40, p = .30, p = .20, p .10, versus H : The Statistics department’s:1 234=expectations are not correct. With d.f = k – 1 = 4 – 1 = 3, we reject H o if2 2χ ≥ χ = 7.815 . Using the proportions in H o , the expected number of clients are :.05,3aClient’s Discipline Expected NumberBusiness (120)(.40) = 48Engineering (120)(.30) = 36Social Science (120)(.20) = 24Agriculture (120)(.10) = 12Since all the expected counts are at least 5, the chi-squared test can be used. The value of thetest statistic is2χ=k∑2( n − np ) ( observed − exp ected)inp=∑i= 1 i allcells222( 52 − 48) ( 38 − 36) ( 21 − 24) ( 9 −12)iexp ected2⎡⎤⎢ + + + ⎥ = 1.57⎣ 48 36 24 12 ⎦≥ 7.815 , so we fail to reject H o . (Alternatively, p-value = ( χ 2 ≥1.57)= , which is notP which is > .10,and since the p-value is not < .05, we reject H o ). Thus we have no evidence to suggest thatthe statistics department’s expectations are incorrect.214. The uniform hypothesis implies that p = . 125 for I = 1, …, 8, soi0 =8H o: p10 = p20= ... = p80= .125 will be rejected in favor ofaχ2≥ χ2.10,7= 12.0172( 12 −15) ( 10 −15)H if. Each expected count is np i0 = 120(.125) = 15, so2⎡⎤2χ = ⎢ + ... + ⎥ = 4.80 . Because 4.80 is not ≥ 12. 017⎣ 1515 ⎦reject H o . There is not enough evidence to disprove the claim., we fail to440

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!