Package: MKpower 1.1

MKpower: Power Analysis and Sample Size Calculation

Power analysis and sample size calculation for Welch and Hsu (Hedderich and Sachs (2018), ISBN:978-3-662-56657-2) t-tests including Monte-Carlo simulations of empirical power and type-I-error. Power and sample size calculation for Wilcoxon rank sum and signed rank tests via Monte-Carlo simulations. Power and sample size required for the evaluation of a diagnostic test(-system) (Flahault et al. (2005), <doi:10.1016/j.jclinepi.2004.12.009>; Dobbin and Simon (2007), <doi:10.1093/biostatistics/kxj036>) as well as for a single proportion (Fleiss et al. (2003), ISBN:978-0-471-52629-2; Piegorsch (2004), <doi:10.1016/j.csda.2003.10.002>; Thulin (2014), <doi:10.1214/14-ejs909>), comparing two negative binomial rates (Zhu and Lakkis (2014), <doi:10.1002/sim.5947>), ANCOVA (Shieh (2020), <doi:10.1007/s11336-019-09692-3>), reference ranges (Jennen-Steinmetz and Wellek (2005), <doi:10.1002/sim.2177>), multiple primary endpoints (Sozu et al. (2015), ISBN:978-3-319-22005-5), and AUC (Hanley and McNeil (1982), <doi:10.1148/radiology.143.1.7063747>).

Authors:Matthias Kohl [aut, cre]

MKpower_1.1.tar.gz
MKpower_1.1.zip(r-4.5)MKpower_1.1.zip(r-4.4)MKpower_1.1.zip(r-4.3)
MKpower_1.1.tgz(r-4.4-any)MKpower_1.1.tgz(r-4.3-any)
MKpower_1.1.tar.gz(r-4.5-noble)MKpower_1.1.tar.gz(r-4.4-noble)
MKpower_1.1.tgz(r-4.4-emscripten)MKpower_1.1.tgz(r-4.3-emscripten)
MKpower.pdf |MKpower.html
MKpower/json (API)
NEWS

# Install 'MKpower' in R:
install.packages('MKpower', repos = c('https://stamats.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/stamats/mkpower/issues

On CRAN:

6.02 score 7 stars 30 scripts 635 downloads 21 exports 101 dependencies

Last updated 2 months agofrom:8a0689abee. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 23 2024
R-4.5-winOKOct 23 2024
R-4.5-linuxOKOct 23 2024
R-4.4-winOKOct 23 2024
R-4.4-macOKOct 23 2024
R-4.3-winOKOct 23 2024
R-4.3-macOKOct 23 2024

Exports:power.ancovapower.diagnostic.testpower.hsu.t.testpower.mpe.atleast.onepower.mpe.known.varpower.mpe.unknown.varpower.nb.testpower.prop1.testpower.welch.t.testqqunifsim.power.t.testsim.power.wilcox.testsim.ssize.wilcox.testssize.auc.cissize.pccssize.prop.cissize.propCIssize.reference.rangessize.sens.cissize.spec.civolcano

Dependencies:arrangementsbackportsbitbit64bitopsbootbroomcaToolsclicliprcodetoolscoincolorspacecpp11crayonDBIDEoptimRdoParalleldplyrexactRankTestsfansifarverforcatsforeachgenericsggplot2glmnetgluegmpgtablehavenhmsisobanditeratorsjomolabelinglatticelibcoinlifecyclelme4magrittrMASSMatrixmatrixStatsmatrixTestsmgcvmicemiceaddsminqamitmlmitoolsMKdescrMKinfermodeltoolsmultcompmunsellmvtnormnlmenloptrnnetnumDerivopdisDownsamplingordinalpanpbmcapplypillarpkgconfigpracmaprettyunitsprogresspurrrqqconfqqplotrR6RColorBrewerRcppRcppArmadilloRcppEigenreadrrlangrobustbaserpartsandwichscalesshapestringistringrsurvivalTH.datatibbletidyrtidyselecttwosamplestzdbucminfutf8vctrsviridisLitevroomwithrzoo

Package MKpower

Rendered fromMKpower.Rmdusingknitr::rmarkdownon Oct 23 2024.

Last update: 2024-09-23
Started: 2019-08-19

Readme and manuals

Help Manual

Help pageTopics
Power Analysis and Sample Size Calculation.MKpower-package MKpower
Histogramshist hist.sim.power.ttest hist.sim.power.wtest
Power Calculation for ANCOVApower.ancova
Power Calculations for Diagnostic Testspower.diagnostic.test ssize.sens.ci ssize.spec.ci
Power Calculations for Two-sample Hsu t Testpower.hsu.t.test
Power for at least One Endpoint with Known Covariancepower.mpe.atleast.one
Multiple Co-Primary Endpoints with Known Covariancepower.mpe.known.var
Multiple Co-Primary Endpoints with Unknown Covariancepower.mpe.unknown.var
Power Calculation for Comparing Two Negative Binomial Ratespower.nb.test
Power Calculations for One-Sample Test for Proportionspower.prop1.test
Power Calculations for Two-sample Welch t Testpower.welch.t.test
Print Methods for Hypothesis Tests, Sample size and Power Calculationsprint.power.mpe.test
qq-Plots for Uniform Distributionqqunif qqunif.default qqunif.sim.power.ttest qqunif.sim.power.wtest
Monte Carlo Simulations for Empirical Power of Two-sample t-Testssim.power.t.test
Monte Carlo Simulations for Empirical Power of Wilcoxon-Mann-Whitney Testssim.power.wilcox.test
Sample Size for Wilcoxon Rank Sum and Signed Rank Testssim.ssize.wilcox.test
Sample Size Calculations for AUCssize.auc.ci
Sample Size Planning for Developing Classifiers Using High Dimensional Datassize.pcc
Sample Size Calculation for Confidence Interval of a Proportionssize.prop.ci ssize.propCI
Power Calculations for Two-sample Hsu t Testssize.reference.range
Volcano Plotsvolcano volcano.sim.power.ttest volcano.sim.power.wtest