R: Bound Constrained Optimal Sample Size Allocation

# Bound Constrained Optimal Sample Size Allocation

## Documentation for package ‘cosa’ version 2.1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

cosa-package | Bound Constrained Optimal Design of MRDDs and MRTs
bcrd3f2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
bcrd3r2 | Blocked (Random) Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 2)
bcrd4f3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
bcrd4r2 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 2)
bcrd4r3 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 3)
bird2 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
bird2f1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
bird2r1 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
bird3 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
bird3r1 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
bird4 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
bird4r1 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
cosa-deprecated | Deprecated and Defunct functions in 'cosa'
cosa.bcrd3f2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
cosa.bcrd3r2 | Blocked (Random) Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 2)
cosa.bcrd4f3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
cosa.bcrd4r2 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 2)
cosa.bcrd4r3 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 3)
cosa.bird2 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
cosa.bird2f1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
cosa.bird2r1 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
cosa.bird3 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
cosa.bird3r1 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
cosa.bird4 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
cosa.bird4r1 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
cosa.crd2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
cosa.crd2r2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
cosa.crd3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
cosa.crd3r3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
cosa.crd4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
cosa.crd4r4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
crd2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
crd2r2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
crd3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
crd3r3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
crd4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
crd4r4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
emp.moment | Moments
inspect.score | Computes Regression Discontinuity Design Effects
ird | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
ird1r1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
mdes.bcrd3f2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
mdes.bcrd3r2 | Blocked (Random) Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 2)
mdes.bcrd4f3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
mdes.bcrd4r2 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 2)
mdes.bcrd4r3 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 3)
mdes.bird2 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
mdes.bird2f1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
mdes.bird2r1 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
mdes.bird3 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
mdes.bird3r1 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
mdes.bird4 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
mdes.bird4r1 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
mdes.crd2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
mdes.crd2r2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
mdes.crd3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
mdes.crd3r3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
mdes.crd4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
mdes.crd4r4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
mdes.ird | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
mdes.ird1r1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
plot.cosa | Power and MDES Curves
plot.mdes | Power and MDES Curves
plot.power | Power and MDES Curves
power.bcrd3f2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
power.bcrd3r2 | Blocked (Random) Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 2)
power.bcrd4f3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
power.bcrd4r2 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 2)
power.bcrd4r3 | Blocked (Random) Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 3)
power.bird2 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
power.bird2f1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
power.bird2r1 | Blocked (Random) Individual-level Regression Discontinuity (Two-level Design, Discontinuity at Level 1)
power.bird3 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
power.bird3r1 | Blocked (Random) Individual-level Regression Discontinuity (Three-level Design, Discontinuity at Level 1)
power.bird4 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
power.bird4r1 | Blocked (Random) Individual-level Regression Discontinuity (Four-level Design, Discontinuity at Level 1)
power.crd2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
power.crd2r2 | Cluster-level Regression Discontinuity (Two-level Design, Discontinuity at Level 2, w/ or w/o Strata or Fixed Blocks)
power.crd3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
power.crd3r3 | Cluster-level Regression Discontinuity (Three-level Design, Discontinuity at Level 3, w/ or w/o Strata or Fixed Blocks)
power.crd4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
power.crd4r4 | Cluster-level Regression Discontinuity (Four-level Design, Discontinuity at Level 4)
power.ird | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
power.ird1r1 | Simple Individual-level Regression Discontinuity (w/ or w/o Strata or Fixed Blocks)
tnorm.moment | Moments
unif.moment | Moments
vectorize.cosa | Vectorizes BCOSSA Solutions