Statistical analysis to detect climate change and its implications on water resources