powered by
To fit a generalized beta distribution to raw/binned data.
fit.GB(x, lbound, ubound)
A vector of raw data, or a histogram or binned data.
lower and upper bound for the support of the density. The bounds could be finite values, or positive or negative infinity.
# NOT RUN { x <- rnorm(100, 34.5,1.5) hofc <- binning(x, bw=1) lmd7 <- fit.GB(hofc) plot(lmd7) gof(lmd7) # }
Run the code above in your browser using DataLab