model_test: Testing model assumptions

Description Usage Arguments Value

View source: R/multipleversions_code_110316.R

Description

model_test checks whether the data violate the assumptions underlying the model, similar to the assumptions tests for the instrumental variable model.

Usage

1
model_test(Y0, Y1, D0, D1)

Arguments

Y0

observed outcomes in the Z = 0 arm

Y1

observed outcomes in the Z = 1 arm

D0

observed treatment types in the Z = 0 arm

D1

observed treatment types in the Z = 1 arm

Value

a logical, TRUE indicates that the data are consistent with the assumptions, FALSE indicates that the data violate at least one of the assumptions.


sscogges/controlhet documentation built on May 23, 2019, 11:30 p.m.