scqe.1csumm {scqe}R Documentation

Stability controlled quasi-experiment (scqe) for 1 cohort case, summary statistics

Description

This function returns the scqe estimates and confidence intervals for the 1 cohort case when the user inputs only summary statistics.

Usage

scqe.1csumm(
  untr_1C,
  Y_untr_1C,
  tr_1C,
  Y_tr_1C,
  delta,
  min_delta,
  max_delta,
  alpha = 0.05,
  ...
)

Arguments

untr_1C

Number of untreated individuals.

Y_untr_1C

Outcome for untreated individuals.

tr_1C

Number of treated individuals.

Y_tr_1C

Outcome for treated individuals.

delta

Single value or vector of possible values for change in average non-treatment outcome between cohorts (if applicable).

min_delta

Minimum delta. Optional, not used if delta is supplied.

max_delta

Maximum delta. Optional, not used if delta is supplied.

alpha

Numeric alpha for confidence interval (default is alpha = 0.05).

...

Extra optional arguments.

Value

scqe object of class "scqe." Returns results table for the 1 cohort, summary statistics case.

Examples

# One cohort, summary data only
scqe.1cohort.sum = scqe(untr=100,tr=200,Y_untr=5,Y_tr=50,
min_delta=.1,max_delta=1)
plot(scqe.1cohort.sum)
summary(scqe.1cohort.sum)



[Package scqe version 1.0.0 Index]