-
Notifications
You must be signed in to change notification settings - Fork 0
/
final_report3.tex
249 lines (235 loc) · 16.4 KB
/
final_report3.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
\documentclass[11pt,a4paper,twoside]{article}\usepackage{graphicx, color}
%% maxwidth is the original width if it is less than linewidth
%% otherwise use linewidth (to make sure the graphics do not exceed the margin)
\makeatletter
\def\maxwidth{ %
\ifdim\Gin@nat@width>\linewidth
\linewidth
\else
\Gin@nat@width
\fi
}
\makeatother
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\definecolor{fgcolor}{rgb}{0.2, 0.2, 0.2}
\newcommand{\hlnumber}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlfunctioncall}[1]{\textcolor[rgb]{0.501960784313725,0,0.329411764705882}{\textbf{#1}}}%
\newcommand{\hlstring}[1]{\textcolor[rgb]{0.6,0.6,1}{#1}}%
\newcommand{\hlkeyword}[1]{\textcolor[rgb]{0,0,0}{\textbf{#1}}}%
\newcommand{\hlargument}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hlcomment}[1]{\textcolor[rgb]{0.180392156862745,0.6,0.341176470588235}{#1}}%
\newcommand{\hlroxygencomment}[1]{\textcolor[rgb]{0.43921568627451,0.47843137254902,0.701960784313725}{#1}}%
\newcommand{\hlformalargs}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hleqformalargs}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hlassignement}[1]{\textcolor[rgb]{0,0,0}{\textbf{#1}}}%
\newcommand{\hlpackage}[1]{\textcolor[rgb]{0.588235294117647,0.709803921568627,0.145098039215686}{#1}}%
\newcommand{\hlslot}[1]{\textit{#1}}%
\newcommand{\hlsymbol}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlprompt}[1]{\textcolor[rgb]{0.2,0.2,0.2}{#1}}%
\usepackage{framed}
\makeatletter
\newenvironment{kframe}{%
\def\at@end@of@kframe{}%
\ifinner\ifhmode%
\def\at@end@of@kframe{\end{minipage}}%
\begin{minipage}{\columnwidth}%
\fi\fi%
\def\FrameCommand##1{\hskip\@totalleftmargin \hskip-\fboxsep
\colorbox{shadecolor}{##1}\hskip-\fboxsep
% There is no \\@totalrightmargin, so:
\hskip-\linewidth \hskip-\@totalleftmargin \hskip\columnwidth}%
\MakeFramed {\advance\hsize-\width
\@totalleftmargin\z@ \linewidth\hsize
\@setminipage}}%
{\par\unskip\endMakeFramed%
\at@end@of@kframe}
\makeatother
\definecolor{shadecolor}{rgb}{.97, .97, .97}
\definecolor{messagecolor}{rgb}{0, 0, 0}
\definecolor{warningcolor}{rgb}{1, 0, 1}
\definecolor{errorcolor}{rgb}{1, 0, 0}
\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX
\usepackage{alltt}
\title{SME assignment}
\author{Student number: 106936}
\usepackage{booktabs}
\usepackage{xspace}
\usepackage{amsmath}%
\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage{graphicx}
\usepackage[bottom=2cm,margin=2.5cm]{geometry}
\usepackage{lmodern}
\usepackage{rotating}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\fancyhead{}
\fancyfoot{}
\setlength{\headheight}{15.2pt}
%\setlength{\footskip=20pt}
\pagestyle{fancy}
\lhead[\thepage]{Student 106936}
\chead[ SME assignment]{SME assignment}
\rhead[ Student 106936]{\thepage}
\usepackage[compact]{titlesec}
\titleformat*{\section}{\large\bfseries}
\makeatletter
\newcommand\gobblepars{%
\@ifnextchar\par%
{\expandafter\gobblepars\@gobble}%
{}}
\makeatother
\begin{document}
\section{Methods}
The primary outcome was whether a worker started treatment for tuberculosis and the primary exposure was a worker's silicosis status. Both were treated as binary variables.
Age and years in the workforce were treated as ordered categorical variables.
Workers' country of origin was treated as an unordered categorical variable. Silicosis, employment grade, place of residence, previous tuberculosis and tuberculosis status were all treated as binary variables. \\
\indent Variables with missing data were identified using tabulation. Records with missing data were excluded from multivariable logistic regression models if those models included variables where data were missing. \\
\indent Associations between pairs of variables were explored with univariate logistic regression or $\chi^2$ test as appropriate.
The effect of a third factor on the relationship between two others was examined using the Mantel-Haenszel method for stratification.
Multivariable logistic regression was used to examine the association between silicosis and tuberculosis, adjusting for additional factors. The outcome variable was tuberculosis. \\ \indent
The effect of age as a linear relationship with odds of developing tuberculosis was not investigated as insufficient information was available regarding the age of the mine workers.\\ \indent
All analyses were performed in R version 2.15.2.\\
\section{Results}
A total of 3206 workers were recruited to the cohort. Of these, 368 (11.48 \%) had silicosis and, at two years of follow up, 140 (4.37 \%) started treatment for tuberculosis.\\ \indent
Data for previous history of tuberculosis were missing for 205 (6.39 \%) workers.
For those missing data, 5 developed tuberculosis.
There was no evidence of a difference in distribution of silicosis for workers with or without data for previous tuberculosis ($\chi^2$ p = 0.36) or that there was any difference in distribution of tuberculosis between these groups ($\chi^2$ p = 0.22). \\ \indent
Age and period in workforce were strongly correlated.
99.24 \% of workers less than 35 years old had been part of the workforce for less than 15 years.
74.49 \% of workers over 45 years old had been part of the workforce for greater than 25 years. \\ \indent
In univariate analyses, the odds of developing tuberculosis was two fold greater in workers with probable silicosis compared to those with no or possible silicosis (OR = 2.00, 95 \% confidence interval (CI) = 1.28-3.03, table \ref{epic}).
The odds of tuberculosis also increased with increasing age.
Workers 35 to 44 years old were nearly two fold more likely to develop tuberculosis compared to workers under 35 years of age (OR = 1.92, 95\% CI = 1.11-3.50) and workers greater than 45 years old were more than two fold more likely to develop tuberculosis than workers 35 years old.\\ \indent
There was also strong evidence of association between hostel accommodation (OR = 1.52, 95 \% CI = 1.07-1.91) and working at mine site B (OR = 1.74, 95 \% CI = 1.24-2.46) and increased odds of starting treatment for tuberculosis.
The odds of starting treatment for tuberculosis also varied by worker's country of origin. Workers from Lesotho were 1.5 times more likely to start treatment for tuberculosis than workers from South Africa (OR = 1.52, 95 \% CI = 1.04 - 2.19) whereas there was no evidence for a difference in odds for workers from Mozambique compared to workers from South Africa (OR = 0.71, 95 \% CI = 0.41-1.19).\\ \indent
To examine the effect of each variable on the association between silicosis and tuberculosis, stratified analyses were performed.
The odds ratio for the association between silicosis and tuberculosis were reduced by age (combined OR = 1.79, 95 \% CI = 1.15-2.79, table \ref{mhtab}), years in the workforce (combined OR = 1.80, 95 \% CI = 1.15-2.81) and by mine site (OR = 1.85, 95 \% CI = 1.20-2.86).
The Mantel-Haenzsel test of homogeneity revealed some evidence of an interaction between the worker's country of origin and the association between silicosis and tuberculosis (p = 0.119). \\ \indent
Since all measured variables were associated with both silicosis and tuberculosis, a maximal logistic regression model was fit to adjust for these factors.
Because of the interaction between worker's country of origin and the relationship silicosis and tuberculosis, this model included an interaction term.
Because of the correlation between a worker's age and the length of time they had been on the workforce, the length of time was excluded from the model.
After adjustment for confounding, silicosis was associated with a greater than three fold increase in odds of tuberculosis for workers from Mozambique (OR = 3.26, 95 \% CI = 1.09-9.75, table \ref{reg}) and a greater than two fold increase in odds of tuberculosis for workers from South Africa (OR = 2.01, 95 \% CI = 1.07-3.77).
There was no evidence of a relationship between silicosis and tuberculosis for workers from Lesotho (OR = 0.99 95 \% CI = 0.46-2.11).
\section{Discussion}
The data presented here suggest an association between silicosis and the odds of starting treatment for tuberculosis. \\ \indent
Errors in epidemiologic studies may occur due to chance, confounding or bias. The study population was 3206 workers which is a reasonable size.
Given this size and the fact that the confidence intervals for workers from Mozambique and South Africa do not include the value of no effect, it is not likely that chance explains the result. \\ \indent
A number of potential confounders were measured.
Each factor was associated with both tuberculosis and silicosis, and was considered \textit{a priori} a potential confounder.
Period in workforce was highly correlated with age and so was excluded from the multivariable analysis.
Thus, a maximal multivariable regression model was constructed including every potential confounder, with the exception of period in workforce.
The association between silicosis and tuberculosis persisted after adjusting for confounders for workers from South Africa and Mozambique.
This suggests that the association between silicosis and tuberculosis is not fully explained by confounding as measured by these variables. Residual confounding in unmeasured variables may reduce the strength of association.
It is likely that country of origin acts as a proxy for an unknown factor which varies in prevalence by country.
A factor that was a very strong risk for tuberculosis and particularly prevalent in Lesotho, such as HIV, could explain why no association between silicosis and tuberculosis was observed for these workers. \\ \indent
The inclusion of previous tuberculosis as a confounder may be problematic as it may lie on the causal pathway.
Silicosis could cause reactivation of dormant tuberculosis bacteria and lead to tuberculosis treatment.
This would result in over-adjustment and bias the association towards the null.
Alternatively, silicosis may lie between previous tuberculosis and starting treatment on the causal pathway.
In this scenario, prior tuberculosis could cause lung damage, leading to greater silicosis and increase the risk of tuberculosis.
The latter scenario was judged to be more biologically plausible and so previous tuberculosis was included in the final model. \\ \indent
Microbiological confirmation of tuberculosis was only available for 70 \% of workers who started treatment.
That could mean that actual cases of tuberculosis was overestimated by 30 \%.
If this over-estimation was non-differential, i.e. greater in either those with or without silicosis, it could bias the association.
A differential over-estimation to workers with silicosis would bias the association away from the null and a differential over-estimation to workers without silicosis would bias the association towards the null. \\ \indent
The hypothesis that silicosis is a risk factor for tuberculosis has a number of arguments in its favour.
It is temporal; in this study silicosis precedes treatment for tuberculosis.
It is biologically plausible; lung damage and inflammation caused by silicosis may make it easier for \textit{Mycobacteria} to infect a worker.
There is also reasonable strength of association; after adjusting for other factors, in workers from Mozambique, silicosis is associated with a more than three-fold increase in the odds of treatment for tuberculosis.
However, further information is required before we can confidently claim causation.
Information regarding the degree of silicosis and its relation to odds of starting treatment could provide evidence of a dose-response relationship.
Experimental evidence in animal models could also provide support for the hypothesis. \\ \indent
In conclusion, based on the evidence provided in this analysis, it is likely that silicosis increases the risk of tuberculosis, but further work is required to confirm that.
%The fact that the odds ratio for the association in workers from Lesotho is very close to 1 suggests that residual confounding may explain the result.
\gobblepars
\gobblepars
\pagebreak[4]
% latex table generated in R 2.15.2 by xtable 1.7-0 package
% Thu Feb 07 22:59:14 2013
\begin{sidewaystable}[p]
\begin{center}
{\small
\begin{tabular}{llrrrrrrr}
\toprule
& &\shortstack{Number of \\workers} & \shortstack{Number with TB \\(per cent)} & \shortstack{Number with \\silicosis (per cent)} & \shortstack{Odds ratio \\for TB, (95\% CI)} & p-value* & \shortstack{Odds ratio \\for silicosis} & p-value* \\
\midrule
Silicosis & No/possible & 2838 & 112 (3.95) & 0 (0.00) & Reference & & & \\
& Probable & 368 & 28 (7.61) & 368 (100.00) & 2.00 (1.28-3.03) & 0.003 & & \\
Age (years) & $<$35 & 659 & 16 (2.43) & 11 (1.67) & Reference & & Reference & \\
& 35-44 & 1120 & 51 (4.55) & 70 (6.25) & 1.92 (1.11-3.50) & 0.011 & 3.93 (2.15-7.89) & $<$0.001 \\
& $\geq$45 & 1427 & 73 (5.12) & 287 (20.11) & 2.17 (1.28-3.88) & & 14.83 (8.47-29.01) & \\
Period in workforce (years) & $<$15yrs & 1086 & 35 (3.22) & 21 (1.93) & Reference & & Reference & \\
& 15-24 & 1002 & 48 (4.79) & 98 (9.78) & 1.51 (0.97-2.37) & 0.064 & 5.50 (3.48-9.11) & $<$0.001 \\
& $\geq$25 & 1118 & 57 (5.10) & 249 (22.27) & 1.61 (1.06-2.50) & & 14.53 (9.46-23.57) & \\
Job grade & Skilled & 249 & 5 (2.01) & 16 (6.43) & Reference & & Reference & \\
& Unskilled & 2957 & 135 (4.57) & 352 (11.90) & 2.34 (1.05-6.63) & 0.036 & 1.97 (1.21-3.44) & 0.005 \\
Accommodation & Hostel & 2199 & 109 (4.96) & 289 (13.14) & 1.42 (1.07-1.91) & 0.013 & 1.50 (1.25-1.81) & $<$0.001 \\
& Non-hostel & 1007 & 31 (3.08) & 79 (7.85) & Reference & & Reference & \\
Mine & Mine A & 1842 & 62 (3.37) & 159 (8.63) & Reference & & Reference & \\
& Mine B & 1364 & 78 (5.72) & 209 (15.32) & 1.74 (1.24-2.46) & 0.001 & 1.92 (1.54-2.39) & $<$0.001 \\
Country of origin & Lesotho & 847 & 51 (6.02) & 136 (16.06) & 1.52 (1.04-2.19) & & 1.75 (1.37-2.23) & \\
& Mozambique & 583 & 17 (2.92) & 57 (9.78) & 0.71 (0.40-1.19) & 0.013 & 0.99 (0.72-1.35) & $<$0.001 \\
& South Africa & 1776 & 72 (4.05) & 175 (9.85) & Reference & & Reference & \\
Previous history of TB & Missing & 205 & 5 (2.44) & 19 (9.27) & 0.56 (0.20-1.25) & & 0.84 (0.50-1.34) & \\
& No & 2648 & 113 (4.27) & 286 (10.80) & Reference & 0.089 & Reference & 0.001 \\
& Yes & 353 & 22 (6.23) & 63 (17.85) & 1.49 (0.91-2.34) & & 1.79 (1.32-2.40) & \\
\bottomrule
\end{tabular}
}
\caption{Distribution of tuberculosis in a cohort of male mine workers in South Africa, 2006. *Likelihood ratio test.}
\label{epic}
\end{center}
\end{sidewaystable}
\pagebreak[4]
\begin{table}[p]
\begin{tabular}{llrrr}
\toprule
Risk factor & Stratum & \shortstack{Combined odds \\ratio} & \shortstack{Stratum specific \\odds ratio} & \shortstack{p-value for \\interaction*} \\
\midrule
Age & & 1.79 (1.15-2.79) & & 0.659 \\
Years in industry & & 1.80 (1.15-2.81) & & 0.204 \\
Job grade & & 1.96 (1.27-3.01) & & 0.563 \\
Accommodation & & 1.91 (1.24-2.93) & & 0.308 \\
Mine & & 1.85 (1.20-2.86) & & 0.988 \\
Country of origin & Lesotho & & 1.13 (0.47-2.43) & \multicolumn{1}{l}{} \\
& Mozambique & & 4.10 (1.09-13.13) & 0.119 \\
& South Aftica & & 1.88 (1.22-2.88) & \multicolumn{1}{l}{} \\
\shortstack{Previous history \\ of TB} & & 2.02 (1.31 - 3.13) & & 0.773 \\
\bottomrule
\end{tabular}
\caption{Mantel-Haenszel odds ratios for association between silicosis and tuberculosis. Male mine workers in South Africa, 2006. *$\chi^2$ test of homogeneity.}
\label{mhtab}
\end{table}
\pagebreak[4]
\clearpage
% latex table generated in R 2.15.2 by xtable 1.7-0 package
% Thu Feb 07 22:59:21 2013
\begin{table}[p]
\begin{center}
\begin{tabular}{llr}
\toprule
Risk factor & Interacting level & Odds ratio (95\% CI) \\
\midrule
\multicolumn{1}{c}{n = 3001} & & \\
Silicosis & Lesotho & 0.99 (0.46-2.11) \\
& Mozambique & 3.26 (1.09-9.75) \\
& South Africa & 2.01 (1.07-3.77) \\
Age $<$35 & & \\
Age 35-44 & & 1.63 (0.92-3.01) \\
Age $\geq$ 45 & & 1.63 (0.93-3.00) \\
Accomodation hostel & & \\
Accomodation non-hostel & & 1.18 (0.76-1.86) \\
Job grade skilled & & \\
Job grade unskilled & & 1.96 (0.85-5.71) \\
No previous TB & & \\
Previous TB & & 1.19 (0.72-1.89) \\
Mine A & & \\
Mine B & & 1.64 (1.15-2.33) \\
\bottomrule
\end{tabular}
\caption{Multivariable logistic regression analysis of silicosis as a risk factor for tuberculosis in male mine workers in South Africa, 2006.}
\label{reg}
\end{center}
\end{table}
\end{document}