1. 多变量水平柱状图(Horizontal bar with multiple variables) 2. 两变量柱状图(Bar plot of two variables) 3. 两轴组合柱状图(Combined bar plots with two axes) 4. 并排水平柱状图(Side by side horizontal bar plot)(基于命令betterbar) 5. 两变量堆积柱状图(Stack bar graph by two variables) 6. 并排...
\documentclass{article} \usepackage{multirow} \usepackage{amsmath} \usepackage{ulem} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{lllllll} \cline{1-7} \multicolumn{1}{c}{} & \multicolumn{2}{c}{(1)} & \multicolumn{2}{c}{(2)} & \multicolumn{2}{c}{(3)} \\...
This particular table shows that variables re74 is imbalanced in the raw data in many ways and variable age is balanced in means but not in the quantiles of the two distributions. This table also illustrates the point that balancing only the means between the treated and control groups does n...
How do the probabilities of being classified into each health status change with age? We compute the predictive margins for each outcome for ages ranging from 20 to 70 by typing .margins, at(age=(20(10)70))(output omitted) We will not show you the table of all thirty predictive margins...
虽然早有官方命令estimates table可完成此类任务,但比较死板;故此前Stata用户一般使用非官方命令(比如estout或outreg)来输出回归结果。为此,Stata 17大幅改善了原来的table命令,使用户可轻松地以表格形式汇报回归结果(regression results)或统计特征(summary statistics)。
table rep78 foreign, c(n mpg mean mpg sd mpg median mpg) center row col (rep78,foreign均为分类变量,rep78为行变量,foreign为列变量,center表示结果显示在单元格中间,row表示计算行变量整体的统计量,col表示计算列变量整体的统计量) tabulate x1 x2,all ...
本文基于Stata16为大家讲解如何进行合成控制法synth_runner相关操作及应用。 香烟控制法在美国有着悠久的历史,至少可以追溯到1893年,当时的华盛顿成为第一个禁止香烟销售的州。在在接下来的30年里,其他15个州也相继出台了类似的禁烟措施(Dinan和Heckelman 2005)。这些早期的反烟草法主要是出于道德考虑, 健康问题是次要...
史上最全的 Stata 外部命令一览,可以在线查看帮助文件。 Source:Archive of user-written Stata packages 导言 这里汇集了截至 2015年1月1日 为止的所有 Stata 外部命令。可以在线查看每个外部命令的帮助文件。 对于感兴趣的命令,可以使用findit在 Stata 命令窗口中搜索后下载,亦可直接使用ssc install命令直接下载。
. est table ols stage2 sls ivreg2,b se --- Variable | ols stage2 sls ivreg2 ---+--- x | -.31632478 -.64316696 -.64316696 | .49770389 .55434482 .55434482 w | -2.0348154 -2.8121211 -2.8121202 -2.8121202 | .92184485 .94597454 1.0466344 1.0466344 | c.x#c.w | .00659358...
Is there a problem with over-long variable names? Stata only allows variable names up to 32 characters long. If you have very long group and/or field names, the first 32 characters could fail to uniquely identify a variable. If you run into this problem, you're using SurveyCTO Desktop ...