dgp_ar1_mae: Generate data according to Equation 1 page 183 of Enders.

Description Usage Arguments Value Author(s) Examples

View source: R/dgp_ar1_mae.R

Description

Returns a vector of time series values

Usage

1
dgp_ar1_mae(periods = 100, sd = 1, gamma = 1, theta = 0.5)

Arguments

periods

A time series object

sd

Standard deviation

gamma

Gamma

theta

Theta

Value

A data frame

Author(s)

Gary Cornwall and Jeffrey Chen

Examples

1
2
3
4
dgp_ar1_mae(periods = 100,
            sd = 1,
            gamma = 1,
            theta = .5)

DataScienceForPublicPolicy/unitrootML documentation built on Dec. 17, 2021, 4:07 p.m.