Re: [R] Kendall v MannKendall Functions

From: armstrwa <William.Armstrong_at_noaa.gov>
Date: Tue, 22 Mar 2011 10:06:28 -0700 (PDT)

&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_at_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]]

______________________________________________
R-help_at_r-project.org 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.
Received on Tue 22 Mar 2011 - 17:12:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Mar 2011 - 17:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive