chumho

I have a different set of expected values than Fig 8.20. Here's my results from chisq.test()

PPNH.Yes PPNH.No
ssri_exposed 5.745951 14.25405
ssri_unexposed 331.254049 821.74595

Are they correct?
Thanks,
Eric.

chumho

It is for "Introductory Statistics for the Life and Biomedical Sciences" First Edition

dharrington

Thanks, Eric. Your calculations for the expected values are correct. The correction has been made in the errata spreadsheet and will appear in the next edition.

Best,
Dave Harrington

Register to Add a Comment