About this course

This course introduces key statistical methods used in veterinary epidemiology. Students learn to create descriptive summaries, assess diagnostic tests, evaluate data quality, and analyze prevalence surveys. The course covers basic linear and logistic regression, including checking model assumptions, interpreting results, and handling simple clustering structures.

Students are also introduced to essential concepts in causal effect estimation and prediction modelling, with emphasis on practical applications. Students learn to recognize different types of epidemiological data and select appropriate analytical methods.

Learning outcome

The overall learning objective for this course is to enable students to design, conduct, and interpret relevant and sound statistical analyses for the most common veterinary epidemiological studies, and to recognize when more advanced methods are needed. This entails that:

The student is able to produce relevant and appropriate descriptive statistics and plots for epidemiological studies.

For studies evaluating measurements or diagnostic tests, the student should be able to

  • apply statistical methods for evaluating agreement between binary, categorical, and continuous measurements.
  • discuss accuracy and precision based on evaluations of agreement.
  • use simple methods to estimate sensitivity and specificity.
  • demonstrate knowledge of Bayesian methods for diagnostic test evaluation and discuss when their application is appropriate.

For studies evaluating the quality of databases, the student must be able to estimate measures of representativeness, completeness, timeliness, and validity.

For prevalence surveys, the student should be able to

  • use simple techniques to adjust for selection bias.
  • apply estimators that adjust for the accuracy of the diagnostic test used.

For regression linear and logistic models, the student will be able to

  • understand how the models are fit (least squares and maximum likelihood).
  • evaluate whether model assumptions are met and apply appropriate solutions when they are not.
  • interpret model coefficients.
  • estimate and interpret conditional and marginal predictions.
  • model simple clustering structures or repeated measurements using random effects.

In studies aimed at causal effect estimation, the student should be able to

  • assess whether the positivity assumption holds and discuss pragmatic solutions when it does not.
  • construct, fit, and interpret regression-based estimators of estimands for time-invariant/single-time point exposures, and continuous and binary outcomes.
  • understand the principles of sensitivity analysis and quantitative bias analysis, and discuss when such analyses are relevant.

For studies aiming to predict health, welfare, or productivity outcomes, the student should be able to

  • obtain and interpret predictions with prediction intervals for continuous and binary variables using regression models.
  • apply frameworks for training, modifying, and testing prediction models.
  • compare different models based on fit statistics (e.g., R2R^2R2, information criteria, p-values).
  • present and interpret measures of prediction accuracy and precision.
  • demonstrate knowledge of more advanced algorithms (e.g., machine-learning algorithms).
  • discuss when advanced algorithms are appropriate to apply.
  • incorporate causal considerations into the construction of prediction models and discuss when this is relevant.

Students should be able to:

  • recognize outcomes that are categorical (ordinal or nominal), counts, or time-to-event measurements, as well as time-varying exposures or complex hierarchical/repeated-measures structures
  • identify methods appropriate for these types of data.
  • Learning activities

    All topics are introduced through lectures and exercises, and students will further study these independently (e.g., by reading papers and textbook chapters). Students must work extensively on writing a study protocol for their own epidemiological study, and teachers provide supervision throughout this process.
  • Teaching support

    Supervision is provided to students while they work on their assignments and exam.
  • Syllabus

    Chapters in textbooks:

    Chapters: 5, 14, 15, 16, 17, 20, 21 in Dohoo, Ian Robert, Wayne Martin, and Henrik Stryhn. 2014. Veterinary Epidemiologic Research. 2nd ed. VER Inc. Upei.ca/ver.

    Chapters: 4, 5, 11, 12 in Hernan, Miguel A., and James M Robins. Causal Inference: What If. 1st ed. Chapman & Hall/CRC. https://www.hsph.harvard.edu/miguelhernan/causal-inference-book/.

    Peer-reviewed scientific papers:

    Shmueli, Galit. 2010. "To Explain or to Predict?" Statistical Science 25 (3). https://doi.org/10.1214/10-STS330.

    Lewer, Dan, Thomas Brothers, Elizabeth O’Nions, and John Pickavance. 2025. "Factors Associated with: Problems of Using Exploratory Multivariable Regression to Identify Causal Risk Factors." BMJ Medicine 4 (1). https://doi.org/10.1136/bmjmed-2025-001375.

  • Prerequisites

    1. Basic understanding of biostatistics: for example, VET410, STAT100, MF9130 (University of Oslo), or a similar course.
    2. Understanding of fundamental epidemiological theory, including the counterfactual framework, directed acyclic graphs, and study designs for observational studies and randomized controlled trials: VET411 or similar.
    3. Basic skills in using either R or Stata (statistical software), including data management tasks and writing scripts to ensure reproducibility of analyses: VET410, STIN300, or a similar course.
  • Assessment method

    Students must submit a paper demonstrating their ability to conduct and interpret relevant statistical analyses for an epidemiological study. The paper should include: aims and objectives; a brief description of the study design and variables; statistical methods; results; and interpretation of the results. Students are encouraged to work with their own data; however, a dataset will be provided for those who do not have this possibility. There are no restrictions on permitted aids. Students are encouraged to collaborate with supervisors and other colleagues involved in their study, and all contributions to the assignment must be declared in the submitted version. Grading: pass/not passed.

    Assignment Grading: Passed / Not Passed
  • About use of AI

  • Examiner scheme

    Internal censor.
  • Mandatory activity

    Participation in sessions with oral presentations of assignments are mandatory.
  • Notes

    R and Rstudio or Stata, should be installed and working on your computer at course start. Students are encouraged to work with their own data, and if they want to do so, they should bring an cleaned and wrangled dataset ready for analysis.

    Deadline for registration: February 1st.

  • Preferential right

    VET-VIT

    VET-FORSK

  • Reduction of credits

    There is some overlap with STAT402 in the theory and technical aspects of regression models .
  • Admission requirements

    Open to PhD candidates at NMBU and other unversities. Open to veterinary research track students at NMBU.