pkins University
Ph. (410) 502-2619
email: rvarad...@jhmi.edu
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Ben Bolker
Sent: Friday, March 25, 2011 3:23 PM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] a question on R optimiz
Paul Gilbert bank-banque-canada.ca> writes:
>
> It seems more likely that the return value from your function
> is NA or NaN or Inf. This might then result in an
> NA parameter value being calculated for the next step.
> This is possible, for example, because the line
> search extends outside
It seems more likely that the return value from your function is NA or NaN or
Inf. This might then result in an NA parameter value being calculated for the
next step. This is possible, for example, because the line search extends
outside the feasible region. You can re-write your function to ch
icine
Johns Hopkins University
Ph. (410) 502-2619
email: rvarad...@jhmi.edu
- Original Message -
From: Ben Bolker
Date: Friday, March 25, 2011 8:11 am
Subject: Re: [R] a question on R optimization functions
To: r-h...@stat.math.ethz.ch
> Dajiang J. Liu gmail.com> writes:
>
>
Dajiang J. Liu gmail.com> writes:
> I use nlminb or optim for maximizing likelihood functions. Sometimes,
> the parameter values happen to be NA, then the program will hang there
> and iterate forever without stopping. No error message will be
> produced. So I can not use error catch method such
5 matches
Mail list logo