Re: Pls help Curve ftting
- From: "Randy Poe" <poespam-trap@xxxxxxxxx>
- Date: 22 Aug 2005 10:21:37 -0700
Teresa wrote:
> Hi All,
>
> The equation x - [(2y+c)^3/2-c^3]/y is very helpful to me. I forgot
> I could just do the calculation in this way.><
> But when doing so, I found the fitting is unreasonable(the value of y
> is very large).
Do you mean the fitted values are very large, not at all
close to the experimental values?
> Is there any thing I should set besides the
> boundaries of coefficients?
Perhaps just a better initial guess. Do you have any idea
what it should be?
Note that y is very small (1e-8 to 1e-9). If c is much
larger than y, you may be getting some severe numerical
errors. Your equation may need some rethinking.
> Also,
> > Are the errors to be calculated in x or in y (or >something else
> altogether?). The above suggestion >calculates the errors in x.
>
> I dont understand the meaning of the above question. In my case, I
> want to find the parameter c with some experimental data x and y.
The question has to do with your "goodness of fit" criterion.
Consider any point with a nearby curve. How do you measure
how far that point is from the curve?
Usually least squares wants to minimize the vertical
distance between curve and data points, so a good fit will
fall close to the data points vertically.
This error function, when minimized, will mean that at
each value of y in your data, the HORIZONTAL distance
to the curve is small. Is that a reasonable thing
to minimize?
There's also something called "total least squares"
which tries to make sure the distance of each point
to the closest point on the curve is minimized. The
direction to the closest point could be horizontal,
vertical, or some other direction.
- Randy
.
- References:
- Re: Pls help Curve ftting
- From: John D'Errico
- Re: Pls help Curve ftting
- From: Teresa
- Re: Pls help Curve ftting
- From: John D'Errico
- Re: Pls help Curve ftting
- From: Predictor
- Re: Pls help Curve ftting
- From: John Creighton
- Re: Pls help Curve ftting
- From: Teresa
- Re: Pls help Curve ftting
- Prev by Date: Re: run MatLab from .bat by using OS Scheduler
- Next by Date: Re: GUI problems with inshow command in ver 7.0.1
- Previous by thread: Re: Pls help Curve ftting
- Next by thread: Five Panel Gone?
- Index(es):
Relevant Pages
|
Loading