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
Checking Residuals after running MswitchI am working on the Markov Switching Model (using mswitch command), I have calculated standardized r…
Dropping all panel observations if any one of them have missing value for any one of the variablesHi there, I have a firm-level data for two years. I want to drop a firm entirely (both years' obser…
Matching variables in CEM.Hi all - I am using CEM in stata and have a quick question. I am using four variables in my dataset …
Rolling standard devI have an unbalanced panel dataset with many (15000+) firms and their daily stock returns from 1960-…
Construct matrix counting pairwise agreementsI'm interested in a set of problems in which the data from each individual is a vector of integer-va…
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