comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Statistic codes: Significance level
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Statistic codes: Significance level [message #38287 is a reply to message #38274] Tue, 02 March 2004 01:32 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Andry William (Please remove \".spam\")" <andry@ya.com.spam> writes:

> Dear all:
>
> I am processing some long term time series of various data.
> I computed the long term trends using the REGRESS fuction.
> However, I need to also give the significance level of the
> trends. I have been looking around for a code to do it but
> have not found anything.

What do you mean by "significance level of the trend?" Do you mean
you want to estimate a confidence interval of the slope parameter to
your fit? Can you supply uncertainty estimates for your time series?
If yes to both, then routines like LINFIT or MPFITFUN can do this (Bob
points you in the right direction). If you can't supply uncertainty
estimates, then any estimated significance levels are irrelevant.
Also, if your trend model is non-linear, then estimated confidence
regions provided by these routines are not reliable, and you need to
make a chi-square confidence grid, as described in Bevington or
Numerical Recipes.

But "significance level" can have other meanings too. Sometimes this
can mean the goodness of the fit, in which case you would want to
compute the probability of chance occurrence of having a chi-square
value greater or less than a certain value (usually you would want to
do this when the fit is bad). MPCHITEST can help you there.

"Significance level of the trend" could also mean a comparison of the
fit with and without a trend. In that case you will want to perform
an F-test for that addition of the trend parameters. You can read
about this in Bevington, and use MPFTEST to compute the probabilities.
You will need two fitted chi-saure values: one with, and one without,
the trend.

Good luck,
Craig

P.S. MP* routines are at

http://cow.physics.wisc.edu/~craigm/idl/idl.html (under fitting)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2D-fit
Next Topic: Re: 2D-fit

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 03:00:46 PDT 2025

Total time taken to generate the page: 0.96046 seconds