Hi everyone. I am new to Stata and would need help. For my thesis, I am trying to compare green and social bonds that differs only from their yield to maturity(YTM). To do so, I matched bonds two by two with similar characteristics (social with its twin green). I couldn't find the right command that compares both types of bonds.
Example:
Goup 1
Social bond issuer A Rating A+ YTM 3%
Green Bond issuer A Rating A+ YTM 2%
Group 2:
Social bond issuer B Rating A YTM 2%
Green Bond issuer B Rating A YTM 2,5%
The idea is to calculate the difference in YTM between twin bonds, and then use a command that will compare green vs social bonds as a whole.
I hope I am clear and thank you very much for your help.
Example:
Goup 1
Social bond issuer A Rating A+ YTM 3%
Green Bond issuer A Rating A+ YTM 2%
Group 2:
Social bond issuer B Rating A YTM 2%
Green Bond issuer B Rating A YTM 2,5%
The idea is to calculate the difference in YTM between twin bonds, and then use a command that will compare green vs social bonds as a whole.
I hope I am clear and thank you very much for your help.

Comment