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

Home » Public Forums » archive » Re: CHISQR_CVF question. -RESOLVED
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: CHISQR_CVF question. -RESOLVED [message #67625] Thu, 20 August 2009 11:39 Go to next message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"R.G. Stockwell" <noemail87@please.com> wrote in message
news:h6jv18$4cf$1@aioe.org...
>
> "Craig Markwardt" <craig.markwardt@gmail.com> wrote in message
> news:cab41ca6-e1a4-4f73-851f-8b25ab0c1e58@k26g2000vbp.google groups.com...
> On Aug 19, 4:42 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
>> "Paolo" <pgri...@gmail.com> wrote in message
snip a lot



The upshot is, given a probablity level ( or significance level) of 95%
or 0.95 (and degrees of freedom = 2 for 1D power spectra) then the
constant 95% signicicance level is given as follows:

cutoffs= CHISQR_CVF(1-siglevel, degreesoffreedom)
cutoffs = cutoffs*stddeviation^2/(2*length)

stddeviation is the standard deviation of the random time series.
Length is the number of points in the time series.

If you plot cutoff over your power spectrum that is the 95% level.
Therefore 5% of the points (remember to double it if you only have half the
spectrum)
will lie above that line, 95% below. You can input any siglevel you want.
Also, this is normalized to fit any power spectra, invariante to # of points
and
to the variance of the noise.

cheers,
bob

thanks for all the responses.
Re: CHISQR_CVF question. -RESOLVED [message #67731 is a reply to message #67625] Mon, 24 August 2009 16:18 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Craig Markwardt" <craig.markwardt@gmail.com> wrote in message
news:6e43ebfd-03e4-447a-80ed-e136a07d5732@o21g2000vbl.google groups.com...
On Aug 20, 2:39 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
> "R.G. Stockwell" <noemai...@please.com> wrote in message
>
> news:h6jv18$4cf$1@aioe.org...
>
>> "Craig Markwardt" <craig.markwa...@gmail.com> wrote in message
>> news:cab41ca6-e1a4-4f73-851f-8b25ab0c1e58@k26g2000vbp.google groups.com...
>> On Aug 19, 4:42 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
>>> "Paolo" <pgri...@gmail.com> wrote in message
>
> snip a lot
>

A few comments...

> The upshot is, given a probablity level ( or significance level) of 95%
> or 0.95 (and degrees of freedom = 2 for 1D power spectra) then the
> constant 95% signicicance level is given as follows:

> You need to be explicit that you are using FFT(,-1) for your powers.

> As I was trained,
> 0.95 is the confidence level (what you call "siglevel")
> 0.05 = 1-0.95 is the significance level
*****************************************

ok. I actually have heard it differently, with significance levels.
(i.e. the peak above 95% significance level) and confidence
intervals ( plotting the +- range at which a peak has a 95% chance
of being in).

cheers,
bob
Re: CHISQR_CVF question. -RESOLVED [message #67749 is a reply to message #67625] Sat, 22 August 2009 10:57 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Aug 20, 2:39 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
> "R.G. Stockwell" <noemai...@please.com> wrote in message
>
> news:h6jv18$4cf$1@aioe.org...
>
>> "Craig Markwardt" <craig.markwa...@gmail.com> wrote in message
>> news:cab41ca6-e1a4-4f73-851f-8b25ab0c1e58@k26g2000vbp.google groups.com...
>> On Aug 19, 4:42 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
>>> "Paolo" <pgri...@gmail.com> wrote in message
>
>  snip a lot
>

A few comments...

> The upshot is, given a probablity level ( or significance level) of 95%
> or 0.95 (and degrees of freedom = 2 for 1D power spectra) then the
> constant 95% signicicance level is given as follows:

You need to be explicit that you are using FFT(,-1) for your powers.

As I was trained,
0.95 is the confidence level (what you call "siglevel")
0.05 = 1-0.95 is the significance level

So if you measure a really high power, it's significant at a 10^{-8}
level or whatever, or equivalently, you can be 0.99999999 confident of
a detection.

> cutoffs= CHISQR_CVF(1-siglevel, degreesoffreedom)
> cutoffs = cutoffs*stddeviation^2/(2*length)
>
> stddeviation is the standard deviation of the random time series.
> Length is the number of points in the time series.
>
> If you plot cutoff over your power spectrum that is the 95% level.
> Therefore 5% of the points (remember to double it if you only have half the
> spectrum)
> will lie above that line, 95% below.  You can input any siglevel you want.
> Also, this is normalized to fit any power spectra, invariante to # of points
> and
> to the variance of the noise.
>
> cheers,
> bob
>
> thanks for all the responses.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: netCDF Browser Update
Next Topic: Re: Histogram Too Many Array Elements

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

Current Time: Wed Oct 08 11:41:18 PDT 2025

Total time taken to generate the page: 0.00598 seconds