estimate_qra_quantgen | R Documentation |
Estimate qra model using quantgen package as backend
estimate_qra_quantgen(
qfm_train,
y_train,
qfm_test,
intercept,
constraint,
quantile_groups,
noncross = "constrain"
)
qfm_train |
QuantileForecastMatrix with training set predictions |
y_train |
numeric vector of responses for training set |
qfm_test |
QuantileForecastMatrix with test set predictions |
intercept |
logical specifying whether an intercept is included |
constraint |
character specifying constraints on parameters; 'convex', 'positive' or 'unconstrained' |
quantile_groups |
Vector of group labels for quantiles, having the same
length as the number of quantiles. Common labels indicate that the ensemble
weights for the corresponding quantile levels should be tied together.
Default is rep(1,length(quantiles)), which means that a common set of
ensemble weights should be used across all levels. This is the argument
|
noncross |
string specifying approach to handling quantile noncrossing: one of "constrain" or "sort". "constrain" means estimation is done subject to constraints ruling out quantile crossing. "sort" means no such constraints are imposed during estimation, but the resulting forecasts are sorted. |
object of class qra_fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.