Dear AllI'm trying to find the maximum likelihood estimator ?of a certain distribution using nlm command but I receive an error as: ?non-finite value supplied by 'nlm' can't figure?out what is wrong in my function Any help? Thank you in advance [[alternative HTML version deleted]]
On 29/03/16 09:19, heba eldeeb via R-help wrote:> Dear All > I'm trying to find the maximum likelihood estimator of a certain > distribution using nlm command but I receive an error as: > non-finite value supplied by 'nlm' can't figure out what is wrong in > my function Any help? Thank you in advance.Sorry, the mind_read() function in R has not yet been written. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
Using the print.level=2 argument to nlm can help track this down. Also, set options(warn=1) before calling nlm so warnings get printed as soon as they are generated. Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Mar 28, 2016 at 3:32 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:> On 29/03/16 09:19, heba eldeeb via R-help wrote: > >> Dear All >> I'm trying to find the maximum likelihood estimator of a certain >> distribution using nlm command but I receive an error as: >> non-finite value supplied by 'nlm' can't figure out what is wrong in >> my function Any help? Thank you in advance. >> > > Sorry, the mind_read() function in R has not yet been written. > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. >[[alternative HTML version deleted]]
Le 28/03/2016 22:19, heba eldeeb via R-help a ?crit :> Dear AllI'm trying to find the maximum likelihood estimator of a certain distribution using nlm command but I receive an error as: > non-finite value supplied by 'nlm' > can't figure out what is wrong in my function > Any help? > Thank you in advance > >Hi, Whitout rproducible example, it will be impossible to help you efficiently. See https://www.r-project.org/posting-guide.html Anyway, this error means that your function returns NA or error for some combination of parameters. Marc