With no built-in functions for classical statistics analyses in the .NET library, Dr. James McCaffrey of Microsoft Research explains how to roll your own from scratch.