# 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.

205 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
247 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 ...
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 ...
871 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 ...
653 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 ...
148 views

### Prediction intervals with experimental errors

Engineer here, so apologies for my simplistic stats language. I am missing some experimental data that I would like to "fill in" based on a linear regression to other data. I need to do this because ...
805 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 ...
481 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 ...
345 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 ...
514 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 ...
113 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 ...
345 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 ...
862 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 ...
172 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 ...
348 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 ...
327 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 ...
894 views

### prediction interval for heteroscedastic data

Here are some data: ...
120 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 ...
38 views

### (G)LM prediction interval with heteroscedasticity

I am trying to get prediction intervals from some non-linear data which also exhibits heteroscedasticity. ...
36 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 ...
51 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 (...
243 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 ...
163 views

### Prediction interval for sampled count data

I am trying to get prediction intervals around a sampled count variable. For example, say I want to know the number of letters an apartment building receives every day. Each day I record the count ...
525 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, ...
332 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 ...
40 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 ...
325 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 ...
789 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 ...
381 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 ...
187 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 ...
35 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 ...
71 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 ...
184 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 ...
172 views

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 ...
1k views

863 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 ...
555 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,...
86 views

### How to test whether a prediction interval truly captures 95%?

I want to analyze the 95% prediction intervals for a model. The true values should fall within the prediction intervals 95% of the time (on average) if the interval is well calibrated. If the ...
189 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 ...