R/hypoexpTvaru.R

Defines functions hypoexpTvaru

Documented in hypoexpTvaru

hypoexpTvaru <- function(process) {
    function(prob) {
        quant <- hypoexpVaru(process)(prob)
        return(rev(cumsum(rev(int.multi(f     = hypoexpRuinprob(process)[['psi']],
                                        nodes = c(quant, Inf))))) / prob + quant)
    }
}

Try the sdprisk package in your browser

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

sdprisk documentation built on May 1, 2019, 7:50 p.m.