[R] Fitting Distributions Directly From a Histogram

From: Lorenzo Isella <lorenzo.isella_at_gmail.com>
Date: Mon 12 Jun 2006 - 20:51:40 EST


Dear All,

A simple question: packages like fitdistr should be ideal to analyze samples of data taken from a univariate distribution, but what if rather than the raw data of the observations you are given directly and only a histogram?
I was thinking about generating artificially a set of data corresponding to the counts binned in the histogram, but this sounds too cumbersome.
Another question is the following: fitdistr provides the value of the log-likely hood function, but what if I want e.g. a chi square test to
get some insight on the goodness of the fitting? I am sure there must be a way to get it straightforwardly without coding it myself.
Many thanks

Lorenzo



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jun 12 21:01:50 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 19 Jun 2006 - 10:11:14 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.