Statistical analysis of algal and water quality data