The MLE of beta is the reciprocal of the sample mean, so you don't need an
optimizer here.
Reid Huntsinger
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nadja Riedwyl
Sent: Tuesday, September 06, 2005 9:39 AM
To: r-help@stat.math.ethz.ch
Subject: [R]
On 06-Sep-05 Huntsinger, Reid wrote:
The MLE of beta is the reciprocal of the sample mean, so you
don't need an optimizer here.
Reid Huntsinger
While that is true (and Naja clearly knew this), nevertheless
one expects that using an optimiser should also work. Nadja's
observations need an
Huntsinger
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, September 06, 2005 11:46 AM
To: r-help@stat.math.ethz.ch
Cc: Nadja Riedwyl
Subject: Re: [R] fitting distributions with R
On 06-Sep-05 Huntsinger, Reid wrote
On Tue, 6 Sep 2005, [EMAIL PROTECTED] wrote:
However, a related method available for 'optim' is L-BFGS-B
which allows _box constraints_, that is each variable can be
given a lower and/or upper bound. The initial value must satisfy
the constraints. This can be set in a parameter for 'mle'.