Flashcards
R function review

Cards in this deck (8)
- 1—cor(x, y)
gives r value for model
- 2—lm(y~x, data = dataname)
Gives b0 (intercept) and b1(vehicles)
- 3—anova(model)
bottom row sum sq = SSE
br SSE/df = Mean Sq
MSE = s^2 (sqrt = s = rse)
- 4—summary(model)
estimate line gives b0 and b1
std. error bottom row gives sb
estimate/st error = t-value
pt (t-value) = p-value
residual standard error = s
- 5—confint(level = )
gives confidence interval for b1, on eq sheet
- 6—predict(model, interval = )
gives confidence intervals for diff x values
- 7—cor.test
p-value = p(t>7.43)
CI for r values
- 8—t.test
t = x-mu/s/sqrt n
df = n-1
p value = pt(t...)
ybar +- t(s/sqrt(n))
Information
- Description
- Flashcards on R function review, created by Grace Lupold on 09/10/2023.
- Created by
- Grace Lupold
- Views
- 3
- Rating
More on Simple Linear Regression