powered by
Maximum Likelihood Estimation for the dynamic weighted mixture model of Frigessi et al., 2002
fitMixing(cell, body, tail, method="L-BFGS-B", c_location0=0.75, c_scale0=2)
lossdat cell
body distribution, either gamma, lnorm or weibull
tail distribution, either gamma, lnorm, weibull or gpd
optimization method, default is "L-BFGS-B"
empirical quantile of loss severity data used for initialization of Cauchy location parameter in optimization: quantile(cell$Loss,c_location0)
scaling factor for empirical standard deviation used for initialization of Cauchy scale parameter in optimization: sd(cell$Loss)/c_scale0
Returns a sevdist object of type 'mixing' with the given body and tail distributions fitted to the loss data.
Body and tail parameters are initialized by method of moments estimators. Cauchy location is initialized by empirical 70
Frigessi et al. A Dynamic Mixture Model for Unsupervised Tail Estimation without Threshold Selection, Extremes 5(3):219-235, 2003
# NOT RUN { data(lossdat) sev=fitMixing(lossdat[[1]],"weibull","gpd") sev plot(sev,5000) # }
Run the code above in your browser using DataLab