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

CMH Analysis - Issue with Results #10

Open
mattkumar opened this issue Jan 11, 2022 · 1 comment
Open

CMH Analysis - Issue with Results #10

mattkumar opened this issue Jan 11, 2022 · 1 comment

Comments

@mattkumar
Copy link

Hello,

We've encountered what seems to be an issue regarding the output of the CMH function when specifying the TYPES argument.

For reference, we've also used SAS 9.4 to do the similar analysis. In short, it seems using the TYPES argument results in mismatching of the degrees of freedom for each hypothesis test, leading to incorrect P-Values.

We've created a reproducible example that can be accessed here: https://github.com/phuse-org/CSRMLW/blob/main/cmh/Docu/final_report/vcdExtra_issue.Rmd

Any thoughts around this would be greatly appreciated. Many thanks for your work on the vcd and vcdExtra packages!

Best,
Matt

@friendly
Copy link
Owner

@mattkumar thank you for this detailed analysis and reproducible example. I'm checking out ShuguangSun's proposed fix.

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

No branches or pull requests

2 participants