[ncl-talk] computing confidence interval from ttest

Dennis Shea shea at ucar.edu
Tue Apr 4 14:01:48 MDT 2017


Has anybody answered your question?

http://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm
See the definition of the confidene interval.

   tval_opt =True                                 ; p & t-value
   pt          = ttest(aveX,varX,sX, aveY,varY,sY, iflag, tval_opt)
   print(pt)

The 2nd element is the t-value

HTH





On Fri, Mar 31, 2017 at 3:49 PM, Andrew Kren - NOAA Affiliate <
andrew.kren at noaa.gov> wrote:

> Dear ncl-talk,
>
> I'm using the function ttest in NCL to compute the two-tailed significance
> of a set of correlations. I plot the correlations (anomaly) as a time
> series as most people do. I compute the difference between the two and want
> to also plot an envelope that encompasses the 95% confidence range for the
> range of values. Is there a way to determine this from the ttest?
>
> --
> Andrew Kren, PhD
> Research Scientist I, Global Observing Systems Analysis (GOSA) Group
> NOAA ESRL Global Systems Division (Rm 3C515)
> 325 Broadway, Boulder, CO 80305
> (303) 497-5418
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170404/4c4fe12b/attachment.html 


More information about the ncl-talk mailing list