Stata如何分组绘制边际效应?

绘制上图的Stata代码如下: /******************************************************************************* FIGURE: Marginal effects by heterogeneity gorups ********************************************************************************/ sysuse auto, clear /*------------------...

Stata如何绘制分位数回归图?

巴德学院利维经济研究所的Fernando Rios-Avila开发了Stata社区命令qregplot,以图展现绘制分位数回归的回归系数。 安装Stata社区命令qregplot的Stata命令如下: ssc install qregplot, replace *安装依赖的Stata社区命令 ssc install mmqreg, replace ssc install qrprocess, replace ssc install i...

Stata如何绘制回归预测图?

绘制上图的Stata代码如下: sysuse auto, clear reg price ibn.foreign * Test if take up if the same across positive opportunity cost levels, then * create and format local to add to the graph as text test 1.foreign == 0.foreign local pval : di %5.3f `r(p)' local pval = trim("`pva...