nls() actually uses different modeling formulas depending on the 'algorithm',
and
there is, in my view as a long time nonlinear modeling person, an unfortunate
structural issue that likely cannot be resolved simply. This is because for
nonlinear
modeling programs we really should be using explic
Doesn't nls() expect that the lengths of vectors on both sides of the
formula match (if both are supplied)? Perhaps it should check for that.
-Bill
On Thu, Jan 26, 2023 at 12:17 AM Dave Armstrong wrote:
> Dear Colleagues,
>
> I recently answered [this question]() on StackOverflow that identifi
FWIW, nlsr::nlxb() gives same answers.
JN
On 2023-01-25 09:59, Dave Armstrong wrote:
Dear Colleagues,
I recently answered [this question]() on StackOverflow that identified
what seems to be unusual behaviour with `stats:::nls.fitted()`. In
particular, a null model returns a single fitted value
Dear Colleagues,
I recently answered [this question]() on StackOverflow that identified
what seems to be unusual behaviour with `stats:::nls.fitted()`. In
particular, a null model returns a single fitted value rather than a
vector of the same fitted value of `length(y)`. The documentation
doe