&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;


  


Thank you very much, Peter.&nbsp; That does make it clearer. 

Billy 

Peter Ehlers [via R] wrote:
 On
2011-03-21 14:16, armstrwa wrote:
  
&gt; Hi,
  
&gt;
  
&gt; I am running a correlation analysis on a temporal dataset. &nbsp;I was
wondering
  
&gt; if you would receive the same tau and p values running the
function:
  
&gt;
  
&gt; MannKendall(x), where x is the dependant variable that changes
with time
  
&gt;
  
&gt; &nbsp; as you would running:
  
&gt;
  
&gt; &nbsp; Kendall(d,x), where x is the exact same dataset as the x entered
into
  
&gt; MannKendall and d is the date on which the observation was made
(assuming
  
&gt; that the order is the same as the data I entered into the Kendall
function).
  
&gt;
  
&gt; Can anyone elucidate this for me?
  
&gt;
  
  
Assuming that you're referring to the (unstated) package Kendall,
  
a quick look at the code for MannKendall tells you that
  
MannKendall(x) just does Kendall(1:length(x), x).
  
Does that answer your question?
  
  
Peter Ehlers
  
  
______________________________________________
  
  [hidden email] 
mailing list
  
  https://stat.ethz.ch/mailman/listinfo/r-help 
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 
and provide commented, minimal, self-contained, reproducible code.
  
  
  
  
  
  If you reply to this email, your
message will be added to the discussion below: 
  http://r.789695.n4.nabble.com/Kendall-v-MannKendall-Functions-tp3394821p3395771.html 
  
  
To unsubscribe from Kendall v MannKendall Functions, click
here . 


-- 
William Armstrong
Hydrology Research Assistant
NOAA Restoration Center
55 Great Republic Drive
Gloucester, MA 01930

email: william.armstrong@noaa.gov 
ph: 978-675-2181 




--
View this message in context: http://r.789695.n4.nabble.com/Kendall-v-MannKendall-Functions-tp3394821p3397082.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]

