Dear colleagues
I am using Stata 17.0 MB and working on a dataset of Enterococci bacteria infections in the previous ten years (2012–2021). These bacteria have more dangerous subtypes resistant to one antibiotic (vancomycin; hence called VRE).
I want to test whether there is a significant trend in the incidence rate of these subtypes over the previous ten years.
What is the appropriate statistical test I have to use to check whether the noted increase in the incidence rate is statistically significant in stata?
My dataset and variables are illustrated below. Thank you in advance
I am using Stata 17.0 MB and working on a dataset of Enterococci bacteria infections in the previous ten years (2012–2021). These bacteria have more dangerous subtypes resistant to one antibiotic (vancomycin; hence called VRE).
I want to test whether there is a significant trend in the incidence rate of these subtypes over the previous ten years.
What is the appropriate statistical test I have to use to check whether the noted increase in the incidence rate is statistically significant in stata?
My dataset and variables are illustrated below. Thank you in advance
Code:
. describe vre year
Variable Storage Display Value
name type format label Variable label
------------------------------------------------------------------------------------------------------------------------------------
vre byte %9.1f YesNo Vancomycin-resistant Enterococci?
year byte %ty Year Year of culture
. tab vre year, column nokey
Vancomycin |
-resistant |
Enterococc | Year of culture
i? | 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 | Total
-----------+--------------------------------------------------------------------------------------------------------------+----------
No | 42 129 101 108 155 178 179 281 203 293 | 1,669
| 80.77 90.85 93.52 91.53 94.51 91.75 87.75 88.36 85.29 86.43 | 88.92
-----------+--------------------------------------------------------------------------------------------------------------+----------
Yes | 10 13 7 10 9 16 25 37 35 46 | 208
| 19.23 9.15 6.48 8.47 5.49 8.25 12.25 11.64 14.71 13.57 | 11.08
-----------+--------------------------------------------------------------------------------------------------------------+----------
Total | 52 142 108 118 164 194 204 318 238 339 | 1,877
| 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 | 100.00

Comment