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, 2019 in Data Analytics by Sophie may
• 9,940 points
153 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, 2019 by Tyrion anex
• 8,380 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,820 points
2,005 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, 2019 in Data Analytics by anonymous
• 32,460 points
241 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, 2019 in Data Analytics by anonymous
• 32,460 points
1,286 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, 2019 in Data Analytics by Tyrion anex
• 8,380 points
139 views
0 votes
1 answer

R programming: Linear Equation

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

answered Apr 30, 2019 in Data Analytics by Sophie may
• 9,940 points
217 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, 2019 in Data Analytics by Tyrion anex
• 8,380 points
275 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, 2019 in Data Analytics by Tyrion anex
• 8,380 points
108 views