fixed pct_change bug in regression.py