Hi,

for my Thesis I investigate the effect of ESG scores on the financial performance of companies. My regression looks like: xtreg LN_TobinsQ total_esg_score Size EPS LN_leverage Age [Size EPS LN_leverage and Age are control variables].
Now my second Hypothesis is: Young companies have a more green footprint (higher ESG scores) than Old companies [in terms of Age]

I only do not know how to perform this in Stata (16.1). I tried to make a dummy variable of Age in such a way that AgeYoung = Age <= 25 years and AgeOld = Age > 25

Could someone help me try to figure this out. Thanks in advance!