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

Home » Public Forums » archive » How to find the confidence interval of a variable data at 95% or 66%?
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
How to find the confidence interval of a variable data at 95% or 66%? [message #89327] Mon, 18 August 2014 13:07 Go to next message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Dear All,

I have a few clarifications regarding finding the confidence interval (CI) of a variable data. As referred to the Fisher Z Transformation method, I find some clarity missing: http://www.idlcoyote.com/code_tips/ccconf.php

1. "The number 1.96 comes from a table of critical values for normalized distributions for 95% CI". Can any one say what will be this value for 66% CI? When I referred to Shen and Lu paper, I find that this factor 1.96 is defined by z(1-alpha/2) = 100*(1-alpha/2). It was mentioned that alpha = 0.05 for 95% CI, but I could not understand how 1.96 is obtained. Can anyone clarify?

2. Can I find the CI on any variable parameter, say, variance of a data array, instead of correlation coefficient? If it is acceptable, then following the above link, I define as below:

fishersz = 0.5*(log(1+var_X) - log(1-var_X)) ; Fisher's Z-transformation
...
...
...

Please provide me some insight on how I can find the CI at any % level?

Thanking you in advance,
Madhavan
Re: How to find the confidence interval of a variable data at 95% or 66%? [message #89330 is a reply to message #89327] Mon, 18 August 2014 20:35 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, August 18, 2014 3:07:30 PM UTC-5, Madhavan Bomidi wrote:
> Dear All,
>
>
>
> I have a few clarifications regarding finding the confidence interval (CI) of a variable data. As referred to the Fisher Z Transformation method, I find some clarity missing: http://www.idlcoyote.com/code_tips/ccconf.php
>
>
>
> 1. "The number 1.96 comes from a table of critical values for normalized distributions for 95% CI". Can any one say what will be this value for 66% CI? When I referred to Shen and Lu paper, I find that this factor 1.96 is defined by z(1-alpha/2) = 100*(1-alpha/2). It was mentioned that alpha = 0.05 for 95% CI, but I could not understand how 1.96 is obtained. Can anyone clarify?

It's in the Shen and Lu paper. z is the 100*(1-alpha/2) percentage point of the standard normal distribution. Examples,

IDL> print, gauss_cvf((1 - 0.95d)/2)
1.9599637
IDL> print, gauss_cvf((1 - 0.99d)/2)
2.5758293


> 2. Can I find the CI on any variable parameter, say, variance of a data array, instead of correlation coefficient? If it is acceptable, then following the above link, I define as below:

The confidence interval of a variable depends on the statistical distribution of the variable. In the correlation coefficient example, the variable has a Fisher-z distribution.

For another type of variable, such as variance of a data array, you must first describe the statistical properties of the data array. Most likely it will not be a Fisher-z distribution, and there may not be any known distribution.

CM
Re: How to find the confidence interval of a variable data at 95% or 66%? [message #89331 is a reply to message #89327] Mon, 18 August 2014 22:28 Go to previous messageGo to next message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Hello Craig Markwardt,

Thanks for the info about z calculation in Fisher Z transformation. How can we know whether a data array is of Fisher-z distribution? Supposing we don't know what the distribution of a data array, say random number array or some unknown variable data, how can we ascertain which distribution the data array represent from the known statistical parameters?

Any references will be helpful.
Thanking you in advance.
Regards,
Madhavan
Re: How to find the confidence interval of a variable data at 95% or 66%? [message #89333 is a reply to message #89331] Tue, 19 August 2014 06:06 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, August 19, 2014 12:28:31 AM UTC-5, Madhavan Bomidi wrote:

>
> Thanks for the info about z calculation in Fisher Z transformation. How can we know whether a data array is of Fisher-z distribution? Supposing we don't know what the distribution of a data array, say random number array or some unknown variable data, how can we ascertain which distribution the data array represent from the known statistical parameters?

You need prior knowledge. If the data samples are drawn from a normal distribution then the following formulation may help.

http://en.wikipedia.org/wiki/Variance#Distribution_of_the_sa mple_variance

If the data samples are drawn from another distribution such as Poisson, then a different formulation would apply.

If you don't know, then you really need many sample vectors and then you can estimate the behavior of the system empirically.

CM
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New free DLL for calling Python from IDL!
Next Topic: Generating N random numbers that add to a TOTAL

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

Current Time: Wed Oct 08 11:27:35 PDT 2025

Total time taken to generate the page: 0.00529 seconds