As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [prediction-interval]

A prediction interval (also forecast interval) is an interval that covers the future (or otherwise unknown, but *observable*) value of a random variable with some prespecified probability.

218 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12 votes
0 answers
2k views

Empirical Prediction interval for time series forecast based on quantile regression

As Gardner notes "almost all point forecasts are wrong", so prediction intervals (PI) are necessary to quantify uncertainty and help us make informed decisions. There exists theoretical PI, and in ...
forecaster's user avatar
  • 7,733
10 votes
0 answers
835 views

Bootstrap Prediction Interval: which residuals to use and which method?

I ask this question referring to the post: Bootstrap prediction interval, where a step by step method for calculating the prediction interval for linear regression models is explained. In the ...
user2683832's user avatar
8 votes
1 answer
1k views

Using an RMSE with derived confidence interval, to generate a prediction interval for an estimate

Previous questions have asked about creating prediction intervals for estimates derived from random forests or boosted regression trees, in a similar way to is easily achieved with linear regression ...
Erolgo's user avatar
  • 81
8 votes
0 answers
1k views

Detecting outliers using 95% PI around a natural spline fit

Please see the picture below: I wanted to mark the points that are not consistent with their adjacent points as outlier. What I did was to fit a natural spline fit to 1000 observations (the purple ...
Sam's user avatar
  • 2,144
7 votes
0 answers
500 views

Is it possible to get a prediction interval for logistic regression via a latent variable?

carbocation asked how to compute prediction intervals for logistic regression. The answer was that prediction intervals don't make sense for logistic regression because the response variable only ...
Ross Gayler's user avatar
7 votes
0 answers
690 views

prediction interval of a new prediction out of a weighted linear regression model

This question is based on the example 11.1 out of the book Applied linear statistical models of Kutner, Nachtsheim, Neter and Li. You can find the data here. First they calculate a simple linear ...
Kasper's user avatar
  • 3,209
5 votes
0 answers
861 views

Prediction intervals for HTS forecasting

So I have a lot of time series with a hierarchical structure, and need to produce forecast for each base series and its aggregates by the hierarchical structure. I have decided to produce forecast ...
juan alvarez's user avatar
5 votes
0 answers
225 views

What is the mathematics behind the GAM prediction intervals?

From the R gam function available in the gam and mgcv package there is the option to obtain ...
Donbeo's user avatar
  • 3,129
5 votes
0 answers
364 views

Derivation of prediction intervals for a normally distributed population with unknown population standard deviation

I have via the ISO standard 16269 found the solution to a problem that I've been working on. Based on a couple of independent samples from a normally distributed population, I would like to determine ...
Andreas Wittberg's user avatar
5 votes
2 answers
630 views

Is this interpretation of prediction intervals correct?

I have a regression model relating to a ''normal'' population. If a new observation which corresponds to point $x$ is outside the prediction interval at $x$, do I have a reason to suspect the new ...
Bill W.'s user avatar
  • 51
4 votes
1 answer
179 views

How to test whether 2 prediction intervals are statistically different?

I've been struggling with this for a while now, hopefully someone will know how to help me :) Here it is : 1) I'm using a linear mixed effects model on longitudinal data (biological values of many ...
Raph's user avatar
  • 41
4 votes
1 answer
683 views

Prediction Interval for Mean of Predictions

This question is about creating a prediction interval for the mean of predictions from a regressor. Let's say I have arbitrary regression function (not necessarily parametric, could be random forest, ...
Owen's user avatar
  • 193
4 votes
0 answers
419 views

Prediction interval for function of binary outcomes in GLM

I have a large data set with binary outcomes $\vec{y} = (y_1,\dots,y_n)$ with $y_i\in\{0,1\}$ and covariates $\mathbf{X} = (\vec{x}_1, \dots ,\vec{x}_n)^\top$. One of the goals of the model I am ...
Benjamin Christoffersen's user avatar
4 votes
0 answers
1k views

Prediction intervals for generalized least squares model with heteroscedastic errors

I wanted to model some data with heteroscedastic errors using a gls model of the form ...
Tom Wenseleers's user avatar
4 votes
0 answers
420 views

Is chaining neural networks in this way a good way to estimate a prediction interval?

Suppose you want to predict the outcome of some real valued function $f$. The details of the function are unknowable and it also has a stochastic component. You identify some variables $\theta$ which ...
Chechy Levas's user avatar
  • 1,101
4 votes
0 answers
805 views

Bootstrapped prediction intervals: Quantile, median, SE...?

I am trying to construct prediction intervals for a non linear model via Boostrap. What I do is to apply the usual bootstrap procedure, here you have pseudo-code for 1000 iterations: ...
adrian1121's user avatar
  • 1,076
4 votes
0 answers
207 views

Prediction Intervals for Incremental OLS regression

I am implementing incremental OLS regression algorithm where the data points arrive one at a time. As the regression parameters are determined by the formula, $(X'X)^{-1} X'y$ and the Sherman-Morrison ...
bfaskiplar's user avatar
4 votes
0 answers
446 views

Prediction Intervals for Robust Regression: Formulation and are they larger than for OLS?

I have created regression models using robust regression - in particular, LTS and MM-estimators (using the R package robustbase). I am now looking to creation prediction intervals. The standard ...
Jonathan's user avatar
  • 363
4 votes
0 answers
364 views

How do I compute a prediction interval from generalized estimating equation output?

Suppose I have repeated observations on individuals, which I've analyzed using a generalized estimating equation (GEE). What is the procedure for computing the prediction interval for future ...
Brash Equilibrium's user avatar
4 votes
0 answers
940 views

prediction interval for heteroscedastic data

Here are some data: ...
Stéphane Laurent's user avatar
3 votes
1 answer
126 views

Confidence interval for (unobserved) sample mean

Suppose I take two samples, $a$ and $b$, from a population (or super population) but that I only observe $b$. However, I want to construct a confidence interval for $\bar{a}$, the average of the ...
num_39's user avatar
  • 1,239
3 votes
0 answers
184 views

Ways to estimate error in a machine learning algorithm's predictions by outputting a probability distribution

I want to make it so that my machine-learning algorithm, when given an input, outputs the parameters of a Gaussian distribution, with the goal of getting an expected error on the prediction. The ...
DatLemonDoe's user avatar
3 votes
0 answers
50 views

(G)LM prediction interval with heteroscedasticity

I am trying to get prediction intervals from some non-linear data which also exhibits heteroscedasticity. ...
user2974951's user avatar
  • 7,118
3 votes
0 answers
38 views

Predicting the variance of a future sample

Suppose that I have the dataset for wealth distribution for 50 different countries. Each country's data consists of the wealth figures for 100 random individuals in that country. Some countries have ...
ronsahtol's user avatar
3 votes
1 answer
59 views

How to test whether individual fits to regression line or not

I have a defined regression model for the healthy control (HC) group, with corresponding CIs of coefficients and of E(Y). I would like to test whether individuals belonging to another population (...
Agnese Giacomello's user avatar
3 votes
1 answer
869 views

Posterior predictive distributions and predictive intervals

I'm confused about the role of posterior predictive distributions in Bayesian inference and predictive inference. As I understand it, the frequentist approach would typically involve fitting the MLE, ...
Gordon M's user avatar
3 votes
0 answers
320 views

Is a comparison between Bayesian and frequentist prediction intervals sensible?

I am aware that frequentist confidence intervals and Bayesian credible intervals have quite different interpretations, and are not comparable. I'm wondering if the same is true for prediction ...
JTH's user avatar
  • 1,033
3 votes
0 answers
225 views

infinitesimal jackknife confidence intervals for bagged learners are NOT prediction intervals, right?

Wager, Hastie, and Efron present a method for computing confidence intervals for RF predictions. Confidence intervals have to do with the variability of the expectation, not the expectation of the ...
generic_user's user avatar
  • 12.8k
3 votes
1 answer
43 views

Using clusters to estimate model variance

I am working with a blackbox prediction model which takes known inputs and outputs a single mean response. I know this model's residuals to be heteroskedastic, but also can assume the error term of ...
ballboy's user avatar
  • 31
3 votes
0 answers
378 views

How to get prediction interval given non normal data?

I'll start by saying that I have very little background in statistics and that my question title above is probably worded incorrectly. If I need to change the title to more accurately reflect my ...
codysius21's user avatar
3 votes
0 answers
879 views

Precision of Prediction Intervals for Multiple Linear Regression

As discussed in 33433, the prediction interval for single linear regression is most precise at the mean of the $x$ values. Does this also hold true for multiple linear regression, that is: the ...
Dr. Pain's user avatar
  • 131
3 votes
0 answers
423 views

How to calculate prediction intervals based on Chebyshev inequality?

I have recently read the article by Gardner (1988) who proposes Chebyshev inequality-based prediction intervals for forecast: suppose we have a model selected on the usual basis of one-step-ahead ...
Tim's user avatar
  • 130k
3 votes
0 answers
194 views

Prediction intervals for forecasts using spectral analysis

I have circadian data which typically have a period of around 24 hours so using spectral analysis seems appropriate. I've used spectrum resampling which is quite robust to changes in period which ...
outb4break's user avatar
3 votes
1 answer
52 views

Testing and validating a limit for experimental data

I have found some similar questions to the one I pose here, but the answers are either over my head, or seem to be slightly off point to what I am trying to accomplish. If it's a true repeat, I ...
Confused in Cape Canaveral's user avatar
3 votes
0 answers
74 views

Regression: Should I use the prediction interval obtained given n=9 and an outlier (Cook's D= 0.558) present?

The data I'm working with has 9 observations. I'm using only one predictor variable. Using SAS, I fit the model and checked the residuals. The typical model assumptions appear to be met, but there ...
user72783's user avatar
3 votes
0 answers
306 views

Prediction interval in principal component regression

I would like to obtain a prediction interval from a model returned by the R package pls. The predict method does not seem to be able to return this value. I wonder ...
ChrisW's user avatar
  • 31
3 votes
0 answers
210 views

Prediction errors for Adaboost

I understand how the adaboost algorithm works to produce a prediction of a class, however one thing I haven't seen is how to get a measure of accuracy for that prediction. For example, if I fit a ...
probabilityislogic's user avatar
3 votes
0 answers
1k views

Prediction intervals for a Poisson count (in R)

Is there a convenient way in R to calculate a probability prediction interval for a count sampled from Poisson($\lambda$), for known lambda? That is, for a given $\alpha$, find $a$ and $b$ such that $...
hearse's user avatar
  • 2,425
3 votes
1 answer
331 views

Estimating probability of an occurrence from historical data

I have 183 percentages based on the accuracy of a price prediction. (If I predict something will sell at 100, and it sells at 100, then I have sold at 100% of the prediction.) 16 times, the ...
Jeff's user avatar
  • 31
3 votes
1 answer
334 views

Tolerance interval vs Prediction interval, which one is wider?

Let say we have a 95% prediction interval, versus 95%/99% tolerance interval, which one is wider? A. PI always wider than TI B. TI always wider than PI C. Depends on sample you get Thanks!
Victor Tang's user avatar
2 votes
0 answers
67 views

Prediction intervals in the case of changing variance

I derive a point estimate given value $x_0$ using an estimated linear regression as follows: $$\hat{y_0} = x_0^T\hat{\beta}.$$ I know that a prediction interval for a given value $x_0$: $$\hat{y}_0\pm ...
shenflow's user avatar
  • 989
2 votes
1 answer
339 views

One tailed prediction intervals for Multiple Linear regression

After having fit a multiple regression model to my data, I am using it for predicting my dependent variable. I understand how one can predict and compute (using R) two tailed prediction intervals at a ...
Chaos's user avatar
  • 111
2 votes
0 answers
49 views

Parametric bootstrap *prediction* interval with heteroskedasticity and sandwich parameter covariance matrix

The sandwich estimator for OLS regressions where heteroskedasticity is suspected is $$ var(\hat\beta) = (X'X)^{-1}X'ee'X(X'X)^{-1} $$ If I want confidence intervals on predictions, I can just take ...
generic_user's user avatar
  • 12.8k
2 votes
0 answers
215 views

Prediction Intervals (Conformal Predictions) for Regression Problems

So I've been looking into the idea of looking into conformal predictions, or to obtain prediction intervals instead of just single point predictions. Basically my take is that I would have my deep ...
bioinformatics_student's user avatar
2 votes
0 answers
53 views

How do I calculate confidence level or interval?

I have this data for exam grades in English Literature: 2019: the numbers achieving (A*, A, B, C, D, E) are (1, 5, 4, 7, 2, 0, 0) 2018: the numbers achieving (A*, A, B, C, D, E) are (2, 4, 3, 7, 0, 1, ...
user810739's user avatar
2 votes
0 answers
183 views

Regarding Hyndman's approach to estimating prediction intervals for forecasts generated by neural networks

I'm currently looking for ways to estimate prediction intervals from an LSTM generated forecast. Several advanced methods are suggested in the literature (e.g. SQF-RNN), but as a first pass, I'm ...
Skander H.'s user avatar
  • 11.3k
2 votes
0 answers
88 views

Predictive density via LOOCV

I am looking for a way to generate a density prediction (in contrast to a point prediction or a prediction interval) in a multiple regression setting without relying on stringent parametric ...
Richard Hardy's user avatar
2 votes
1 answer
310 views

95% prediction interval for an ARMA(2,2) model

What would the formula for a 95% prediction interval for an ARMA(2,2) model be? The specific model I am using is: an ARIMA(2,0,2) with non-zero mean, with the following parameter estimates: ...
Sean's user avatar
  • 21
2 votes
0 answers
302 views

Are the conditional expectation values of y and f necessarily equivalent in Gaussian processes?

Suppose $y$ is a Gaussian process given by $y \sim f + \epsilon$, where $\epsilon$ is a Gaussian noise model with zero mean, and $f$ is a deterministic yet unknown mean function (or a Gaussian process ...
Mathews24's user avatar
  • 457
2 votes
0 answers
2k views

Estimating prediction interval of ARMA process using R forecast function

the theme is forecasting with ARMA models. I'm trying to understand how the R forecast function works if applied to an ...
Bert's user avatar
  • 31

1
2 3 4 5