<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 <<a href="mailto:hyun998877@gmail.com">hyun998877@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, 13 August 2014 10:30 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>><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> </div>
<div> </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> </div>
<div></div>
</blockquote>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>I have a qustion of correlation significant test(function:rtest).</div>
<div> </div>
<div></div>
</blockquote>
<div> </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 degree of freedom(df) which is already setted.</div>
<div> </div>
<div> </div>
<div> I kowt that [rtest] funtion uses the t-value and df</div>
<div> </div>
<div> tval = 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> </div>
<div> df = n-2</div>
<div></div>
</blockquote>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div> </div>
<div>but, I want to change [df = n-2] into [my own degree of freedom.] </div>
<div> </div>
</blockquote>
<div> </div>
<div> </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> </div>
<div> </div>
<div>Thanks.</div>
</blockquote>
<br>
<br>
</div>
</div>
</span>
</body>
</html>