gen_rw: Generate a random walk without drift

Description Usage Arguments Value Examples

Description

Generates a random walk without drift.

Usage

1
gen_rw(N, sigma2 = 1)

Arguments

N

An integer for signal length.

sigma2

A double that contains process variance.

Value

grw A vec containing the random walk without drift.

Examples

1
gen_rw(10, 8.2)

gmwm documentation built on April 14, 2017, 4:38 p.m.