Update stats.py

Added regression module