Mann-Kendall with Missing Values and Same Values
% Mann-Kendall Test with Missing Data and Same Values
Gilbert RO (1987) Statistical Methods for Environmental Pollution Monitoring
Input Value
X: time series
alp: confidence level (default: 0.05)
miss_ind: Missing Value Indicator (default: NaN)
Output Value
H: Hypothesis 0 or 1
Reject of Null Hypthesis [0] Insufficient evidence to reject the null hypothesis
P_value: P statistics
Z: Z statistics
StdS: Standard deviation of S
% Example : X=1:10, [H, P_value,Z,StdS]=MKwMiss(X,0.05,NaN)
Answer: H: 1, P_value: 8.3031e-05
Z: 3.9355, StdS: 11.1803
Cite As
Taesam Lee (2024). Mann-Kendall with Missing Values and Same Values (https://www.mathworks.com/matlabcentral/fileexchange/70408-mann-kendall-with-missing-values-and-same-values), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Hypothesis Tests >
- Engineering > Civil and Environmental Engineering > Environmental Engineering >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |