Re: large Residual in lsqnonlin



Thanks for your suggestions, John. I'll certainly try using weighted
least squares. Estimation of 5 or more parameters using only one ODE
probably does take a lot of iterations and cpu time.

I face another technical difficulty is that Line-search method does
not handle bound constraints, so if I include lower bound for my
parameters, it switches to large-scale method instead.

John D'Errico wrote:
>
>
> In article <ef1e7c1.0@xxxxxxxxxxxxxxxx>, Beiyan
<beiyanou@xxxxxxx>
> wrote:
>
>> After I changed maxIter to 200, and MaxFunEvals to 2000, the
> program
>> stopped saying:
>> No improvement in search direction: Terminating
>>
>> Any suggestions?
>
> Its very difficult to guess what can be done to
> help here. One possibility is to consider a
> weighted least squares. Simply choose weights
> by which to scale your residuals. This can be
> appropriate if the uncertainty in your model
> increases with residual size. Such proportional
> error is often appropriate.
>
> HTH,
> John D'Errico
>
>
> --
> The best material model of a cat is another, or preferably the
> same, cat.
> A. Rosenblueth, Philosophy of Science, 1945
>
> Those who can't laugh at themselves leave the job to others.
> Anonymous
>
.



Relevant Pages

  • Re: Need help doing nonlinear fit using Optimization Toolkit
    ... What I want to find in a least squares sense is the ... >> John D'Errico ... >> preferably the same, cat. ... Each spoke may have from 2 to 10 points not necessarily ...
    (comp.soft-sys.matlab)
  • Re: Appeal to Join the Death Penalty Campaign- Amnesty Internatioanl India
    ... aspirations as for a frontier. ... Other true worthwhile squares will ... taste precisely before piers. ... Until John drops the leaderships readily, ...
    (rec.ponds)
  • Re: Yes Sir, Yes Sir, Three Bags Full.
    ... John wrote: ... bunch of diagonal 2 color squares that I have left over from another ... to use up some more of these darn squares. ... to the detriment of my quilting output. ...
    (rec.crafts.textiles.sewing)
  • Re: Which Haka?
    ... Have you got this one marked John Hudson??? ... It was clearly for the attention of Neil Simpson, ... as opposed to the machine weights. ... Was that so you could catch up with work after a hard days trolling ...
    (rec.sport.rugby.union)
  • Re: "How dry I aaaaaaaaaammmm" :-)
    ... drysuit as your bouyancy compensation don't it will make the drysuit ... It's still not the same for me as driving wet because wet I use a 7mm farmer john and the double layer up top makes the center of buoyancy higher than when diving dry, when the center of buoyancy is a bit lower. ... I can see how some people might need--or at least be more comfortable with--ankle weights even though I don't need or want them. ...
    (rec.scuba)