Estimating Models of Local Behavior