simModel3: Simulate an MA(1) model (Model #3)

View source: R/simModel3.R

simModel3R Documentation

Simulate an MA(1) model (Model #3)

Description

Simulate an MA(1) model (Model #3)

Usage

simModel3(n = 100, mean = 0, theta = 0.5, sderror = 1)

Arguments

n

Length of the series to simulate

mean

Mean (theoretical) of the series

theta

Coeffiecient of error a(t-1)

sderror

Standard deviation of the error term

Value

A time series simulated from the MA(1) model


statmanrobin/ts343AJ documentation built on May 23, 2022, 4:34 p.m.