Learn R Programming

ivmte (version 1.1.0)

genmonoboundA: Generating monotonicity and boundedness constraints

Description

This is a wrapper function generating the matrices and vectors associated with the monotonicity and boundedness constraints declared by the user.

Usage

genmonoboundA(support, grid_index, uvec, splinesobj, monov, uname, m0, m1,
  sset, gstar0, gstar1, m0.lb, m0.ub, m1.lb, m1.ub, mte.lb, mte.ub, m0.dec,
  m0.inc, m1.dec, m1.inc, mte.dec, mte.inc)

Arguments

support

a matrix for the support of all variables that enter into the MTRs.

grid_index

a vector, the row numbers of support used to generate the grid preceding the audit.

uvec

a vector, the points in the interval [0, 1] that the unobservable takes on.

splinesobj

a list of lists. Each of the inner lists contains details on the splines declared in the MTRs.

monov

name of variable for which the monotonicity conditions applies to.

uname

name declared by user to represent the unobservable term in the MTRs.

m0

one-sided formula for marginal treatment response function for the control group. The formula may differ from what the user originally input in ivmte, as the spline components should have been removed. This formula is simply a linear combination of all covariates that enter into the original m0 declared by the user in ivmte.

m1

one-sided formula for marginal treatment response function for the treated group. The formula may differ from what the user originally input in ivmte, as the spline components should have been removed. This formula is simply a linear combination of all covariates that enter into the original m1 declared by the user in ivmte.

sset

a list containing the point estimates and gamma components associated with each element in the S-set.

gstar0

set of expectations for each terms of the MTR for the control group.

gstar1

set of expectations for each terms of the MTR for the control group.

m0.lb

scalar, lower bound on MTR for control group.

m0.ub

scalar, upper bound on MTR for control group.

m1.lb

scalar, lower bound on MTR for treated group.

m1.ub

scalar, upper bound on MTR for treated group.

mte.lb

scalar, lower bound on MTE.

mte.ub

scalar, upper bound on MTE.

m0.dec

boolean, indicating whether the MTR for the control group is monotone decreasing.

m0.inc

boolean, indicating whether the MTR for the control group is monotone increasing.

m1.dec

boolean, indicating whether the MTR for the treated group is monotone decreasing.

m1.inc

boolean, indicating whether the MTR for the treated group is monotone increasing.

mte.dec

boolean, indicating whether the MTE is monotone decreasing.

mte.inc

boolean, indicating whether the MTE is monotone increasing.

Value

a list containing a unified constraint matrix, unified vector of inequalities, and unified RHS vector for the boundedness and monotonicity constraints of an LP problem.