FIN 476: Pairs Trade Estimation Period Code (3/25/2014)

I have totally rewritten the pairs trade estimation period code.  It will create a csv file in your working directory which has the average squared deviation, and the standard deviation of the squared deviations, for all pairs.  The csv is sorted from lowest (best pair) to highest (worst pair) average squared deviation.  The code is here estim_period.