R/fun.rs.perc.sol.alt.R

"fun.rs.perc.sol.alt" <-
function(coef, u = 0.1, data)
{
L3 <- coef[,1]
L4 <- coef[,2]
pp <- fun.lambda.percentile(data)
L2 <- ((1 - u)^L3 - u^L4 + (1 - u)^L4 - u^L3)/pp$p2
L1 <- pp$p1 - (0.5^L3 - 0.5^L4)/L2
return(list("L1"=L1, "L2"=L2, "L3"=L3, "L4"=L4))
}

Try the GLDEX package in your browser

Any scripts or data that you put into this service are public.

GLDEX documentation built on Aug. 21, 2023, 9:08 a.m.