Skip to content

CMH Analysis - Issue with Results #10

Open

Description

@mattkumar

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

Activity

  1. friendly commented on Feb 12, 2022

    @friendly
    Owner

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

  2. imazubi commented on Apr 26, 2026

    @imazubi

    Hello, was this issue solved so far?

    Thanks,

    Ima

  3. friendly commented on Apr 26, 2026

    @friendly
    Owner

    It was fixed in a previous release; unfortunately not tracked here with the PR / release info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions