<div dir="ltr"><div>Hi Andrew ... <br><br>Was this answered? <br>Did you find the problem?<br><br><span style="font-variant-ligatures:no-common-ligatures">"Could it be there are missing values for certain storms and cycles?" .... quite possibly.<br><br></span></div><span style="font-variant-ligatures:no-common-ligatures">D<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 4:18 PM, Andrew Kren - NOAA Affiliate <span dir="ltr"><<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear ncl-talk,<div><br></div><div>I am computing a paired t test between control experiments sensitivity experiments to look at hurricane track, wind, and intensity errors. I compute the standard deviation of the differences and the avg of the differences, as well as a 95% confidence interval based on the differences.</div><div><br></div><div>Attached is my code, see lines starting on 1127. Is this the correct way to compute the standard deviation and average of the differences between experiments? My data is a function of (storm case, forecast cycle, forecast hour). Reason I ask is that when I do this procedure, the average differences I get using this method as a function of forecast hour (which is what I want) is this:</div><div><br></div><div><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: track_error_diff_avg (subsection)</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 116 bytes</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> 29 values</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 1</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>[29]</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 1</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> _FillValue :<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>9.96921e+36</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.574069</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(1)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>5.169381</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(2)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4.654985</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(3)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>1.50052</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(4)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.559848</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(5)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.355001</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(6)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4.764093</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(7)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>8.347384</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(8)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>7.4192</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(9)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>8.69336</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(10)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>12.72247</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(11)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>17.61452</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(12)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>17.19171</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(13)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>11.51769</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(14)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>9.379377</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(15)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>11.44438</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(16)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>7.419726</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(17)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-3.023807</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(18)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-18.86928</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(19)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-3.98752</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(20)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-4.023374</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(21)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-14.1253</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(22)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-7.246421</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(23)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-10.78448</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(24)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-23.74559</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(25)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-40.31917</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(26)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-51.49041</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(27)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-34.30735</span></p>
<p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(28)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-9.808663</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">However, when I compute the raw difference from the average track fields, i.e. line 1154, I get these values:</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: track_error_diff_avg (subsection)</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 116 bytes</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> 29 values</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 1</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>[29]</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 1</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> _FillValue :<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>9.96921e+36</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.574068</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(1)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>5.16938</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(2)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4.654984</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(3)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>1.500519</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(4)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.559845</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(5)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>3.355003</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(6)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4.764091</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(7)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>8.654808</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(8)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>8.30986</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(9)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>6.454712</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(10)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>10.45447</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(11)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>17.66672</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(12)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>20.24161</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(13)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>14.71471</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(14)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>13.84648</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(15)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>17.98428</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(16)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>9.601624</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(17)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-0.5063171</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(18)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-14.034</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(19)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-3.797974</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(20)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-0.2883911</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(21)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-11.9198</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(22)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-9.015442</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(23)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-6.522919</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(24)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-61.46265</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(25)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-74.77875</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(26)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-40.00131</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(27)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>52.12799</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">
</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(28)<span class="m_4584554580182376884gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>76.7471</span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-size:15px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">where the values start to deviate after index 8. Is there something I am doing wrong? I can't seem to find out why if so. Could it be there are missing values for certain storms and cycles? Any help is much appreciated. </span></p><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_4584554580182376884gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>