Learn R Programming

gmwmx2 (version 0.0.5)

wn: White noise process (time_series_model)

Description

Constructs a time_series_model for white noise with variance sigma2. The process is defined as \(X_t \stackrel{\text{i.i.d.}}{\sim} N(0, \sigma^2)\) with autocovariance \(\gamma(h) = \mathrm{cov}(X_t, X_{t+h}) = \sigma^2 \mathbf{1}\{h=0\}\)

Usage

wn(sigma2 = NULL)

Value

A time_series_model object.

Arguments

sigma2

Innovation variance (> 0).

Examples

Run this code
mod <- wn(sigma2 = 1)
mod

Run the code above in your browser using DataLab