Displaying 1 result from an estimated 1 matches for "73b61a36".
2001 Apr 09
5
predict problem
Windows 98
R : Copyright 2001, The R Development Core Team
Version 1.2.1 (2001-01-15)
Dear friends.
How comes this works and produce a single prediction:
x <- rnorm(15)
y <- x + rnorm(15)
predict(lm(y ~ x))
new <- data.frame(x = seq(-3, 3, 0.5))
predict(lm(y ~ x), new, se.fit = TRUE)
pred.w.plim <- predict(lm(y ~ x), new, interval="confidence")
new1 <- data.frame(x=3)