##############################################################################
#    
#    This file is part of BATMON
#
#    BATMON (BAyes Test for MONotonicity) is a Bayesian Procedure for testing 
#    monotonicity of a regression function. 
#    Copyright (C) 2012  JB Salomond 
#
#    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 3 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, see <http://www.gnu.org/licenses/>
#
##############################################################################

#! /usr/bin/env python


from numpy import *
from scipy import *

Nech = 1 # Nb of time we re-run the test 
NKsim = 100000 # Nb of MCMC simulation to approximate the posterior 
dat = genfromtxt('./data2.txt',delimiter=' ') # the data 
y = -1.0*dat[:,1] # defining the data points
X = dat[:,0] # defining the design points
