Transcription of Stata: Software for Statistics and Data Science | Stata
{{id}} {{{paragraph}}}
Marginal means, predictive margins, and marginal effectsSyntaxMenuDescriptionOptionsRemar ks and examplesStored resultsMethods and formulasReferencesAlso seeSyntaxmargins[marginlist] [if] [in] [weight] [,responseoptions options]wheremarginlistis a list of factor variables or interactions that appear in the current estimation variables may be typed with or without , and you may use any factor-variable syntax:. margins # margins sex group sex# margins sex##groupresponseoptionsDescriptionMain predict(predopt)estimate margins forpredict,predoptexpression(pnlexp)esti mate margins forpnlexpdydx(varlist)estimate marginal effect of variables invarlisteyex(varlist)estimate elasticities of variables invarlistdyex(varlist)estimate semielasticity d(y)/d(lnx)eydx(varlist)estimate semielasticity d(lny)/d(x)
requires that the linearized variance estimation method be used for the model. See[SVY] svy postestimation for anexampleof margins with replication-based methods. nose suppresses calculation of the VCE and standard errors. See Requirements for model specification for an example of the use of this option. Advanced
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}