while this might sound odd, I need help with getting two packages working together.
Here is some exemplarily code:
Code:
ssc install coefplot ssc install std_beta sysuse auto gen repsmall = . replace repsmall = 1 if rep78<=3 recode repsmall (.=0) reg foreign displacement trunk weight i.repsmall estimates store ols reg foreign displacement trunk weight i.repsmall stdBeta, nodepvar store(,replace) estimates store stdols coefplot (stdols, msymbol(o) label(standardized ols)) (ols, msymbol(d) label(ols)), drop(cons _cons) /// xline(0) mfcolor(white) levels( 95 90) /// legend(order( 1 "95" 2 "90" 3 6 ) row(1))
However, the figure from this code is just two times the unstandardised coefficients.
I think I am just missing a storing "trick".
Who could please be so kind and help out?
TYIA!
0 Response to Combining coefplot with stdBeta
Post a Comment