dot-checkKuttner: Checks the input variables for the procedure 'KuttnerModel'...

.checkKuttnerR Documentation

Checks the input variables for the procedure KuttnerModel for consistency and validity.

Description

Checks the input variables for the procedure KuttnerModel for consistency and validity.

Usage

.checkKuttner(
  tsl,
  trend,
  cycle,
  cycleLag,
  errorARMA,
  start,
  end,
  anchor,
  anchor.h
)

Arguments

tsl

A list of time series objects, see details.

trend

A character string specifying the trend model. trend = "RW1" denotes a first order random walk, trend = "RW2" a second order random walk (local linear trend) and trend = "DT" a damped trend model. The default is trend = "RW1".

cycle

A character string specifying the cycle model. cycle = "AR1" denotes an AR(1) process, cycle = "AR2" an AR(2) process. The default is cycle = "AR2".

cycleLag

A non-negative integer specifying the maximum cycle lag that is included in the inflation equation. The default is cycleLag = 0, see details.

errorARMA

A vector with non-negative integers specifying the AR and MA degree of the error term in the inflation equation.

start

(Optional) Start vector for the estimation, e.g. c(1980, 1).

end

(Optional) End vector for the estimation, e.g. c(2020, 1).

anchor

(Optional) Anchor value for the logarithm of trend gdp.

anchor.h

(Optional) Anchor horizon in the frequency of the given time series.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.