What does "national median" matter in terms of REMOTE jobs? In theory there should be one global market then, where only (hard and soft, of course) skills matter. But I know we're yet not quite there.
No such thing as a global market. Time zones, English proficiency, and cultural compatibility will always be real issues affecting real teams trying to build software.
Don't forget tax domains. Most remote companies in the US want to hire only in the US, not just anywhere in the world, due to needing to set up taxes in every single country their employee might be hired from.