Learn R Programming

midasml (version 0.0.6)

beta_w: Beta density polynomial weights

Description

For a given set of parameters \(\theta\) and the number of high-frequency lags, returns weights implied by Beta density functional form.

Usage

beta_w(param, dayLag)

Arguments

param

two-dimensional parameter vector \(\theta\).

dayLag

number of high-frequency lags.

Value

(normalized) weights vector.

Examples

Run this code
# NOT RUN {
param <- c(2,2)
dayLag <- 22
beta_w(param, dayLag)
# }

Run the code above in your browser using DataLab