delta_optim_SCQE_2C: Delta optimization method for 'scqe' 2 cohort, summary...

Description Usage Arguments Value

View source: R/functions.R

Description

The print method provides the critical values presented in the summary method for scqe objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
delta_optim_SCQE_2C(
  delta,
  untr_pre,
  untr_post,
  tr_post,
  tr_pre,
  Y_tr_post,
  Y_untr_post,
  Y_tr_pre,
  Y_untr_pre,
  obj,
  specified = NULL,
  alpha = 0.05,
  ...
)

Arguments

delta

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

untr_pre

Integer number of untreated patients in the first cohort if applicable (summary statistics input) (T=0).

untr_post

Integer number of untreated patients in the second cohort if applicable (summary statistics input) (T=1).

tr_post

Integer number of treated patients in the second cohort if applicable (summary statistics input) (T=1).

tr_pre

Integer number of treated patients in the first cohort if applicable (summary statistics input) (T=0).

Y_tr_post

Outcome for patients who received treatment at time T=1 (summary statistics input).

Y_untr_post

Outcome for patients who did not receive treatment at time T=1 (summary statistics input).

Y_tr_pre

Outcome for patients who did receive treatment at time T=0 (summary statistics input).

Y_untr_pre

Outcome for patients who did not receive treatment at time T=0 (summary statistics input).

obj

scqe object.

specified

Specified optional arguments.

alpha

Numeric alpha for confidence intervals (default alpha = 0.05).

...

Extra optional arguments.

Value

Optimal delta.


chadhazlett/scqe documentation built on May 18, 2021, 1:32 a.m.