acf_Exp: Autocorrelation function of the exponential trawl function

Description Usage Arguments Details Value Examples

View source: R/TrawlCorrelationFunctions.R

Description

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

Usage

1
acf_Exp(x, lambda)

Arguments

x

The argument (lag) at which the autocorrelation function associated with the exponential trawl function will be evaluated

lambda

parameter in the exponential trawl

Details

The trawl function is parametrised by the parameter λ > 0 as follows:

g(x) = e^{λ x}, \mbox{ for } x ≤ 0.

Its autocorrelation function is given by:

r(x) = e^{-λ x}, \mbox{ for } x ≥ 0.

Value

The autocorrelation function of the exponential trawl function evaluated at x

Examples

1
2
3
4
#Evaluate the trawl autocorrelation function at x=1
acf_Exp(1,0.1)
#Plot the trawl autocorrelation function
plot(acf_Exp((0:10),0.1))

trawl documentation built on Aug. 16, 2018, 5:04 p.m.