Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ar1_to_gm

Transform AR1 to GM


Description

Takes AR1 values and transforms them to GM

Usage

ar1_to_gm(theta, freq)

Arguments

theta

A vec that contains AR1 values.

freq

A double indicating the frequency of the data.

Details

The function takes a vector of AR1 values phi and sigma ^2 and transforms them to GM values beta and sigma ^2[gm] using the formulas: beta = -ln(phi)/delta_t sigma^2[gm] = sigma^2/(1-phi^2)

Value

A vec containing GM values.

Author(s)

James Balamuta


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.