Hiërarchische en Mixed-Effects-modellen in R
Richard Erickson
Data Scientist
glm(y ~ x, family = "gaussian")
?family

glm(y ~ x, family = "poisson")

# binair: y = 0 of 1 glm(y ~ x, family = "binomial")# Wilkinson-Rogers: cbind(success, failure) glm(cbind(success, failure) ~ x, family = "binomial")# Gewogen formaat: y = 0.3, weights = 10 glm(y ~ x, weights = weights, family = "binomial")
Hiërarchische en Mixed-Effects-modellen in R