nrwm: Normal Random Walk

Description Usage Arguments Value Author(s) Examples

View source: R/nrwm.R

Description

Normal Random Walk with a Bayesian prediction.

Usage

1
nrwm(n, v, w, c)

Arguments

n

length.

v

prior variance of V_0.

w

prior variance of W_0.

c

variance of the prior Normal Distribution.

Value

nrw

realizations of a Normal Random Walk

Mt

posterior expectation m_t

Author(s)

Shelemyahu Zacks

Examples

1
nrwm(n = 10, v = 5, w = 8, c = 0.5)

mistat documentation built on April 18, 2021, 5:07 p.m.