Code:
sysuse auto, clear bayesmh foreign trunk mpg, likelihood(logit) prior({foreign:}, normal(0,1000)) mat list e(mean)
Code:
e(mean)[1,3] trunk mpg _cons Mean -.13484497 .11758344 -1.7574044
My try shows an error message:
Code:
postfile examp trunk using "bay.dta", replace bayesmh foreign trunk mpg, likelihood(logit) prior({foreign:}, normal(0,1000)) post examp (e(mean)) postclose examp
post: above message corresponds to expression 1, variable means
r(109);
any suggestion is appreciated
0 Response to Extracting coefficient from matrix after bayes command
Post a Comment