Stata如何绘制条形信息图?

信息图(Infographic=Information+Graphic)是信息的视觉表示,它使用图像模式来帮助读者了解信息之间的相互关系,通过鼓励视觉比较来工作。 下载字体Mixed Bag 2 Font,信息如下: 浏览地址https://www.fontspace.com/mixed-bag-2-font-f5931 下载地址https://www.fontspace.com/get/family/zqo1 ...

Stata如何生成带有标准误的水平条形图?

生成上图的Stata命令如下: * Figure: Horizontal bar plot with grouping of variables, standard error bars, and cross-group comparisons * Replication file for: * Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. * Use of stand...

Stata如何生成肩并肩的水平条形图2?

生成上图的Stata代码如下: * Figure:Side by side horizontal bar plot (Outcomes by City & Case) using weightab global graph_opts /// title(, justification(left) color(black) span pos(11)) /// graphregion(color(white) lc(white) lw(med) la(center)) ///

Stata如何生成肩并肩的水平条形图?

* Replication file for: * Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. * Use of standardised patients to assess antibiotic dispensing for tuberculosis by pharmacies in urban India: * A cross-sectional study. * The Lanc...

Stata如何合并两个轴的条形图?

* Figure: combined bar plots with two axes * Load data * --------- use "http://ds.epiman.cn/uploads/2022/06/bar-two-axes.dta", clear * Adjust variable for bar position gen x = int1mo+.5 * Create individual graphs * ------------------------ foreach foodGroup in animal fruit gra...

Stata如何绘制两变量堆积条形图?

Replication file for: Satyanarayana S, Kwan A, Daniels B, Subbaraman R, McDowell A, Bergkvist S, Das RK, Das V, Das J, Pai M. Use of standardised patients to assess antibiotic dispensing for tuberculosis by pharmacies in urban India: A cross-sectional study. The Lancet Infecti...

Stata绘制误差条形图(bar graphs with standard error bars)

比如,我们想直观地看孕期吸烟者者和非吸烟者两组新生儿的出生体重是否有差异,可以通过Stata社区命令betterbar实现。 Stata命令如下: /*读取演示数据*/ webuse lbw /*绘制误差条形图,用前需先安装,如ssc install betterbar,详见文末*/ betterbar bwt, over(smoke) ci 上图是最基本的,默认是水...

Stata如何绘制多变量水平条形图?

* Figure: Horizontal bar with multiple variables global graph_opts /// title(, justification(left) /// color(black) span pos(11)) /// graphregion(color(white)) /// ylab(,angle(0) nogrid) /// xtit(,placement(left) justification(left)) /// yscale(noline) xscale(noline) /// legen...