Code:
reghdfe wNET_PRO_MAR dkt_4 dkt_3 dkt_2 dkt_1 dkt_0 dkt1 dkt2 dkt3 dkt4 pt wFIRM_SIZE LNGDP UNEMPLOYMENT IMP_OVER_GDP INFLATION wLEVERAGE, a(TYPE2 yr)
I have the result as below Array
Could you please let me know if there is any code to plot the coefficients of dkt_4 dkt_3 dkt_2 dkt_1 dkt_0 dkt1 dkt2 dkt3 dkt4 to a two-axis graph while the vertical is the magnitude of the coefficients and the horizontal axis is the year similarly to the figure below Array
Following this website( http://repec.sowi.unibe.ch/stata/coe...g-started.html ), I try to run the code
coefplot, vertical yline(0) drop (_cons wFIRM_SIZE LNGDP UNEMPLOYMENT INFLATION wTANGIBILITY wLAG_SAL_GRO FCF wLOG_MVE wCAP_INT REA_INT_RAT wPROFIT wLEVERAGE wINVESTMENT wDIVIDEND median_mtbv Herfindahl)
The result is like that
Array
I am wondering how to change the name of the variables at the horizontal. For example dkt_4 to -4, or dkt4 to 4
0 Response to How to create a two-axis graph by using coefficient plotting?
Post a Comment