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

Add ARD functions to perform difference tests for two proportions #238

Open
2 tasks
edelarua opened this issue Nov 19, 2024 · 0 comments · May be fixed by #246
Open
2 tasks

Add ARD functions to perform difference tests for two proportions #238

edelarua opened this issue Nov 19, 2024 · 0 comments · May be fixed by #246
Assignees
Labels
ARD enhancement New feature or request sme

Comments

@edelarua
Copy link
Contributor

edelarua commented Nov 19, 2024

Create functions to perform the remaining difference tests from tern::s_test_proportion_diff():

  • prop_cmh() - Stratified Cochran-Mantel-Haenszel test. Internally calls stats::mantelhaen.test().
  • prop_schouten() - Chi-Squared test with Schouten correction - relatively rare, not used in any tables

See https://insightsengineering.github.io/tern/latest-tag/reference/h_prop_diff_test.html for details on the tern functions.

@edelarua edelarua added enhancement New feature or request sme ARD labels Nov 19, 2024
@edelarua edelarua changed the title Add ARD functions to perform remaining difference tests for two proportions Add ARD functions to perform difference tests for two proportions Nov 19, 2024
@edelarua edelarua self-assigned this Nov 25, 2024
@edelarua edelarua linked a pull request Nov 30, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARD enhancement New feature or request sme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant