Hello, I am fitting a parameterized log-normal distribution to a sample distribution (pdf). I am using the function "fitdistr" in package MASS to calculate the distribution parameters according to the maximum likelihood procedure and test for the goodness of fit using a chi-squared test (as I have binned data). However I would like to calculate the R-squared associated to the fit, since I will need to have a dispersion measure. Can someone help me on this? Is there a simple way of doing this?
Thanks in advance, Duarte ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.