Dear all,

I am trying to run this model:

Array

Where i is individual i, in strata s, and time t. I am trying to instrument for the distance so the error in my distance term does not cause attenuation bias. However, I am not sure how to run this regression.

I know this is a silly question, but I'm just stuck in this step.

Thank you for the help!

Best,
Miranda