Dear Statalist,

I am trying to estimate some marginal effects using my dataset and wild-bootstrap the marginal effects using boottest. And I want to graph the marginsplot with the bootstrapped CIs. But I have trouble figuring out a way to do this.

Using the nlsw88 dataset for example,

Code:
sysuse nlsw88.dta
regress wage tenure ttl_exp collgrad south#union, cluster(industry)
margins south
boottest, margins
I tried to use the post option after margins to store the margins results e(b) first, and then use the boottest command and return list to get and store r(CI). However, it doesn't work.

Could someone give me a hint? Thank you so much!