cosa: Bound Constrained Optimal Sample Size Allocation

Implements bound constrained optimal sample size allocation (BCOSSA) framework described in Bulus & Dong (2021) <doi:10.1080/00220973.2019.1636197> for power analysis of multilevel regression discontinuity designs (MRDDs) and multilevel randomized trials (MRTs) with continuous outcomes. Minimum detectable effect size (MDES) and power computations for MRDDs allow polynomial functional form specification for the score variable (with or without interaction with the treatment indicator). See Bulus (2021) <doi:10.1080/19345747.2021.1947425>.

Version: 2.1.0
Imports: nloptr (≥ 1.0.4), msm (≥ 1.6.7)
Suggests: knitr, rmarkdown
Published: 2021-11-20
DOI: 10.32614/CRAN.package.cosa
Author: Metin Bulus [aut, cre], Nianbo Dong [aut]
Maintainer: Metin Bulus <bulusmetin at>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: cosa citation info
Materials: README NEWS
In views: ClinicalTrials
CRAN checks: cosa results


Reference manual: cosa.pdf
Vignettes: BCOSSA Tutorial


Package source: cosa_2.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cosa_2.1.0.tgz, r-oldrel (arm64): cosa_2.1.0.tgz, r-release (x86_64): cosa_2.1.0.tgz, r-oldrel (x86_64): cosa_2.1.0.tgz
Old sources: cosa archive


Please use the canonical form to link to this page.