Function for finding SMNG quantiles
Non-linear function whose zero can be fuond by the uniroot procedure in order to obtain the SMNG quantile corresponding to probability p.
uniroot
p
zerfun(x, mu, delta, gamma, lambda, beta, p, rel_tol)
Useful links