Python module to compute the Mann-Kendall test for trend in time series data.
This module contains a single function 'test' which implements the Mann-Kendall test for a linear trend in a given time series.
-
Simply clone this repository and copy
bpl.py
in the directory where you are working in. -
Alternatively, you can clone this repository to a desired directory of your choice and then create and Python startup file
.pythonstartup
in your home directory as:
import sys
import os
home = os.path.expanduser("~")
sys.path.append(home + "/<path_to_package>")
Save the file, and that's it! From then on, all python shells should be able to
detect (and import) the bpl
package without any problem.
An overview of the functions and its usage can be found at: http://up-rs-esp.github.io/mkt
An example script example.py
is included in the repository.
Copyright (c) 2017 Bedartha Goswami
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,USA.
Bedartha Goswami [email protected]
Created: Mon Apr 17, 2017 05:28PM
Last modified: Mon Apr 17, 2017 05:29PM