Statistics for Learning and Leveraging Neural Memories