powered by
(x1,x2)
Computes correct latent trawl SINGLE pairwise likelihood depending on the values of (x1,x2) with exponential trawl function.
SinglePairPL(x1, x2, alpha, beta, kappa, B1, B2, B3, transformation = F, n.moments = 0)
Positive value corresponding to t1.
t1
Positive value corresponding to t2.
t2
Shape parameter. Should be positive.
Latent Gamma scale parameter. Should be positive.
Exceedance probability parameter. Should be positive.
Difference area between t1 and t2 (in this order).
Intersection area between t1 and t2 (in this order).
Difference area between t2 and t1 (in this order).
Boolean to use the Marginal Transform (MT) method.
Number of finite moments for transformed marginals.
SINGLE latent trawl pairwise likelihood depending on (x1,x2).
# NOT RUN { SinglePairPL(x1=0.5, x2= 0.3, alpha=0.3, beta=2, kappa=3, B1=0.3, B2=0.7, B3=0.3, FALSE) SinglePairPL(x1=2.0, x2=1.0, alpha=-2, beta=3., kappa=3, B1=0.3, B2=0.7, B3=0.3, TRUE) # }
Run the code above in your browser using DataLab