Predictive model of yaw error in a wind turbine