Skip to content

Instantly share code, notes, and snippets.

@doctorkid
Created July 10, 2018 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctorkid/453b846c1b1dae85ab45f69e5c58d8e9 to your computer and use it in GitHub Desktop.
Save doctorkid/453b846c1b1dae85ab45f69e5c58d8e9 to your computer and use it in GitHub Desktop.
clear
input trial str16 trialnam str16 authors startyr latitude cases1 tot1 cases0 tot0
1 "Canada" "Ferguson & Simes" 1933 55 6 306 29 303
2 "Northern USA" "Aronson" 1935 52 4 123 11 139
3 "Northern USA" "Stein & Aronson" 1935 52 180 1541 372 1451
4 "Chicago" "Rosenthal et al" 1937 42 17 1716 65 1665
5 "Chicago" "Rosenthal et al" 1941 42 3 231 11 220
6 "Georgia (School)" "Comstock & Webster" 1947 33 5 2498 3 2341
7 "Puerto Rico" "Comstock et al" 1949 18 186 50634 141 27338
8 "UK" "Hart & Sutherland" 1950 53 62 13598 248 12867
9 "Madanapalle" "Frimont-Moller et al" 1950 13 33 5069 47 5808
10 "Georgia (Community)" "Comstock et al." 1950 33 27 16913 29 17854
11 "Haiti" "Vandeviere et al" 1965 18 8 2545 10 629
12 "South Africa" "Coetzee & Berjak" 1965 27 29 7499 45 7277
13 "Madras" "TB Prevention Trial" 1968 13 505 88391 499 88391
end
gen non1=tot1-cases1
gen non0=tot0-cases0
*1: MH pooled RR meta-analysis
metan cases1 non1 cases0 non0, rr xlab(.1, 1, 10) textsize(150) label (namevar=authors)
labbe cases1 non1 cases0 non0, xlabel(0,0.1,0.2,0.3) ylabel(0,0.1,0.2,0.3) textsize(50) ///
t1(Impact of BCG in TB infection:) ///
t2(Propotion of patients with outcome) ///
l1(Vaccine group) b2(Control group patients) null graphregion( color(white) ) plotregion( fcolor(white) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment