[ncarg-talk] Correlation with both positive and negative lags

Mary Haley haley at ucar.edu
Wed Nov 8 11:22:17 MST 2017


This email list is for the older NCAR Graphics package and is not very

Please repost your question to the ncl-talk email list.  You must subscribe



On Wed, Nov 8, 2017 at 5:52 AM, Arka Banerjee <arka354deb at gmail.com> wrote:

> How to plot correlation with positive and negative lag in ncl?
> The function escorc computes the (Pearson) sample linear
> cross-correlations at lag 0 only.
> The function esccr computes sample cross-correlations. The link is
> https://www.ncl.ucar.edu/Document/Functions/Built-in/esccr.shtml
> At the end of the above link the example 3 said that it is possible to
> calculate both positive and negative lags.
> Using the script at link :https://www.ncl.ucar.edu/Appl
> ications/Scripts/corel_3.ncl
> Please inform how to modify the script to calculate correlation at
> negative lags. i.e. lag -1, lag -2, lag-3 and so on.
> The above script is running well for positive lags and lag 0.
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncarg-talk/attachments/20171108/963cdc82/attachment.html>

More information about the ncarg-talk mailing list