Displaying 2 results from an estimated 2 matches for "3.63603".
Did you mean:
3.13603
2008 Dec 14
3
Some clarificatins of anova() and summary ()
I have two assignment problems...
I have written this small code for regression with two regressors .
n <- 50
x1 <- runif(n,1,10)
x2 <- x1 + rnorm(n,0,0.5)
plot(x1,x2) # x1 and x2 strongly correlated
cor(x1,x2)
y <- 3 + 0.5*x1 + 1.1*x2 + rnorm(n,0,2)
intact.lm <- lm(y ~ x1 + x2)
summary(intact.lm)
anova(intact.lm)
the questions are
1.The function summary() is convenient since
2008 Dec 14
3
Some clarificatins of anova() and summary ()
I have two assignment problems...
I have written this small code for regression with two regressors .
n <- 50
x1 <- runif(n,1,10)
x2 <- x1 + rnorm(n,0,0.5)
plot(x1,x2) # x1 and x2 strongly correlated
cor(x1,x2)
y <- 3 + 0.5*x1 + 1.1*x2 + rnorm(n,0,2)
intact.lm <- lm(y ~ x1 + x2)
summary(intact.lm)
anova(intact.lm)
the questions are
1.The function summary() is convenient since