ar1_to_gm | R Documentation |
Takes AR1 values and transforms them to GM
ar1_to_gm(theta, freq)
theta |
A |
freq |
A |
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)
A vec
containing GM values.
JJB
ar1_to_gm(c(0.3,1,0.6,.3), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.