Caba25
Caba25

Reputation: 13

Difference between confint and predict

I'm analyzing a linear model with 2 factors and I need to find a confidence interval for the response variable. As I understand it confint() and predict(, interval='confidence') both find confidence intervals so what is the difference between them?

Upvotes: 1

Views: 1695

Answers (1)

Ben Bolker
Ben Bolker

Reputation: 226162

  • confint() finds confidence intervals on the model parameters
  • predict(., interval="confidence") finds confidence intervals on the model predictions

Upvotes: 2

Related Questions