better:
data.endog /= data.endog.std()