<div dir="ltr"><div><div><div><a href="https://en.wikipedia.org/wiki/Coefficient_of_determination">https://en.wikipedia.org/wiki/Coefficient_of_determination</a><br><br><br>===<br></div><br><br><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/regline_stats.shtml">http://www.ncl.ucar.edu/Document/Functions/Contributed/regline_stats.shtml</a><br><br></div>see the example<br><br></div>[SNIP]<br><pre>                                        ; <b>ANOVA</b> information: SS=&gt;Sum of Squares
 SST :        4823324                         ; Total SS:      sum((Y-Yavg)^2) 
 SSE :        50871.91                        ; Residual SS:   sum((Yest-Y)^2)
 SSR :        4772452                         ; sum((Yest-Yavg)^2)<br></pre><pre>[SNIP<br> r2 :        0.989453                        ; square of the Pearson correlation coefficient 
 r :        0.9947125                       ; multiple (overall) correlation: sqrt(r2)
 r2a :        0.9887938                       ; adjusted r2... better for small </pre><pre>[SNIP]<br><br></pre><pre>See the Wikipedia article<br><br>r2 = 1 - (SSE/SST)<br>r2 = 1 - (50871.91/4823324.0)<br>r2 = 0.989453<br></pre><pre><br></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 6:37 PM, mark vogel <span dir="ltr">&lt;<a href="mailto:mdvogelii@gmail.com" target="_blank">mdvogelii@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Do you have a ncl code to calculate R2 value instead of express correlation with rc?</div><div style="font-size:12.8px">I try to follow Dennis shea talk in ncl forum but I got multiple variance values coming out not only one value.</div><div style="font-size:12.8px"><a href="https://www.ncl.ucar.edu/Support/talk_archives/2009/2202.html" style="font-size:12.8px" target="_blank">https://www.ncl.ucar.edu/Support/talk_archives/2009/2202.html</a><br></div><div style="font-size:12.8px">Thanks</div><div style="font-size:12.8px">Jam</div></div>
<br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>