Package: MRTSampleSizeBinary 0.1.2
MRTSampleSizeBinary: Sample Size Calculator for MRT with Binary Outcomes
Provides a sample size calculator for micro-randomized trials (MRTs) with binary outcomes based on Cohn et al. (2023) <doi:10.1002/sim.9748>. Also provides a power calculator when the sample size is input by the user.
Authors:
MRTSampleSizeBinary_0.1.2.tar.gz
MRTSampleSizeBinary_0.1.2.zip(r-4.7-any)MRTSampleSizeBinary_0.1.2.zip(r-4.6-any)MRTSampleSizeBinary_0.1.2.zip(r-4.5-any)
MRTSampleSizeBinary_0.1.2.tgz(r-4.6-any)MRTSampleSizeBinary_0.1.2.tgz(r-4.5-any)
MRTSampleSizeBinary_0.1.2.tar.gz(r-4.7-any)MRTSampleSizeBinary_0.1.2.tar.gz(r-4.6-any)
MRTSampleSizeBinary_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
MRTSampleSizeBinary/json (API)
| # Install 'MRTSampleSizeBinary' in R: |
| install.packages('MRTSampleSizeBinary', repos = c('https://tqian.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tqian/mrtsamplesizebinary/issues
- alpha_1 - Vector that defines the success probability null curve.
- beta_1 - Vector that defines the MEE under the alternative hypothesis.
- f_t_1 - A matrix defining the MEE under the alternative hypothesis.
- g_t_1 - A matrix defining the success probability null curve.
- m_matrix_1 - An example matrix for "bread" of sandwich estimator of variance.
- p_t_1 - A vector of randomization probabilities for each time point.
- sigma_matrix_1 - An example matrix for "meat" of sandwich estimator of variance.
- tau_t_1 - Vector that holds the average availability at each time point.
Last updated from:635e66ed02. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 176 | ||
| source / vignettes | OK | 165 | ||
| linux-release | OK | 126 | ||
| macos-release | OK | 99 | ||
| macos-oldrel | OK | 121 | ||
| windows-devel | OK | 116 | ||
| windows-release | OK | 85 | ||
| windows-oldrel | OK | 91 | ||
| wasm-release | OK | 95 |
Exports:compute_m_sigmacompute_ncpis_full_column_rankmax_sampmin_sampmrt_binary_powermrt_binary_sspower_summarypower_vs_n_plot
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
