Learn R Programming

midasml (version 0.0.6)

als_loss: Asymmetric least squares loss for ARDL-MIDAS or DL-MIDAS regression

Description

For a set of parameter in param vector, data inputs y, x and z, and weight function specification, computes the mse loss.

Usage

als_loss(param, y, x, z, weight, tau, ...)

Arguments

param

parameter vector.

y

response variable.

x

high-frequency covariate lags.

z

low-frequency variable lags.

weight

non-linear weight function specification.

tau

quantile level.

...

currently ignored optional parameters.

Value

objective function value evaluated at param.