Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

AR1

Definition of an Autoregressive Process of Order 1


Description

Definition of an Autoregressive Process of Order 1

Usage

AR1(phi = NULL, sigma2 = 1)

Arguments

phi

A double value for the parameter phi (see Note for details).

sigma2

A double value for the variance parameter sigma^2 (see Note for details).

Value

An S3 object containing the specified ts.model with the following structure:

process.desc

Used in summary: "AR1","SIGMA2"

theta

Parameter vector including phi, sigma^2

plength

Number of parameters

print

String containing simplified model

desc

"AR1"

obj.desc

Depth of Parameters e.g. list(1,1)

starting

Find starting values? TRUE or FALSE (e.g. specified value)

Note

We consider the following AR(1) model:

X_t = φ X_{t-1} + \varepsilon_t

, where \varepsilon_t is iid from a zero mean normal distribution with variance σ^2.

Author(s)

James Balamuta

Examples

AR1()
AR1(phi=.32, sigma2 = 1.3)

simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.