{
  "_id": "6a181b11acfb0bcc41db0e18",
  "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-05-28 10:34:34 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>",
  "MD5sum": "d7aca6d85b4304b8d36f8fd16c8706a8",
  "_user": "pegeler",
  "_type": "src",
  "_file": "samplesizeCMH_0.0.5.tar.gz",
  "_fileid": "023dddca32a6784cff71aee9727387d17fe50096fb703135c473195097e8446f",
  "_filesize": 204750,
  "_sha256": "023dddca32a6784cff71aee9727387d17fe50096fb703135c473195097e8446f",
  "_created": "2026-05-28T10:34:34.000Z",
  "_published": "2026-05-28T10:38:09.883Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78272816686,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7263708331"
    },
    {
      "job": 78272816659,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263706744"
    },
    {
      "job": 78272816710,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7263699306"
    },
    {
      "job": 78272816791,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263704441"
    },
    {
      "job": 78272322608,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263659894"
    },
    {
      "job": 78272816638,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263694969"
    },
    {
      "job": 78272816783,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7263685879"
    },
    {
      "job": 78272816879,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7263683324"
    },
    {
      "job": 78272816794,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263684551"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Co-organizer of @WestMichiganRUserGroup"
  },
  "_downloads": {
    "count": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/samplesizeCMH"
  },
  "_devurl": "https://github.com/pegeler/samplesizecmh",
  "_searchresults": 37,
  "_rbuild": "4.6.0",
  "_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.346352974450639,
  "_indexed": true,
  "_nocasepkg": "samplesizecmh",
  "_universes": [
    "pegeler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-05-28T10:37:07.000Z",
      "distro": "noble",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "3b85cab84822e820fd989fc881142dd77abb71444db652b0f79ee7a7044785dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-05-28T10:37:03.000Z",
      "distro": "noble",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "6f142d2300f1794e21364cadf8b6d62de335fbe4b85b27d59a1b6fd1528cb019",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-05-28T10:36:42.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "9e46eab55fb99d400017347528a5f74a766903c48d1f4dd237c71f1a4a059245",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-05-28T10:36:56.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "4713edd2231f7d9aaea26329283f5362beb6b7c42d4f8cf9b5bca6776f54542c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.5",
      "date": "2026-05-28T10:36:38.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "c7c63962e96c77d5f31ce2384d94e7970a4ecb94b2c489870d4d01e5566a89ce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-05-28T10:35:54.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "f23d789eb1e206dc197bc79dd14945a705cf89846557266483d842d5156df98b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-05-28T10:35:46.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "5426b2b2dc542af6af0297be325ad311b9c7c1a506a3fe07a580f5c5d463223f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-05-28T10:35:51.000Z",
      "commit": "ca8099df9566e75e7a4585c2e9f804a943a5719f",
      "fileid": "fb112dd019ccb516f8e35d48ae4d43f752cbe66be8ac7852fc9b14d55296dbf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pegeler/actions/runs/26569365666"
    }
  ]
}