Chapter 9 Exercise 5

Sign in to test your solution.
set.seed(1) x1 <- runif(500) - 0.5 x2 <- runif(500) - 0.5 y <- 1 * (x1^2 - x2^2 > 0) data <- data.frame(x1 = x1, x2 = x2, y = y)
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.