ovl_distfit.Rd
Calculate distribution overlap by distribution fitting. User need to specify which distribution family to use. This function estimates population distribution from sample distributions. It utilizes fitdist function in fitdistrplus R package.
ovl_distfit(x1, x2, family = c("norm", "lognorm", ...))
x1 | A numeric vector. |
---|---|
x2 | A numeric vector. |
family | A string to specify the distribution family. |
estimated overlap between two distributions (range: 0 to 1)
Seongyong Park (2020-08-18)
#> [1] 0.6531457