This function is only used when the direct MTR regression procedure is used. This function simply constructs the quadratic constraint, and adds it to the LP problem defined by the linear optimization problem for the bounds and the linear shape constraints.
1 |
env |
environment containing the matrices defining the LP problem. |
sset |
A list containing the covariats and outcome variable for the direct MTR regression. |
rescale |
boolean, set to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.