Is there any function in R to calculate the sample size and power of a Binomial regression of event probabilities over time with a complementary log-log (cloglog).
Can I use the follwoing function?
cloglog.sample.size(p.alt, n = NULL, p = 0.5, power = 0.8, alpha = 0.05,
alternative = c("two.sided", "greater", "less"), exact.n = FALSE,
recompute.power = FALSE, phi = 1)
New contributor
ROSA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.