Package: cosa Type: Package Title: Bound Constrained Optimal Sample Size Allocation Version: 2.1.0 Date: 2021-05-25 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) 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) (Bulus, in press). Imports: nloptr(>= 1.0.4), msm(>= 1.6.7) Suggests: knitr, rmarkdown VignetteBuilder: knitr License: GPL (>= 3) NeedsCompilation: no Config/pak/sysreqs: cmake Repository: https://metinbulus.r-universe.dev Date/Publication: 2021-09-01 10:57:27 UTC RemoteUrl: https://github.com/metinbulus/cosa RemoteRef: HEAD RemoteSha: ff7ccbf1962b0171515712a417ba838f33c5065c Packaged: 2026-07-03 05:44:55 UTC; root Author: Metin Bulus [aut, cre], Nianbo Dong [aut] Maintainer: Metin Bulus