correlation

From: mark vogel <mdvogelii_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 18 2011 - 15:51:48 MDT

I have a tquestion about correlation too I wonder what is the best way to
calculate r square value
iv = 4753
x = v11(10753:14352:2)
y = v2tem(3216:5015)
print(x)
print(y)
ms = regline(x,y)
rc = regCoef(x,y)
data1 = new ((/2,1800/),float)
data1(0,:) = y
data1(1,:) = ms*(x-ms@xave) + ms@yave
corr = esccr(x,y,0)

Is it correct?
On Fri, Mar 18, 2011 at 12:54 PM, Dennis Shea <shea@ucar.edu> wrote:

> The reason they were removed was that there was an error.
> I wrote a function in NCL and will send to you offline.
>
> Regards
> D
>
> On 3/17/11 4:38 PM, Rob Nicholas wrote:
> > The pattern correlation examples mentioned in the middle of the page
> > for escorc() and in various posts to this list seem to have
> > disappeared. I haven't been able to find them elsewhere on the NCL
> > site -- do they still exist?
> >
> > ~Rob
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Mar 18 15:51:57 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 16:15:59 MDT