Skip to main content

Table 1 Tested random and fixed effects in mixed effect logistic regression models with ELISA result and PCR result as outcome variables.

From: Repeated cross-sectional sampling of pigs at slaughter indicates varying age of hepatitis E virus infection within and between pig farms

Random effects of mixed effect logistic regression models (with all fixed effects included)

Outcome

Variable name

Explanation

ELISA result

(0/1 per pig)

1 | farm

Random intercept per farm

month–1 | farm

Random slope per farm

month | farm

Random intercept and slope per farm

(1 | farm / batch)

Random intercept per batch, nested in farm

PCR result

(0/1 per batch)

1 | farm

Random intercept per farm

month–1 | farm

Random slope per farm

month | farm

Random intercept and slope per farm

Fixed effects (independent variables) of mixed effect logistic regression models

ELISA result

(0/1 per pig)

farm type

Conventional; organic; high health; HyCare

ELISAtest

Original; alternative

PCR result

(0/1 per batch)

farm type

Conventional; organic; high health; HyCare

batch seropositive proportion

Between 0 and 1 per batch

  1. 0 = negative, 1 = positive test result