Learn R Programming

trawl (version 0.2.2)

acf_Exp: Autocorrelation function of the exponential trawl function

Description

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

Usage

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

Value

The autocorrelation function of the exponential trawl function evaluated at x

Details

The trawl function is parametrised by the parameter \(\lambda > 0\) as follows: $$g(x) = e^{\lambda x}, \mbox{ for } x \le 0.$$ Its autocorrelation function is given by: $$r(x) = e^{-\lambda x}, \mbox{ for } x \ge 0.$$

Examples

Run this code
# NOT RUN {
acf_Exp(1,0.1)
# }

Run the code above in your browser using DataLab