Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo - Chp 16, Sec 1.3, simulation seems wrong #291

Closed
hardin47 opened this issue Aug 15, 2022 · 3 comments
Closed

Typo - Chp 16, Sec 1.3, simulation seems wrong #291

hardin47 opened this issue Aug 15, 2022 · 3 comments
Assignees
Labels
chp16 v2 2nd edition

Comments

@hardin47
Copy link
Collaborator

hardin47 commented Aug 15, 2022

  • Chapter number: 16

  • Section number: 1.3

  • Other location identifier, if any (e.g., figure number, table number, footnote number, etc.): Near Figure 16.1

Simulated frequency of 420 has to be for complications <= 2 instead <= 3.
Expected frequency for <= 3 using the binomial distribution is 1210, and for <= 2 450.
So the p-value for <= 0.048 has to be around 0.121.
The bar in Figure 16.1 over 5 has to be blue, too.
Subsequent conclusions are also wrong.

submitted by: [email protected]

@mine-cetinkaya-rundel
Copy link
Collaborator

@hardin47 I assigned this back to you because I'm not sure I follow the comment. I'm probably missing something but thought you might have more context.

@hardin47
Copy link
Collaborator Author

We need to change the simulation to be p_sim <= 0.0484 (round up instead of round down) to catch the actual observed value. I think it will make the p-value 0.121-ish, so not statistically discernible (narrative will also need to change).

@hardin47
Copy link
Collaborator Author

hardin47 commented Dec 7, 2023

I fixed the question, but I think maybe we are replacing the entire example of the medical consultant. See issue #409 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chp16 v2 2nd edition
Projects
None yet
Development

No branches or pull requests

2 participants