This is a wrapper function generating the matrices and vectors associated with the monotonicity and boundedness constraints declared by the user.
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)
a matrix for the support of all variables that enter into the MTRs.
a vector, the row numbers of support
used
to generate the grid preceding the audit.
a vector, the points in the interval [0, 1] that the unobservable takes on.
a list of lists. Each of the inner lists contains details on the splines declared in the MTRs.
name of variable for which the monotonicity conditions applies to.
name declared by user to represent the unobservable term in the MTRs.
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
.
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
.
a list containing the point estimates and gamma components associated with each element in the S-set.
set of expectations for each terms of the MTR for the control group.
set of expectations for each terms of the MTR for the control group.
scalar, lower bound on MTR for control group.
scalar, upper bound on MTR for control group.
scalar, lower bound on MTR for treated group.
scalar, upper bound on MTR for treated group.
scalar, lower bound on MTE.
scalar, upper bound on MTE.
boolean, indicating whether the MTR for the control group is monotone decreasing.
boolean, indicating whether the MTR for the control group is monotone increasing.
boolean, indicating whether the MTR for the treated group is monotone decreasing.
boolean, indicating whether the MTR for the treated group is monotone increasing.
boolean, indicating whether the MTE is monotone decreasing.
boolean, indicating whether the MTE is monotone increasing.
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.