{
  "_id": "6a55c768ff0138dec5d68d00",
  "Package": "samplesizeCMH",
  "Title": "Power and Sample Size Calculation for the\nCochran-Mantel-Haenszel Test",
  "Date": "2025-02-04",
  "Version": "0.0.5",
  "Authors@R": "c(\nperson(\n\"Paul\", \"Egeler\",\nemail = \"paulegeler@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6948-9498\")\n),\nperson(\"Andy\", \"Kampfschulte\",\nemail = \"andykampfschulte@gmail.com\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0001-9368-690X\")\n),\nperson(\"Spectrum Health, Grand Rapids, MI\", role = \"cph\"))",
  "Copyright": "Spectrum Health, Grand Rapids, MI",
  "Description": "Calculates the power and sample size for\nCochran-Mantel-Haenszel tests. There are also several helper\nfunctions for working with probability, odds, relative risk,\nand odds ratio values.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "URL": "https://github.com/pegeler/samplesizeCMH",
  "BugReports": "https://github.com/pegeler/samplesizeCMH/issues",
  "Repository": "https://pegeler.r-universe.dev",
  "Date/Publication": "2025-02-05 03:45:06 UTC",
  "RemoteUrl": "https://github.com/pegeler/samplesizecmh",
  "RemoteRef": "HEAD",
  "RemoteSha": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-14 05:18:46 UTC",
    "User": "root"
  },
  "Author": "Paul Egeler [aut, cre] (ORCID: <https://orcid.org/0000-0001-6948-9498>),\nAndy Kampfschulte [ctb] (ORCID:\n<https://orcid.org/0000-0001-9368-690X>),\nSpectrum Health, Grand Rapids, MI [cph]",
  "Maintainer": "Paul Egeler <paulegeler@gmail.com>",
  "_user": "pegeler",
  "_type": "src",
  "_file": "samplesizeCMH_0.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/def4db38d08ae5d6d71c73ece4a71cc3aa54cbf3c22a2728332699ab9212ebdf",
  "_filesize": 206367,
  "_sha256": "def4db38d08ae5d6d71c73ece4a71cc3aa54cbf3c22a2728332699ab9212ebdf",
  "_expires": "2026-10-22T05:21:42.000Z",
  "_created": "2026-07-14T05:18:46.000Z",
  "_published": "2026-07-14T05:21:44.565Z",
  "_jobs": [
    {
      "job": 87006166949,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8301062945"
    },
    {
      "job": 87006166977,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8301056971"
    },
    {
      "job": 87006166981,
      "time": 68,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8301042467"
    },
    {
      "job": 87006166945,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8301053936"
    },
    {
      "job": 87005612138,
      "time": 247,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8301022134"
    },
    {
      "job": 87006166998,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8301058961"
    },
    {
      "job": 87006167011,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8301043235"
    },
    {
      "job": 87006166956,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8301048112"
    },
    {
      "job": 87006167048,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8301043827"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529",
  "_status": "success",
  "_upstream": "https://github.com/pegeler/samplesizecmh",
  "_commit": {
    "id": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
    "author": "pegeler <32426645+pegeler@users.noreply.github.com>",
    "committer": "pegeler <32426645+pegeler@users.noreply.github.com>",
    "message": "updating pkgdown\n",
    "time": 1738727106
  },
  "_maintainer": {
    "name": "Paul Egeler",
    "email": "paulegeler@gmail.com",
    "login": "pegeler",
    "description": "Co-organizer of @WestMichiganRUserGroup",
    "uuid": 32426645,
    "orcid": "0000-0001-6948-9498"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "DescTools",
      "role": "Suggests"
    },
    {
      "package": "datasets",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "pegeler",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "categorical-data",
    "cmh-test",
    "sample-size",
    "statistical-power",
    "statistics"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "pegeler",
      "count": 76,
      "uuid": 32426645
    },
    {
      "user": "kampfsca",
      "count": 3,
      "uuid": 43184451
    }
  ],
  "_userbio": {
    "uuid": 32426645,
    "type": "user",
    "name": "Paul Egeler",
    "followers": 44,
    "description": "Co-organizer of @WestMichiganRUserGroup"
  },
  "_downloads": {
    "count": 286,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/samplesizeCMH"
  },
  "_devurl": "https://github.com/pegeler/samplesizecmh",
  "_searchresults": 39,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/samplesizeCMH.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pegeler/samplesizecmh",
  "_realowner": "pegeler",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.0",
      "date": "2017-12-21"
    },
    {
      "version": "0.0.3",
      "date": "2023-12-12"
    }
  ],
  "_exports": [
    "effect.size",
    "odds.ratio",
    "odds2prop",
    "power.cmh.test",
    "prop2odds",
    "props2theta",
    "rel.risk",
    "rr2theta",
    "theta2rr"
  ],
  "_datasets": [
    {
      "name": "contraceptives",
      "title": "Oral contraceptive use and breast cancer rates",
      "object": "contraceptives",
      "class": [
        "table"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "contraceptives",
      "title": "Oral contraceptive use and breast cancer rates",
      "topics": [
        "contraceptives"
      ]
    },
    {
      "page": "odds.and.proportions",
      "title": "Interconvert odds and proportion values",
      "topics": [
        "effect.size",
        "odds.and.proportions",
        "odds2prop",
        "prop2odds",
        "props2theta",
        "rr2theta",
        "theta2rr"
      ]
    },
    {
      "page": "odds.ratio",
      "title": "Create an odds ratio estimate from a 2-by-2 table of frequencies or proportions",
      "topics": [
        "odds.ratio"
      ]
    },
    {
      "page": "power.cmh.test",
      "title": "Power and sample size calculation for the Cochran-Mantel-Haenszel test",
      "topics": [
        "power.cmh.test"
      ]
    },
    {
      "page": "print.power.cmh",
      "title": "Print '\"power.cmh\"' object",
      "topics": [
        "print.power.cmh"
      ]
    },
    {
      "page": "rel.risk",
      "title": "Calculate the relative risk from a 2-by-2 table",
      "topics": [
        "rel.risk"
      ]
    },
    {
      "page": "samplesizeCMH",
      "title": "samplesizeCMH: Power and Sample Size Calculation for the Cochran-Mantel-Haenszel Test",
      "topics": [
        "samplesizeCMH"
      ]
    }
  ],
  "_readme": "https://github.com/pegeler/samplesizecmh/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "samplesizeCMH-introduction.Rmd",
      "filename": "samplesizeCMH-introduction.html",
      "title": "Introduction to the Cochran-Mantel-Haenszel Test",
      "author": "Paul W. Egeler, M.S., GStat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Partial and Marginal Tables",
        "Example",
        "Conditional, Marginal, and Common Odds Ratios",
        "Demonstration of Algebraic Equivalence of using Frequencies or Proportions in Odds Ratio Calculation",
        "Conditional and Marginal Association/Independence",
        "Homogeneous Association/Independence",
        "References"
      ],
      "created": "2017-12-14 01:21:06",
      "modified": "2024-09-06 16:45:20",
      "commits": 3
    },
    {
      "source": "samplesizeCMH-power.Rmd",
      "filename": "samplesizeCMH-power.html",
      "title": "Power Calculation for the Cochran-Mantel-Haenszel Test",
      "author": "Paul W. Egeler, M.S., GStat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Calculating post hoc Power",
        "The Data Set",
        "The Test Statistic",
        "The Power Calculation",
        "Power and Effect Size in a Negative Result",
        "References"
      ],
      "created": "2017-12-14 01:21:06",
      "modified": "2025-02-05 03:44:57",
      "commits": 6
    },
    {
      "source": "samplesizeCMH-samplesize.Rmd",
      "filename": "samplesizeCMH-samplesize.html",
      "title": "Sample Size Calculation for the Cochran-Mantel-Haenszel Test",
      "author": "Paul W. Egeler, M.S., GStat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "The Research Question",
        "Calculating Sample Size",
        "Methods",
        "Uncorrected",
        "Continuity Corrected Estimate",
        "Unequal Numbers of Cases and Controls",
        "A Closer Look at a Partial Table",
        "References"
      ],
      "created": "2017-12-14 01:21:06",
      "modified": "2017-12-20 18:37:43",
      "commits": 2
    }
  ],
  "_score": 5.3692158574101425,
  "_indexed": true,
  "_nocasepkg": "samplesizecmh",
  "_universes": [
    "pegeler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-07-14T05:21:12.000Z",
      "distro": "resolute",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/ab6579ec3adc2a6a4bc24702b003578c3a8f7d18d96bb8935906a86969f94ad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-07-14T05:20:53.000Z",
      "distro": "resolute",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/9bdb9ff402fad274bee83dbe1714046c868042e24ff591e31fef14ab802ad4f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-07-14T05:20:04.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/1679fc11469218e35c2e3dde09ac80ec9ffd310ddf50f7103a1e4301075aecd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-07-14T05:21:01.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/ecfd645828e0844ce089e5487f7045ed94d0fad44f7e612ee0148bf19f6679c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.5",
      "date": "2026-07-14T05:21:09.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/ac64b003563a68061c7fc90edd67dc7ef1988e8fed1ed0be89b49e3b4a7f06ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-07-14T05:19:58.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/c8db0dd12390bad07dcb9c8ad1dab3a11ec512d28ddc9316f1c99b6f68e5432d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-07-14T05:20:15.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/aeee4e4d65af3e4e4d13a03c8113924ef375c202a4ec1b0aa7afbd78b23e3c88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-07-14T05:20:00.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "https://r2.ropensci.org/4b6e10149f88beab855b6ce7590fa10c23ec5d989a34968ede721e86f6b25719",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/29308016529"
    }
  ]
}