{
  "_id": "6a21344fcd65a98ecbd261e0",
  "Package": "MKpower",
  "Version": "1.2",
  "Date": "2026-01-05",
  "Title": "Power Analysis and Sample Size Calculation",
  "Authors@R": "person(\"Matthias\", \"Kohl\", role = c(\"aut\", \"cre\"),\nemail = \"Matthias.Kohl@stamats.de\",\ncomment = c(ORCID = \"0000-0001-9514-8910\"))",
  "Author": "Matthias Kohl [aut, cre] (0000-0001-9514-8910)",
  "Maintainer": "Matthias Kohl <Matthias.Kohl@stamats.de>",
  "VignetteBuilder": "knitr",
  "Description": "Power analysis and sample size calculation for Welch, Hsu\n(Hedderich and Sachs (2018), ISBN:978-3-662-56657-2) and Xiao\n(Xiao (2018), <doi:10.17654/TS054010021>) as well as\npermutation (Janssen (1997),\n<doi:10.1016/S0167-7152(97)00043-6>) and bootstrap (Davison and\nHinkley (1997), ISBN:978-0-511-80284-3) t-tests including\nMonte-Carlo simulations of empirical power and type-I-error.\nMonte-Carlo simulations of empirical power and type-I-error for\nconditional two-sample tests. Power and sample size calculation\nfor Wilcoxon rank sum and signed rank tests via Monte-Carlo\nsimulations. Power and sample size required for the evaluation\nof a diagnostic test(-system) (Flahault et al. (2005),\n<doi:10.1016/j.jclinepi.2004.12.009>; Dobbin and Simon (2007),\n<doi:10.1093/biostatistics/kxj036>) as well as for a single\nproportion (Fleiss et al. (2003), ISBN:978-0-471-52629-2;\nPiegorsch (2004), <doi:10.1016/j.csda.2003.10.002>; Thulin\n(2014), <doi:10.1214/14-ejs909>), comparing two negative\nbinomial rates (Zhu and Lakkis (2014), <doi:10.1002/sim.5947>),\nANCOVA (Shieh (2020), <doi:10.1007/s11336-019-09692-3>),\nreference ranges (Jennen-Steinmetz and Wellek (2005),\n<doi:10.1002/sim.2177>), multiple primary endpoints (Sozu et\nal. (2015), ISBN:978-3-319-22005-5), and AUC (Hanley and McNeil\n(1982), <doi:10.1148/radiology.143.1.7063747>).",
  "License": "LGPL-3",
  "URL": "https://github.com/stamats/MKpower",
  "Config/pak/sysreqs": "cmake libfftw3-dev libgmp3-dev make libicu-dev\npari-gp libx11-dev zlib1g-dev",
  "Repository": "https://stamats.r-universe.dev",
  "Date/Publication": "2026-01-05 18:15:03 UTC",
  "RemoteUrl": "https://github.com/stamats/mkpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 08:11:12 UTC",
    "User": "root"
  },
  "MD5sum": "86d299611bf608e74040603b1644a8c7",
  "_user": "stamats",
  "_type": "src",
  "_file": "MKpower_1.2.tar.gz",
  "_fileid": "534b5315a58ce9c3717cbd8f4e73fdec312cb7694083d28cbae1d5311d6e05e7",
  "_filesize": 1167066,
  "_sha256": "534b5315a58ce9c3717cbd8f4e73fdec312cb7694083d28cbae1d5311d6e05e7",
  "_created": "2026-06-04T08:11:12.000Z",
  "_published": "2026-06-04T08:16:15.252Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79477110978,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406375897"
    },
    {
      "job": 79477110914,
      "time": 255,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406386937"
    },
    {
      "job": 79477111064,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406357899"
    },
    {
      "job": 79477110904,
      "time": 205,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406361247"
    },
    {
      "job": 79476272208,
      "time": 316,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406306379"
    },
    {
      "job": 79477110970,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406354331"
    },
    {
      "job": 79477111010,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406357252"
    },
    {
      "job": 79477111007,
      "time": 150,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406353654"
    },
    {
      "job": 79477111100,
      "time": 227,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406378592"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stamats/mkpower",
  "_commit": {
    "id": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
    "author": "stamats <matthias.kohl@stamats.de>",
    "committer": "stamats <matthias.kohl@stamats.de>",
    "message": "some debugging\n",
    "time": 1767636903
  },
  "_maintainer": {
    "name": "Matthias Kohl",
    "email": "matthias.kohl@stamats.de",
    "login": "stamats",
    "orcid": "0000-0001-9514-8910",
    "description": "Professor of Mathematics in Biology and Medicine at Furtwangen University",
    "uuid": 11901280
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "matrixTests",
      "version": ">= 0.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MKdescr",
      "role": "Imports"
    },
    {
      "package": "MKinfer",
      "version": ">= 1.4",
      "role": "Imports"
    },
    {
      "package": "qqplotr",
      "role": "Imports"
    },
    {
      "package": "coin",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "hypergeo",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "stamats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 6
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2026-01",
      "n": 29
    },
    {
      "week": "2026-02",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "stamats",
      "count": 143,
      "uuid": 11901280
    },
    {
      "user": "karoliskoncevicius",
      "count": 2,
      "uuid": 7273684
    },
    {
      "user": "mthulin",
      "count": 1,
      "uuid": 35733643
    }
  ],
  "_userbio": {
    "uuid": 11901280,
    "type": "user",
    "name": "Matthias Kohl",
    "description": "Professor of Mathematics in Biology and Medicine at Furtwangen University"
  },
  "_downloads": {
    "count": 757,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MKpower"
  },
  "_devurl": "https://github.com/stamats/mkpower",
  "_searchresults": 37,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MKpower.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stamats/mkpower",
  "_realowner": "stamats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4",
      "date": "2020-02-02"
    },
    {
      "version": "0.5",
      "date": "2020-11-28"
    },
    {
      "version": "0.6",
      "date": "2023-04-11"
    },
    {
      "version": "0.7",
      "date": "2023-04-22"
    },
    {
      "version": "0.8",
      "date": "2024-03-12"
    },
    {
      "version": "0.9",
      "date": "2024-04-08"
    },
    {
      "version": "1.0",
      "date": "2024-09-23"
    },
    {
      "version": "1.1",
      "date": "2025-09-05"
    }
  ],
  "_exports": [
    "power.ancova",
    "power.diagnostic.test",
    "power.hsu.t.test",
    "power.hsu.t.test2",
    "power.mpe.atleast.one",
    "power.mpe.known.var",
    "power.mpe.unknown.var",
    "power.nb.test",
    "power.prop1.test",
    "power.welch.t.test",
    "power.welch.t.test2",
    "qqunif",
    "sim.power.cond.test",
    "sim.power.t.test",
    "sim.power.wilcox.test",
    "sim.power.xiao.t.test",
    "sim.ssize.boot.t.test",
    "sim.ssize.perm.t.test",
    "sim.ssize.wilcox.test",
    "sim.ssize.xiao.t.test",
    "ssize.auc.ci",
    "ssize.hsu.t.test",
    "ssize.pcc",
    "ssize.prop.ci",
    "ssize.propCI",
    "ssize.reference.range",
    "ssize.sens.ci",
    "ssize.spec.ci",
    "ssize.welch.t.test",
    "volcano"
  ],
  "_help": [
    {
      "page": "0MKpower-package",
      "title": "Power Analysis and Sample Size Calculation.",
      "topics": [
        "MKpower-package",
        "MKpower"
      ]
    },
    {
      "page": "histSimPower",
      "title": "Histograms",
      "topics": [
        "hist",
        "hist.sim.power.ttest",
        "hist.sim.power.wtest"
      ]
    },
    {
      "page": "power.ancova",
      "title": "Power Calculation for ANCOVA",
      "topics": [
        "power.ancova"
      ]
    },
    {
      "page": "power.diagnostic.test",
      "title": "Power Calculations for Diagnostic Tests",
      "topics": [
        "power.diagnostic.test",
        "ssize.sens.ci",
        "ssize.spec.ci"
      ]
    },
    {
      "page": "power.hsu.t.test",
      "title": "Power Calculations for Hsu Two-sample t Test",
      "topics": [
        "power.hsu.t.test",
        "power.hsu.t.test2",
        "ssize.hsu.t.test"
      ]
    },
    {
      "page": "power.mpe.atleast.one",
      "title": "Power for at least One Endpoint with Known Covariance",
      "topics": [
        "power.mpe.atleast.one"
      ]
    },
    {
      "page": "power.mpe.known.var",
      "title": "Multiple Co-Primary Endpoints with Known Covariance",
      "topics": [
        "power.mpe.known.var"
      ]
    },
    {
      "page": "power.mpe.unknown.var",
      "title": "Multiple Co-Primary Endpoints with Unknown Covariance",
      "topics": [
        "power.mpe.unknown.var"
      ]
    },
    {
      "page": "power.nb.test",
      "title": "Power Calculation for Comparing Two Negative Binomial Rates",
      "topics": [
        "power.nb.test"
      ]
    },
    {
      "page": "power.prop1.test",
      "title": "Power Calculations for One-Sample Test for Proportions",
      "topics": [
        "power.prop1.test"
      ]
    },
    {
      "page": "power.welch.t.test",
      "title": "Power and Sample Size Calculations for Welch Two-sample t Test",
      "topics": [
        "power.welch.t.test",
        "power.welch.t.test2",
        "ssize.welch.t.test"
      ]
    },
    {
      "page": "print.power.mpe.test",
      "title": "Print Methods for Hypothesis Tests, Sample size and Power Calculations",
      "topics": [
        "print.power.mpe.test"
      ]
    },
    {
      "page": "qqunifSimPower",
      "title": "qq-Plots for Uniform Distribution",
      "topics": [
        "qqunif",
        "qqunif.default",
        "qqunif.sim.power.ttest",
        "qqunif.sim.power.wtest"
      ]
    },
    {
      "page": "sim.power.cond.test",
      "title": "Monte Carlo Simulations for Empirical Power of Conditional Two-sample Test",
      "topics": [
        "sim.power.cond.test"
      ]
    },
    {
      "page": "sim.power.t.test",
      "title": "Monte Carlo Simulations for Empirical Power of Two-sample t-Tests",
      "topics": [
        "sim.power.t.test"
      ]
    },
    {
      "page": "sim.power.wilcox.test",
      "title": "Monte Carlo Simulations for Empirical Power of Wilcoxon-Mann-Whitney Tests",
      "topics": [
        "sim.power.wilcox.test"
      ]
    },
    {
      "page": "sim.power.xiao.t.test",
      "title": "Power Simulations for Xiao Two-sample t Test",
      "topics": [
        "sim.power.xiao.t.test",
        "sim.ssize.xiao.t.test"
      ]
    },
    {
      "page": "sim.ssize.boot.t.test",
      "title": "Sample Size for Bootstrap t Tests",
      "topics": [
        "sim.ssize.boot.t.test"
      ]
    },
    {
      "page": "sim.ssize.perm.t.test",
      "title": "Sample Size for Permutation t Tests",
      "topics": [
        "sim.ssize.perm.t.test"
      ]
    },
    {
      "page": "sim.ssize.wilcox.test",
      "title": "Sample Size for Wilcoxon Rank Sum and Signed Rank Tests",
      "topics": [
        "sim.ssize.wilcox.test"
      ]
    },
    {
      "page": "ssize.auc.ci",
      "title": "Sample Size Calculations for AUC",
      "topics": [
        "ssize.auc.ci"
      ]
    },
    {
      "page": "ssize.pcc",
      "title": "Sample Size Planning for Developing Classifiers Using High Dimensional Data",
      "topics": [
        "ssize.pcc"
      ]
    },
    {
      "page": "ssize.propCI",
      "title": "Sample Size Calculation for Confidence Interval of a Proportion",
      "topics": [
        "ssize.prop.ci",
        "ssize.propCI"
      ]
    },
    {
      "page": "ssize.reference.range",
      "title": "Power Calculations for Two-sample Hsu t Test",
      "topics": [
        "ssize.reference.range"
      ]
    },
    {
      "page": "volcanoSimPower",
      "title": "Volcano Plots",
      "topics": [
        "volcano",
        "volcano.sim.power.ttest",
        "volcano.sim.power.wtest"
      ]
    }
  ],
  "_readme": "https://github.com/stamats/mkpower/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "backports",
    "bit",
    "bit64",
    "bitops",
    "boot",
    "broom",
    "caTools",
    "cli",
    "clipr",
    "codetools",
    "coin",
    "contfrac",
    "cpp11",
    "crayon",
    "DBI",
    "DEoptimR",
    "deSolve",
    "doParallel",
    "dplyr",
    "elliptic",
    "exactRankTests",
    "farver",
    "forcats",
    "foreach",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "gmp",
    "gtable",
    "haven",
    "hms",
    "hypergeo",
    "isoband",
    "iterators",
    "jomo",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "matrixTests",
    "mice",
    "miceadds",
    "minqa",
    "mitml",
    "mitools",
    "MKdescr",
    "MKinfer",
    "modeltools",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "opdisDownsampling",
    "ordinal",
    "pan",
    "pbmcapply",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "purrr",
    "qqconf",
    "qqplotr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "robustbase",
    "rpart",
    "S7",
    "sandwich",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "twosamples",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "MKpower.Rmd",
      "filename": "MKpower.html",
      "title": "Package MKpower",
      "author": "Matthias Kohl",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Single Proportion",
        "Welch Two-Sample t-Test",
        "Hsu Two-Sample t-Test",
        "Xiao Two-Sample t-Test",
        "Permutation t-Tests",
        "Bootstrap t-Tests",
        "ANCOVA",
        "Wilcoxon Rank Sum and Signed Rank Tests",
        "Two Negative Binomial Rates",
        "Diagnostic Test",
        "Reference Range",
        "Multiple Primary Endpoints (MPE)",
        "Power and Type-I-Error Simulations",
        "sessionInfo",
        "References"
      ],
      "created": "2019-08-19 07:52:14",
      "modified": "2026-01-05 17:34:29",
      "commits": 21
    }
  ],
  "_score": 6.267171728403014,
  "_indexed": true,
  "_nocasepkg": "mkpower",
  "_universes": [
    "stamats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-06-04T08:13:59.000Z",
      "distro": "noble",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "79ce8dd97162270cb5512018c151d9a1cf17ba3f86e4732840c8f994e6a00f8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-06-04T08:14:30.000Z",
      "distro": "noble",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "d4b7a874c2f2540a9deb675e168f5a0af81b9f9564a14cc99be9ec46dacb0279",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-06-04T08:13:28.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "cb0c636ece0347cca2151381916671b29827971e2360d1cde51a3ee2ce0caaaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-06-04T08:13:32.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "a4aea2583bfb3f5f2fc0b698c82d033bf85eca0178f0e8da127085506e40d089",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-06-04T08:14:09.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "f81863b141638889ec4759abce5763250950287bd4a30bd624c20d7d45b8f84d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-06-04T08:12:40.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "d70a1dae334f4f3cabcee1e2580fc1d1194c4c29002f0ff01819f54c69a8c731",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-06-04T08:12:36.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "2c4dd1c042aa4b363b0f89bb948d29aef91e713ba3f259059db9a1092cc567dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-06-04T08:13:51.000Z",
      "commit": "7faa686ed58b27de1c5934334c3c4bc3d6b43a74",
      "fileid": "48d20e2f9e9d49be1ccef4df50f78c4d0cfcaa1d89a24b138300cb4d90075aea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stamats/actions/runs/26939203832"
    }
  ]
}