{smcl} {right:version 0.0.0, 21 Mar 2017} {title:Title} {phang} {bf:semipmarginal }{hline 2} Calculates the marginal effects of a semi-parametric regression, including confidence bounds {title:Author} {p 4 4 2} Tim Foreman{break} Columbia University{break} {title:Syntax} {p 8 16 2} {opt semipmarginal} {depvar} {indepvar} [{control vars}] [{cmd:,} {it:options}] {synoptset 20 tabbed}{...} {synopthdr} {synoptline} {synopt :{opt ndiff}} number of Yatchew differences to use{p_end} {synopt :{opt nbstrap}} number of bootstrap simulations to run{p_end} {synopt :{opt graphname}} name to save output graph{p_end} {synopt :{opt datname}} name to save output data{p_end} {synoptline} {title:Example} Find the marginal effect of x on y with z as control, set number of bootstrap samples to 1000 and Yatchew differences to 3 . semipmarginal y x z, ndiff(3) nbstrap(1000) graphname("xy") datname("xy")