Learn R Programming

trawl (version 0.2.2)

trawl_DExp: Evaluates the double exponential trawl function

Description

Evaluates the double exponential trawl function

Usage

trawl_DExp(x, w, lambda1, lambda2)

Arguments

x

the argument at which the double exponential trawl function will be evaluated

w

parameter in the double exponential trawl

lambda1

the parameter \(\lambda_1\) in the double exponential trawl

lambda2

the parameter \(\lambda_2\) in the double exponential trawl

Value

The double exponential trawl function evaluated at x

Details

The trawl function is parametrised by parameters \(0\leq w\leq 1\) and \(\lambda_1, \lambda_2 > 0\) as follows: $$g(x) = w e^{\lambda_1 x}+(1-w) e^{\lambda_2 xz}, \mbox{ for } x \le 0.$$