midas_pl_plain: MIDAS Partialy linear non-parametric regression

View source: R/midas_sp.R

midas_pl_plainR Documentation

MIDAS Partialy linear non-parametric regression

Description

Function for fitting PL MIDAS regression without the formula interface

Usage

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

Arguments

y

model response

X

prepared matrix of high frequency variable lags for MMM term

z

a vector, data for the non-parametric part

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

...

additional parameters to optim

Value

an object similar to midas_r object

Author(s)

Virmantas Kvedaras, Vaidotas Zemlys


midasr documentation built on April 12, 2025, 1:19 a.m.