GoConqr has a new look! Let us know what you think.

Flashcards

R function review

Grace Lupold English 8 cards

cor(x, y) gives r value for model

Cards in this deck (8)

  1. 1—cor(x, y)
    gives r value for model
    cor(x, y) gives r value for model
  2. 2—lm(y~x, data = dataname)
    Gives b0 (intercept) and b1(vehicles)
    lm(y~x, data = dataname) Gives b0 (intercept) and b1(vehicles)
  3. 3—anova(model)
    bottom row sum sq = SSE
    br SSE/df = Mean Sq
    MSE = s^2 (sqrt = s = rse)
    anova(model) bottom row sum sq = SSE br SSE/df = Mean Sq MSE = s^2 (sqrt = s = rse)
  4. 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
    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 s...
  5. 5—confint(level = )
    gives confidence interval for b1, on eq sheet
    confint(level = ) gives confidence interval for b1, on eq sheet
  6. 6—predict(model, interval = )
    gives confidence intervals for diff x values
    predict(model, interval = ) gives confidence intervals for diff x values
  7. 7—cor.test
    p-value = p(t>7.43)
    CI for r values
    cor.test p-value = p(t>7.43) CI for r values
  8. 8—t.test
    t = x-mu/s/sqrt n
    df = n-1
    p value = pt(t...)
    ybar +- t(s/sqrt(n))
    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

Feedback

What is it about?

What do you think of the new look?

How do you like it?