GetRho: Characteristic time / auto-correlation for irregular time...

Description Usage Arguments Value Author(s)

View source: R/GetRho.R

Description

Estimates characteristic time τ or auto-correlation ρ from a gappy time series dataset. It works first by estimating the mean and standard deviation directly from the time series X, using these to standardize the time series, and then optimizes for the likelihood of the value of τ or ρ.

Usage

1
GetRho(x, t, tau = TRUE)

Arguments

x

vector of time series values.

t

vector of times of measurements associated with x.

tau

whether or not to estimate time scale τ (preferred) or autocorrelation ρ.

Value

Returns a vector of length two: the estimate and the negative log-likelihood

Author(s)

Eliezer Gurarie


bcpa documentation built on May 1, 2019, 10:30 p.m.