[ncl-talk] Setting degree of freedom in rtest function

Will Hobbs Will.Hobbs at utas.edu.au
Tue Aug 12 18:40:22 MDT 2014


Hyun

The rtest() function does NOT calculate the degrees of freedom for you, it is the second input argument (Nr). You can put in any value of Nr that you like; it's up to you to estimate what the true degrees of freedom are.

Will

From: Hyun Marcia <hyun998877 at gmail.com<mailto:hyun998877 at gmail.com>>
Date: Wednesday, 13 August 2014 10:30 AM
To: "ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>" <ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>>
Subject: [ncl-talk] Setting degree of freedom in rtest function



Hi, (i'm not good at Eng. sorry ... )


I have a qustion of correlation significant test(function:rtest).


I want to change the degree of freedom(df) which is already setted.


 I kowt that [rtest] funtion uses the t-value and df

  tval   = r/sqrt<https://www.ncl.ucar.edu/Document/Functions/Built-in/sqrt.shtml>((1.0-r^2)/(n-2))

  df = n-2


but, I want to change [df = n-2] into [my own degree of freedom.]



Is there any method to solve this problem?


Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140813/521be6ba/attachment.html 


More information about the ncl-talk mailing list