Learn R Programming

cif (version 0.1.1)

ec.datadet1: prepares deterministics D^(1)

Description

Prepares deterministic data

Usage

ec.datadet1(n, befpn, breaks)

Arguments

n

is the number of obs in available data

befpn

is a vector with (begtrim,endtrim,nforecast,npred,nhstar)

breaks

is a vector of integers where the trend breaks should be

Value

matdet1 a matrix with the following columns (1_vec, t_vec) and (n+npred) rows

References

Berta et al. 2020