MDF.single: MDF procedure for a single unknown break.

View source: R/MDF.single.R

MDF.singleR Documentation

MDF procedure for a single unknown break.

Description

MDF procedure for a single unknown break.

Usage

MDF.single(y, const = FALSE, trend = FALSE, trim = 0.15)

Arguments

y

A time series of interest.

const

Whether the constant term should be included.

trend

Whether the trend term should be included.

trim

Trimming value for a possible break date bounds.

Details

The code provided is the original Ox code by Skrobotov (2018) ported to R.

Value

A list of sublists each containing

  • The value of statistic: MDF-GLS, MDF-OLS,

  • The asymptotic critical values. UR values are included as well.


d9d6ka/RANEPA-R documentation built on May 4, 2024, 7:11 a.m.