acf_DExp function

Autocorrelation function of the double exponential trawl function

Autocorrelation function of the double exponential trawl function

This function computes the autocorrelation function associated with the double exponential trawl function.

acf_DExp(x, w, lambda1, lambda2)

Arguments

  • 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

Returns

The autocorrelation function of the double exponential trawl function evaluated at x

Details

The trawl function is parametrised by parameters 0w10\le w\le 1

and λ1,λ2>0\lambda_1, \lambda_2 > 0 as follows:

g(x)=weλ1x+(1w)eλ2x,\mboxforx0. g(x) = w e^{\lambda_1x}+(1-w) e^{\lambda_2 x}, \mbox{ for } x \le 0.

Its autocorrelation function is given by:

r(x)=(weλ1x/λ1+(1w)eλ2x/λ2)/c,\mboxforx0, r(x) = (w e^{-\lambda_1 x}/\lambda_1+(1-w)e^{-\lambda_2 x}/\lambda_2)/c, \mbox{ for } x \ge 0,

where

c=w/λ1+(1w)/λ2. c =w/\lambda_1+(1-w)/\lambda_2.

Examples

acf_DExp(1,0.3,0.1,2)
  • Maintainer: Almut E. D. Veraart
  • License: GPL-3
  • Last published: 2021-02-22

Useful links