R/UNCERTAINTY.R

UNCERTAINTY <-
function(Z0,disc=0.01){
threshold<-seq(disc,1-disc,by=disc)
F1<- quantile(Z0[1,],threshold)
F2<- quantile(Z0[2,],threshold)
unc<-sum(abs(F1-F2))
return(unc)
}

Try the HYRISK package in your browser

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

HYRISK documentation built on May 2, 2019, 12:54 p.m.