Well, we would have to take into consideration the propeller (for the engines equipped with one at least). The engine may give the same power output, but the propeller is still affected by the conditions of a less dense atmosphere at higher altitude, so it won't move the same amount of air it would at sea level thus producing less yaw anyway.
But what about jets and turboprop engines?