ar1_lpdf_cpp: Evaluate the log-density of a stationary Gaussian AR(1)...

Description Usage Arguments Value

Description

Evaluate the log-density of a stationary Gaussian AR(1) process, observed at times times taking values x.

Usage

1
ar1_lpdf_cpp(x, mu, times, rho, sigma)

Arguments

x

A vector of observed values.

mu

A vector of expected values.

times

A vector of the time points of observation.

rho

A real number strictly less than 1 in absolute value.

sigma

A positive real number.

Value

A scalar, the log density.


BenjaK/irregulAR1 documentation built on May 30, 2019, 3:51 p.m.