fit.GB {bda} | R Documentation |
To fit a generalized beta distribution to raw/binned data.
fit.GB(x, lbound, ubound)
x |
A vector of raw data, or a histogram or binned data. |
lbound,ubound |
lower and upper bound for the support of the density. The bounds could be finite values, or positive or negative infinity. |
x <- rnorm(100, 34.5,1.5) hofc <- binning(x, bw=1) lmd7 <- fit.GB(hofc) plot(lmd7) gof(lmd7)