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 708 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
• 8,700 points

+1 vote
1 answer

## Difference between factor and as.factor in R programming

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

0 votes
2 answers

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

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

0 votes
1 answer

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

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

0 votes
1 answer

## What is the difference between [] and [[]] notations to access the elements of a list or dataframe in R?

R provides 3 basic indexing operators. Refer ...READ MORE

+3 votes
1 answer

## Predict weight and height of a person based on his nationality in R

One of the way by which you ...READ MORE

+5 votes
2 answers

## Predict weight when height is given using linear regression in R

You can try something like this: # The ...READ MORE

+1 vote
1 answer

## R programming: Linear programming problems

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

0 votes
1 answer

## R programming: Linear Equation

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

+2 votes
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

+1 vote
1 answer

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

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