generate_tri_treatment_from_two_covariates: Generate three-valued treatment with constraint on

Description Usage Arguments Value

Description

.. content for details ..

Usage

1
2
generate_tri_treatment_from_two_covariates(X, alpha01, alpha02, alphaXm1,
  alphaXm2, gamma, sigma)

Arguments

X

data_frame containing two covariates

alpha01

True intercept for the first linear predictor.

alpha02

True intercept for the second linear predictor.

alphaXm1

True coefficients for the first variable for the first linear predictor.

alphaXm2

True coefficients for the first variable for the second linear predictor.

gamma

Ratio of the true coefficient for the second variable and the first variable.

sigma

scaling of all covariate effects. A higher value means stronger covariate effects, i.e., less clinical equipoise.

Value

df with treatment (A) added.


kaz-yos/empeq3 documentation built on May 8, 2019, 7:29 a.m.