Probability, Statistics & Modeling II

GLM 2

x1 = 1:10 y = x1 + rep(c(-1, 1)) df = data.frame(x1, y) plot(x1, y)