<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hyun</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Will</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Hyun Marcia &lt;<a href="mailto:hyun998877@gmail.com">hyun998877@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, 13 August 2014 10:30 AM<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[ncl-talk] Setting degree of freedom in rtest function<br>
</div>
<div><br>
</div>
<div>
<div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>Hi, (i'm not good at Eng. sorry ... )</div>
<div>&nbsp;</div>
<div></div>
</blockquote>
<div>&nbsp;</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>I have a&nbsp;qustion&nbsp;of&nbsp;correlation significant test(function:rtest).</div>
<div>&nbsp;</div>
<div></div>
</blockquote>
<div>&nbsp;</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>I want to change the&nbsp;degree of freedom(df) which is&nbsp;already setted.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;I kowt that [rtest] funtion uses the t-value and df</div>
<div>&nbsp;</div>
<div>&nbsp; tval&nbsp;&nbsp; = r/<a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/sqrt.shtml" target="_blank"><strong>sqrt</strong></a>((1.0-r^2)/(n-2))</div>
<div>&nbsp;</div>
<div>&nbsp; df = n-2</div>
<div></div>
</blockquote>
<div>&nbsp;</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>&nbsp;</div>
<div>but, I want to change [df = n-2] into&nbsp;[my own&nbsp;degree of freedom.]&nbsp;&nbsp;</div>
<div>&nbsp;</div>
</blockquote>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>&nbsp;</div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>Is there any method to solve this problem?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks.</div>
</blockquote>
<br>
<br>
</div>
</div>
</span>
</body>
</html>