Re: Fitting Functions

From: Franz Heymann (notfranz.heymann_at_btopenworld.com)
Date: 06/16/04


Date: Wed, 16 Jun 2004 22:42:48 +0000 (UTC)


"Gregory L. Hansen" <glhansen@steel.ucs.indiana.edu> wrote in message
news:capl9s$he4$1@hood.uits.indiana.edu...
> In article <sQOzc.31$45.13163@news.uchicago.edu>,
> <mmeron@cars3.uchicago.edu> wrote:
> >In article <cann9o$t4h$1@hood.uits.indiana.edu>,
> >glhansen@steel.ucs.indiana.edu (Gregory L. Hansen) writes:
> >>
> >>It seems so simple; let the computer fit y0+A*exp(-invtau*x) to a
peice of
> >>data and that's that. But depending on the starting conditions I
got
> >>invtau = 0.246, 0.405, 0.467, and they all looked pretty good.
And I fit
> >>to my own function, y0+A*exp(-invtau(x-x0)) with x0 held constant,
and got
> >>invtau=0.626. That looks a lot more like the value I expected, so
that's
> >>what I'll keep. What the hell, it's as good as any other. Lowest
> >>chisquare, but the chisquares of the first three only differed by
a few
> >>percent.
> >>
> >>When fitting to data like that, how can I have reasonable
confidence that
> >>my number is the one that corresponds to the real world?
> >>
> >In general, you cannot. A sufficient amount of beer will improve
the
> >confidence (ale is better than lager in this respect) and few shots
of
> >Jack Daniels may work even better, but the effect is transient.
> >
> >To the point, if your fitting procedure estimates only the fit
> >parameters, not their errors as well, then it is not good enough.
>
> I use Igor Pro, and that will give fits, uncertainties, chi-squares,
> covariance matrices, confidence intervals... I don't even know what
> confidence intervals are.
>
> But to give an example from yesterday, these are four different fits
to
> the same set of data. The first three were fit to
y0+A*exp(-invtau*x),
> the fourth to y+A*exp(-invtau*(x-x0)) with x0 given and fixed.
>
> invtau chi_square
> -------------- ----------
> 0.245 +- 5e-13 9.92e-14
> 0.403 +- 0.154 9.50e-14
> 0.467 +- 0.163 9.40e-14
> 0.626 +- 0.194 9.32e-14

Something is not right.
How come your chi_squares are so minute?

[snip]

Franz



Relevant Pages

  • Re: Fitting Functions
    ... >>confidence intervals are. ... >>the fit. ... that x0 was there in the built-in function all ... x0 is physically meaningful, it's when the heater switches state. ...
    (sci.physics)
  • thanks
    ... I was trying to figure out how to extract the confidence intervals ... for the coefficients of a fit, and this post helped me immensely. ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: OT - Andy Update? Re: Squad Tactics a Summary
    ... Started on the cardiac-rehab exercise classes, which leave me flat ... but I'm sure are doing me a power of good. ... fit enough to attend the pub occasionally:) ... I recommend little glasses of whiskey instead of pints of beer. ...
    (sci.military.naval)
  • Wrench Report (apes)
    ... I zip tied my new bars onto my old bars and ride on down to Victory. ... I ride home and i got money in the bank (means my fridge is full of beer) so I'm ready to go! ... Then i noticed I needed a larger 12 pt socket for the top of the brake line. ... Then I had to put new clamps on my heat shields since the old ones were cut to fit and I couldn't reconnect them. ...
    (rec.motorcycles.harley)
  • Re: Vortex Spring -- Political Correctiveness Invades the Florida Panhandle
    ... process of law is a constitutionally protected right. ... Their preference ... beer, once in a while, is not. ... the ninth and tenth amendments would fit pretty nicely. ...
    (rec.scuba)