pull down to refresh

It is messy, but there are lots of empirical strategies to deal with it.
One of the simplest is the idea that changes explain changes: i.e. Alaska has always been cold and full of bears, so that can't be the reason people are now moving away.
For the impact of taxes, you'd look at how migration patterns change after a tax change.