Description Usage Arguments Value
Returns the constraints needed to enforce the qth quantile to be between the splits s_i and s_k
1 | get_quantile_constraints(m, s, quantiles, lower_indices, upper_indices)
|
m |
The order of the Bernstein densities. |
s |
The split points. |
quantiles |
The quantiles desired. Should be an increasing vector in (0,1). |
lower_indices |
Increasing vector of lower indices for the involved split points. |
upper_indices |
Increasing vector of lower indices for the involved split points. |
A list containting a constraint matrix and two vectors of lower and upper bounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.