Hi all,
For my thesis I need to extract the difference in Issue Yield between green bonds and conventional bonds. First, I have identified matches (based on different characteristics and Mahalonobis Distance) using mahapick:
mahapick Maturity Coupon AmountIssuedUSD, idvar(id) treated(GreenBond) genfile(MatchedGreenBonds) prime_id(prime_id_var) matchnum(matchnum_var) nummatches(1) full matchon(BondGrade)
I am stuck however on how to create a new variable that indicates the difference in Issue Yields between the green bond and the matched conventional bond, can anyone help me?
Thank you very much!
Related Posts with Create variable that calculates difference in matched observation and "normal observation" of a variable
Quintile SortingHello I have a dataset of investment funds and want to divide the variable Turnover into 5 quintiles…
Manually calculation of the predicted values after LASSO regressionDear all, I am using Stata/SE 16.1 for Mac and I have created an imaginable dataset to illustrate m…
Adjust for time constant covariate in mixed effects regression using multiple imputationI would like to ask for advice regarding the following question: I would like to compute a mixed eff…
Ordinal regression modelHello, Does anyone know how the output of a gologit2 (generalized ordinal regression) command is in…
Repeated cross-section: gen new variable combining three survey yearsHello, In order to obtain repeated cross-sectional data, I have appended 3 datasets stemming from d…
Subscribe to:
Post Comments (Atom)
0 Response to Create variable that calculates difference in matched observation and "normal observation" of a variable
Post a Comment