Contrasts in Stata
StataCorp LLC
0:00 / 0:00
Contrasts in Stata
692 просмотра · 9 месяцев назад
StataCorp LLC
95,2 тыс. подписчиков
692 просмотра · 9 месяцев назад
See how to estimate and test contrasts after a linear regression model using the contrast command. Plus, see how to incorporate contrasts into your marginsplot for even more flexibility.
. webuse nhanes2l
. regress bpsystol i.hlthstat
. contrast hlthstat
. contrast g.hlthstat, effects mcompare(bonferroni)
. margins g.hlthstat, contrast
. marginsplot, xdimension(hlthstat) horizontal recast(scatter) xline(0)
https://www.stata.com