in-sample fit for theta