Rank: 660 based on 200 downloads (last 30 days) and 6 files submitted
photo

Simone Fatichi

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Simone Fatichi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Feb 2012 Inverse Distance Weight Inverse distance weighting (IDW) multivariate interpolation. Author: Simone Fatichi interpolation, inverse distance weig..., gis, spatial analysis, earth science, hydrology 73 5
  • 4.75
4.8 | 4 ratings
19 Oct 2009 ARFIMA simulations Time series simulation with ARFIMA models. Author: Simone Fatichi statistics, econometrics, time series, hydrology, stochastic processes, arfima 51 2
  • 5.0
5.0 | 1 rating
09 Oct 2009 Cox-Stuart test Cox-Stuart non-parametric trend test. Author: Simone Fatichi statistics, coxstuart test, trend test, non parametric test, hydrology 6 0
09 Oct 2009 Spearman’s Rho test Spearman’s Rho non-parametric trend test Author: Simone Fatichi statistics, spearman test, daniel test, trend test, non parametric test, hydrology 9 3
  • 3.0
3.0 | 3 ratings
09 Oct 2009 Mann-Kendall Modified test Mann-Kendall non-parametric trend test modified to account for autocorrelations. Author: Simone Fatichi statistics, mann kendall, mann kendall modified, trend test, non parametric test, hydrology 16 1
  • 3.0
3.0 | 3 ratings
Comments and Ratings by Simone Fatichi View all
Updated File Comments Rating
16 Mar 2012 Spearman’s Rho test Spearman’s Rho non-parametric trend test Author: Simone Fatichi

I don’t think there is a bug in the code, if you give perfectly ranked data: [1 2 3 4 5], the code is simply not able to calculate the significance of the test, because rho is exactly equal to one. I would rather say that a warning message is missing for the rare case of a perfectly ranked time series.

24 Feb 2012 Inverse Distance Weight Inverse distance weighting (IDW) multivariate interpolation. Author: Simone Fatichi

I meant, I now corrected the bug in the "fixed radius" option.

24 Feb 2012 Inverse Distance Weight Inverse distance weighting (IDW) multivariate interpolation. Author: Simone Fatichi

Thanks Michel, I now correct the option bug in the "fixed radius" option.

Comments and Ratings on Simone Fatichi's Files View all
Updated File Comment by Comments Rating
05 Dec 2014 Mann-Kendall Test Mann-Kendall non-parametric trend test. Author: Simone Fatichi Jie

What is the vector type for this test? I tried different types but they didn't work.

20 Nov 2014 Inverse Distance Weight Inverse distance weighting (IDW) multivariate interpolation. Author: Simone Fatichi ouc

25 Sep 2014 Mann-Kendall Test Mann-Kendall non-parametric trend test. Author: Simone Fatichi Hydro

I found exactly what i was doing..however, i am getting an error message of too many output argument.Any help would be appreciated.

function [H,P] = mann_kendall(x,alpha)
if nargin<2;
alpha=0.05;
end
n=length(x);
i=0; j=0; S=0;
alpha=alpha/2;

for i = 1:n-1
for j=i+1:n
S = S + sign(x(j) - x(i));
end
end

VS=(n*(n-1))*(2*n+5)/18; % Variance
De=sqrt(VS); % Standard Deviation

if S >= 0;
Z=((S-1)/De)*(S~=0);
else
Z=((S+1)/De);
end

P=2*(1-normcdf(abs(Z),0,1)); % tail on both side
pz = norminv(1-alpha,0,1);
H=abs(Z)> pz;

end

23 Sep 2014 Mann-Kendall Modified test Mann-Kendall non-parametric trend test modified to account for autocorrelations. Author: Simone Fatichi Jens Wilhelmi

There seems to be a bug in
line 70:
[V,I]=sort(V); %% I = ranks

IMHO the variable "I" contains the indexes of the values of "V"
rather than the ranks.
From my side of view
I = tiedrank(V);
should be used here instead.

23 Sep 2014 Mann-Kendall Modified test Mann-Kendall non-parametric trend test modified to account for autocorrelations. Author: Simone Fatichi Jens Wilhelmi

Contact us