Although St. Andrews is in general a more prestigious university among local's view especially at undergraduate, I will prefer Edinburgh in this case for the indifference of reputation (business & back home) and the stronger faculties in the discipline.