Description Usage Arguments Details Value Examples
View source: R/TrawlCorrelationFunctions.R
This function computes the autocorrelation function associated with the double exponential trawl function.
1 | acf_DExp(x, w, lambda1, lambda2)
|
x |
The argument (lag) at which the autocorrelation function associated with the double exponential trawl function will be evaluated |
w |
parameter in the double exponential trawl |
lambda1 |
parameter in the double exponential trawl |
lambda2 |
parameter in the double exponential trawl |
The trawl function is parametrised by parameters 0≤ w≤ 1 and λ_1, λ_2 > 0 as follows:
g(x) = w e^{λ_1 x}+(1-w) e^{λ_2 x}, \mbox{ for } x ≤ 0.
Its autocorrelation function is given by:
r(x) = (w e^{-λ_1 x}/λ_1+(1-w) e^{-λ_2 x}/λ_2)/c, \mbox{ for } x ≥ 0,
where
c = w/λ_1+(1-w)/λ_2.
The autocorrelation function of the double exponential trawl function evaluated at x
1 | acf_DExp(1,0.3,0.1,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.