Package: cosa
Type: Package
Title: Bound Constrained Optimal Sample Size Allocation
Version: 2.1.0
Date: 2021-11-20
Authors@R: c(person("Metin", family = "Bulus", role = c("aut", "cre"), email = "bulusmetin@gmail.com"), person("Nianbo", family = "Dong", role = c("aut")))
Description: 
  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>. 
Imports: nloptr(>= 1.0.4), msm(>= 1.6.7)
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
License: GPL (>= 3)
NeedsCompilation: no
Packaged: 2021-11-20 19:36:17 UTC; LENOVO
Author: Metin Bulus [aut, cre],
  Nianbo Dong [aut]
Maintainer: Metin Bulus <bulusmetin@gmail.com>
Repository: CRAN
Date/Publication: 2021-11-20 22:50:05 UTC
Built: R 4.6.0; ; 2026-04-28 16:10:03 UTC; unix
