Does an epidemiology package exist?


I am a PhD student in Epidemiology and since I saw Julia, I always wanted to try it out as a “new R”. As an epidemiologist, Epidemiology packages in R that provides support for contingency tables, risk ratios, and others are my bread and butter.

After looking it up online, I could not find a package that included this, even in development. This is why I posted here, is there a package somewhere similar to the “EpiR” in the R language, but in Julia?

A search on Github only turns up a very preliminary package, so I assume it will be difficult to find a replacement for EpiR. This is the case for most specialized packages, unless someone has needed one and put in the effort already. There is

which can be used for epidemiology, but that looks like something completely different.

Developing a package like EpiR, however, could be a great way to learn the language.

Also, I am not sure Julia is the “new R”. R has a large community and an ecosystem of polished packages. Where Julia competes at the moment is better language design and potentially faster code (but extracting the full potential requires a bit of learning).

You may be able to find some of the features you want scattered across several packages, since we try to offer a consistent set of packages providing techniques for all disciplinary fields. For example, the Kaplan-Meier estimator is implemented in Survival.jl, though currently I don’t think there’s a way to compute the instantaneous hazard (shouldn’t be too hard). Measures of association like Kappa should be added to StatsBase. Association tests (including for count data) are provided by HypothesisTests.

But overall I’m afraid lots of features are currently not implemented anywhere.

1 Like

Wow, thanks everyone for your answers. Your answers do help me orient myself with what should I expect to be present vs what should I consider rewriting.

Thank you for your help, and for your thoughtful answers.

1 Like