Deducing water parameters in rivers via statistical modelling