Epidemiology with R
NovoNordisk Epidemiology, Tuesday 11 & Friday 14 August 2015
The course will give practical training
in R for
epidemiological analyses, particularly reporting
study results both in tabular and graphical form.
The course will be alternating between lectures and practicals.
The Epi
package for R will be used in this
course. Participants should bring their own computer with R
installed, and the latest version of
the Epi package (1.1.68) installed
too.
Formally no prior knowledge of R is
required, but please see to it that you
have all the relevant paraphernalia installed on your computer as
indicated below on this page, particularly if you are not
familiar with R.
- Venue & time: Vandtaarnsvej, Tue 11: VTBK02; Fri 14:
VTBK03
09:00 - 16:30
- Topics covered:
- R:
- Data objects (vectors, data frames, ...)
- Packages
- Reading and writing data
- Language
- Functions
- Graphics
- Rates, survival function, etc.:
Connection between all basic concepts from a probability point
of view.
- Estimating and showing smooth rates and RRs.
- Lexis diagrams and representation of follow-up data
- Splitting the follow-up.
- Cox-modelling of rates.
- Poisson modelling of rates.
- Reporting rates and probabilities from models (demo).
- Lectures and computer practicals:
-
Bendix Carstensen,
Senior Statistician, Steno Diabetes Center & Department of
Biostatistics, University of Copenhagen, Denmark.
-
Dorte Vistisen, Senior Statistician, Steno Diabetes Center
- Course program. Also included in
Computer practicals.
- Course material:
- R topics:
- Installing
R
on your computer:
Go to
http://mirrors.dotsrc.org/cran/bin/windows/base/
and download the latest version of
R
(3.2.1) and install it.
- Getting
the Epi
package:
Once you have installed / updated R install the
Epi
package using the menu button
Packages and then
Install packages or
Update packages.
- Finally, from inside R type:
> library(Epi)
> sessionInfo()
- and you should be informed that you have version 3.2.1
of R and version 1.1.68 of
the Epi
package.
- If you are not familiar with R, you can use "A work-book
introduction to basic R" by Micheal Hills:
First go
here
and click on the link "readme.fst" and follow the instructions.
- A slightly more advanced text is
A short introduction to R for
epidemiology.
- Mailing list:
A mailing list for users of R in epidemiology has been set up.
Join the list and use it for getting help with your R-problems:
Join here.
- Papers of relevance in pdf-format:
- Other courses of similar content are here.
Last updated 10 August 2015, BxC