tau.constraints | R Documentation |
tau
in the
dkqs
procedureThis function generates the constraints in the linear program
for computing the value of tau based on the procedure suggested by Kamat
(2018) for the dkqs
procedure, i.e. linear
program (6) of Torgovitsky (2019).
tau.constraints(
length.tau,
coeff.tau,
coeff.x,
ind.x,
rhs,
sense,
lp.lhs.tau,
lp.rhs.tau,
lp.sense.tau
)
length.tau |
The number of variables in the constraint. |
coeff.tau |
The coefficient in front of tau in the constraint. |
coeff.x |
The coefficient in front of |
ind.x |
The index of |
rhs |
The rhs vector of the new constraint. |
sense |
The equality or inequality symbol to be used in the new constraint. |
lp.lhs.tau |
The constraint matrix to be updated. |
lp.rhs.tau |
The rhs vector of the linear constraints to be updated. |
lp.sense.tau |
The sense vector of the linear constraints to be updated. |
Returns the list of matrices that corresponds to the updated constraints:
lp.lhs.tau |
An updated constraint matrix. |
lp.rhs.tau |
An updated rhs vector. |
lp.sense.tau |
An update sense for the constraints. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.