Dear Stata community,

I'm trying to replicate the empirical strategy of the paper from Aybar and Aysun Ficici 2009, however I'm unsure how to construct the following formula's in STATA:

Array

Can anyone help me construct a code for this section?

Thanks in advance