Statistical distribution of the Stern sequence