R programming: 'predict() interval' difference between prediction and confidence

0 votes

I'm executing a regression model and I used the predict() function that R provides, What is the difference between this:

predict(data1.lm, interval="prediction")

and this:

predict(data1.lm, interval="confidence")

Jan 16 in Data Analytics by Sophie may
• 9,870 points
85 views

1 answer to this question.

0 votes

The intervals can include the uncertainty on the 

  • estimated coefficients which is the confidence, 
  • the variance  which is the noise in the observations, or 
  • both which is the prediction.
answered Jan 16 by Tyrion anex
• 8,280 points

Related Questions In Data Analytics

0 votes
1 answer

Difference between factor and as.factor in R programming

Hey @Ali, as.factor is a wrapper for ...READ MORE

answered Oct 29, 2018 in Data Analytics by Maverick
• 10,040 points
373 views
0 votes
2 answers

What is the difference between %% and % in R programming?

HI, %% returns remainder in case of numeric ...READ MORE

answered Aug 26 in Data Analytics by anonymous
• 31,840 points
87 views
0 votes
1 answer

Difference between [[1]] and [1] in R Programming

Hey Latha, The difference between them is that ...READ MORE

answered Jun 28 in Data Analytics by anonymous
• 31,840 points
43 views
0 votes
1 answer
+4 votes
2 answers
0 votes
1 answer

R programming: Linear programming problems

The documentation for the lp package provides ...READ MORE

answered Feb 4 in Data Analytics by Tyrion anex
• 8,280 points
74 views
0 votes
1 answer

R programming: Linear Equation

Use expand.grid to get all possible combinations ...READ MORE

answered Apr 30 in Data Analytics by Sophie may
• 9,870 points
184 views
+1 vote
1 answer

R programming: Drawing an xbar and R chart using qcc package

Try this: #x-Bar library(qcc) x=c(1080͵ 1390͵ 1460͵ ...READ MORE

answered Jan 25 in Data Analytics by Tyrion anex
• 8,280 points
156 views
0 votes
1 answer

R programming: How to subset data and plot graphs in R?

You can create a grouping variable depending ...READ MORE

answered Feb 18 in Data Analytics by Tyrion anex
• 8,280 points
68 views