I have to perform the monte carlo test similar to the manner followed in the following link
http://www.cpc.ncep.noaa.gov/products/precip/CWlink
/MJO/Composites/Precipitation/readme.shtml
Since I am not familiar in statistics I couldnt found solution how to do it. If some one could help me in this regard I will be grateful to them.