[ncl-talk] plot lag/lead correlation with statitical significnace

Sujata Mandke amin at tropmet.res.in
Thu Nov 15 22:43:02 MST 2018


Dear NCL community,
Greetings!
 I wish to plot lag/lead correlation (cc) between 
two area-averaged (Eurasian snow and East Pacific SST) 
monthly time series as xy plot (line), and also indicate 
which part of cc is statistically significant on this line. 

In order to test statistical significance of cc, 
i had used “rtest”.  In the ncl script(attached),  
I am plotting two separate lines, one for lead/lag
 correlation and another line for statistical significance,
 as I do not know how to show significant portion
 of cc on the same line. (figure also attached)

My questions are:
(i) Is my statistical significance testing correct?

(ii) Instead of plotting two separate lines, how to 
highlight those points (by marker or any other way),
 that are statistically significant on the same 
line of lead/lag cc.

I had extensively searched NCL-talk archives,
 but did not find solution to my problem.
I am using NCL version 6.4.0 on linux machine.

Any suggestion would be of great help.
 Many thanks in advance.
With best regards
Sujata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sstsnowleadlagcc.eps
Type: image/x-eps
Size: 152959 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181116/8734efc4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sstsnowleadlagcc.ncl
Type: application/octet-stream
Size: 5397 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181116/8734efc4/attachment.obj>


More information about the ncl-talk mailing list