Title
[R] mfx -- Obtain marginal effects or elasticities after estimation
Syntax
mfx [compute] [if] [in] [, options]
mfx replay [, level(#)]
options Description
--------------------------------------------------------------------------------------------
Model
predict(predict_option) calculate marginal effects (elasticities) for predict_option
varlist(varlist) calculate marginal effects (elasticities) for varlist
dydx calculate marginal effects; the default
eyex calculate elasticities in the form of d(lny)/d(lnx)
dyex calculate elasticities in the form of d(y)/d(lnx)
eydx calculate elasticities in the form of d(lny)/d(x)
nodiscrete treat dummy (indicator) variables as continuous
nose do not calculate standard errors
Model 2
at(atlist) calculate marginal effects (elasticities) at these values
noesample do not restrict calculation of means and medians to the
estimation sample
nowght ignore weights when calculating means and medians
Adv. model
nonlinear do not use the linear method
force calculate marginal effects and standard errors when it would
otherwise refuse to do so
Reporting
level(#) set confidence level; default is level(95)
diagnostics(beta) report suitability of marginal-effect calculation
diagnostics(vce) report suitability of standard-error calculation
diagnostics(all) report all diagnostic information
tracelvl(#) report increasing levels of detail during calculations
--------------------------------------------------------------------------------------------
where atlist is numlist or matname or
[mean|median|zero] [varname = # [, varname = #] [...]]
where mean is the default.
Menu
Statistics > Postestimation > Marginal effects or elasticities
Description
mfx numerically calculates the marginal effects or the elasticities and their standard
errors after estimation. Exactly what mfx can calculate is determined by the previous
estimation command and the predict(predict_option) option. The values at which the marginal
effects or elasticities are to be evaluated is determined by the at(atlist) option. By
default, mfx calculates the marginal effects or elasticities at the means of the independent
variables by using the default prediction option associated with the previous estimation
command.


雷达卡


京公网安备 11010802022788号







