R exercise

Logistic Regression 9

Sign in to hand in your solution and get feedback.

train <- (Year < 2005) glm.fit <- glm(Direction ~ Lag1 + Lag2 + Lag3 + Lag4 + Lag5 + Volume, data = ..., family = ..., subset = ...)