On the Estimation of Local Slopes