Package: MRTSampleSizeBinary 0.1.2
Tianchen Qian
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.tar.gz(r-4.5-noble)MRTSampleSizeBinary_0.1.2.tar.gz(r-4.4-noble)
MRTSampleSizeBinary_0.1.2.tgz(r-4.4-emscripten)MRTSampleSizeBinary_0.1.2.tgz(r-4.3-emscripten)
MRTSampleSizeBinary.pdf |MRTSampleSizeBinary.html✨
MRTSampleSizeBinary/json (API)
NEWS
# Install 'MRTSampleSizeBinary' in R: |
install.packages('MRTSampleSizeBinary', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- 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.
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 12 months agofrom:838952648e. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-linux | OK | Oct 29 2024 |
Exports:compute_m_sigmacompute_ncpis_full_column_rankmax_sampmin_sampmrt_binary_powermrt_binary_sspower_summarypower_vs_n_plot
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr