On Tue, Aug 28, 2012 at 9:58 PM, Salma Wafi <salmawaf...@yahoo.com> wrote: > Hi, I am trying to get the maximum likelihood estimator for lognormal > distribution with censored data;when we have left, interval and right > censord. I built my code in R, by writing the deriving of log likelihood > function and using newton raphson method but my estimators were too high " > overestimation", where the values exceed the 1000 in some runing of my code. > is there any one can tell me where the error can be and help me in how I can > get the estimators with right way?. > kind regards
This sounds like a rather complicated calculation and would be much easier to follow along with if you could provide a reproducible example: this site provides many useful pointers. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Cheers, Michael > [[alternative HTML version deleted]] > > > ______________________________________________ > 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. > ______________________________________________ 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.