Stochastic methods in hydraulics and hydrology of streamflow