midas_si_plain: MIDAS Single index regression

View source: R/midas_sp.R

midas_si_plainR Documentation

MIDAS Single index regression

Description

Function for fitting SI MIDAS regression without the formula interface

Usage

midas_si_plain(
  y,
  X,
  p.ar = NULL,
  weight,
  degree = 1,
  start_bws,
  start_x,
  start_ar = NULL,
  method = "Nelder-Mead",
  ...
)

Arguments

y

model response

X

prepared matrix of high frequency variable lags for MMM term

p.ar

length of AR part

weight

the weight function

degree

the degree of local polynomial

start_bws

the starting values bandwith

start_x

the starting values for weight function

start_ar

the starting values for AR part. Should be the same length as p

method

a method passed to optim, defaults to Nelder-Mead

...

additional parameters to optim

Value

an object similar to midas_r object

Author(s)

Virmantas Kvedaras, Vaidotas Zemlys


mpiktas/midasr documentation built on Aug. 24, 2022, 2:32 p.m.