This function generates the objects in the LP problem associated
with the monotonicity constraints declared by the user. This
function simply stacks the matrices corresponding to the
monotonicity constraints declared by the user. It also stacks the
RHS vector associated with the monotonicity constraints, and stacks
the vector of inequalities. It is called by the wrapper function
genmonoA
.
stackA(A0, A1, sset, monogrid, gstar0, gstar1, m0.dec, m0.inc, m1.dec,
m1.inc, mte.dec, mte.inc)
the matrix of values from evaluating the MTR for control observations over the grid generated to perform the audit. This matrix will be incorporated into the final constraint matrix for the bounds.
the matrix of values from evaluating the MTR for control observations over the grid generated to perform the audit. This matrix will be incorporated into the final constraint matrix for the bounds.
a list containing the point estimates and gamma components associated with each element in the S-set.
a list containing the grid over which the monotonicity and boundedness conditions are imposed on.
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.
boolean, set to TRUE if MTR for D = 0
should
be monotone decreasing in the unobservable.
boolean, set to TRUE if MTR for D = 0
should
be monotone increasing in the unobservable.
boolean, set to TRUE if MTR for D = 1
should
be monotone decreasing in the unobservable.
boolean, set to TRUE if MTR for D = 1
should
be monotone increasing in the unobservable.
boolean, set to TRUE if MTE should be monotone decreasing in the unobservable.
boolean, set to TRUE if MTE should be monotone decreasing in the unobservable.
a constraint matrix for the LP problem, the associated vector of inequalities, and the RHS vector in the inequality constraint. The objects pertain only to the monotonicity constraints declared by the user.