An Analysis of the Delta Rule and the Learning of Statistical Associations