Sample Size Calculator for MRT with Binary Outcomes
Computes "M" and "Sigma" matrices for the sandwich estimator of varian...
Computes the non-centrality parameter for an F distributed random vari...
Check if a matrix is full column rank.
Returns default maximum sample size to end power_vs_n_plot().
Compute minimum sample size.
Calculate power for binary outcome MRT
Calculate sample size for binary outcome MRT
Calculate sample size at a range of power levels.
Returns a plot of power vs sample size in the context of a binary outc...
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.