onebp: Optimal one break partition in partial structural change...

View source: R/EstDate.R

onebpR Documentation

Optimal one break partition in partial structural change model

Description

Function computes the optimal one break partition in partial structural change model by searching over all possible breaks

Usage

onebp(y, z, x, h, start, last)

Arguments

y

dependent variables

z

independent variables with coefficients allowed to change across regimes

x

independent variables with constant coefficients across regimes

h

minimal length of segment

start

initial date to search

last

last date to search

Value

A list containing the following components

ssrmin

associated SSR of optimal break

dx

optimal date (global minimizer)


RoDivinity/BP2003 documentation built on Oct. 9, 2022, 9:33 a.m.