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

416 questions
Filter by
Sorted by
Tagged with
31 views

### What is the probablity the y value produced in a linear regression is correct?

Apologies in advance if I am using the wrong terminology. Is the y value produced by a linear regression model assumed to be the mean of a normal distribution? Meaning there is a 50% chance the actual ...
26 views

### Prediction interval for regression with time series data

Suppose that ${y_{t}}$ and ${x_{t}}$ are time series variables. A simple linear regression model with autoregressive errors of order ${p}$, say AR(P), can be written as \begin{equation} y_{t}= \...
34 views

### Calculating the quantile of random forest test cases

I want to calculate the quantile of the observed value of a test case with respect to the prediction interval generated from a random forest, so for each test case I want the proportion of the ...
61 views

### Prediction intervals from Linear regression and Arima for DYNAMIC forecasting

I am comparing prediction intervals from linear regression and ARIMA for a simple AR(1) model: p = lag(p) The models were built on monthly data from 2003-2013 years. Predictions were made for 2014 ...
19 views

### Calculate prediction interval with stats::predict

I'm forecasting for the first time, so please for some patience. I want to calculate lower bound of 95% interval on my point forecast. I have the following model for estimation and forecasting a ...
12 views

### Сonfidence interval mean response and prediction interval for Instrumental Variables regression

I evaluated the regression model using the 2SLS method which is presented in the ivreg R package. Using predict can get fitted ...
41 views

### Utility of the whole distribution (other than the mean) in Bayesian posterior predictive

In prediction task, when using Bayesian fashion of predictors, I think in most the cases, people just use posterior mean for each individual estimate. I wonder if there's any utility of the higher ...
17 views

### Using AIC weights to determine prediction intervals for a single model structure

I am working with fitting regression models to data, and producing prediction intervals would be useful. Unfortunately, the data often has few data points, and is reported as mean rather than ...
77 views

### Quantile regression vs probability density estimation

If you want to predict a range for a regression problem using a deep network, you can do quantile regression and go with (for example) 5% and 95% quantiles. The other option is predicting a ...
20 views

### Bootstrap and prediction interval (Kumar & Srivastava 2012)

I am reading the paper Kumar & Srivastava (2012) and I am trying to understand it. However, I have some difficulties to understand some elements in the paper. First of all, let me present you some ...
28 views

### How to Derive Prediction Intervals for Orthogonal Distance Regression using scipy.odr?

Questions How can I derive prediction intervals for predictions based on new observations from the output of scipy.odr? Is it also possible (or necessary) to take ...
14 views

### Marginal mean after OLS, where X is a combination of seen and unseen observations

Looking for advice on a package in R or Python and an approach to help me construct a confidence interval for a marginal mean (or maybe we'll call it a prediction). Say I run OLS regression with $y$ ...
34 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 ...
42 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, ...
19 views

### Significance of datapoint outside prediction band

With linear regression I am plotting 25 bodies of text with their vocabulary count (independent variable X) and occurrence of a particular word (for example: "this"). I have a linear ...
17 views

### Why do different divisions of the same text corpus result in different regressions?

Background I am comparing a small text of 169 words to a bigger text consisting of 19.000 words. I am trying to plot a linear regression of different texts that can result from the different ways of ...
21 views

### How to calculate the prediction interval for regression through the origin?

I know the predicative interval for a single value of Y for a given Value of X_0 is: However, what would this formula be if the regression was forced through the origin?
33 views

### variance of theoretical mean of y at given value of x in regression [duplicate]

Could someone tell me where I might find information on deriving the standard error used in confidence and prediction intervals of y at a given value of x on a regression line. I can't find anything ...
294 views

### Prediction intervals for a single random variable

Prediction intervals seem to be talked about most in the context of regression, but I want to reduce it to one random variable to understand the reasoning. Assume you are sampling from a normal ...
221 views

### Why are the ends of the prediction interval wider in the regression? [duplicate]

Usually, the prediction interval has this shape in the image. I don't know why the end of the interval is wider than the center.
77 views

### Neural Network Assumptions in a Time series

I was wondering whether an artificial neural network regression, like ARIMA, requires statistically insignificant residual autocorrelation -- and, if so, why? I presume that, if I am using the ANN ...
30 views

### Project time series from previous time series examples and characteristics

Say I want to open a shop but first I want to project the likely sales in the first 5 years to see if it is a viable option. I have data pertaining to 100s of other start ups, including their success ...
24 views

### How do I compute the prediction interval by hand for a multiplicative time series decomposition model?

Say, I use a simple multiplicative decomposition on a time series dataset as defined in Chapter 6.8 of FPP2: $y_t = \hat{S}_t \times \hat{A}_t$, where $\hat{A}_t = \hat{T}_t \times \hat{R}_t$, so ...
10 views

### Predicting Rare Events (Incidents) from Sequence Data: Using RNNs

I have a problem I am interested in, and I am thinking of it in the context a neural network sequence model (any appropriate variation of RNN) BUT please correct me if another model is more apt: Data:...
30 views

### add linear trend back into time series prediction (in R)

I have the following GARCH(1,1) model ...
34 views

43 views

### Estimate an error bound for an estimate

I have two datasets regarding historical data (say, quarterly revenues for companies over time). The first is the actual results of this data and the other is available estimates for these results ...
21 views

### Good proportion of training data to get prediction interval using bootstrap

I am trying to get prediction intervals thanks to bootstrap: I train 1000 linear regressions with different subsets of my training data. Say I have 1,000,000 rows in my dataset, what would be a good ...
9 views

### Does it make sense to propensity scores for re weighting samples in prediction tasks?

When reading the literature on propensity scores, the focus is mainly on estimating treatment effects (be it ATE, ATT, or else). But that, in linear models terms, is equivalent to asking questions ...
16 views

### Is there a possibility to combine WLS with bootstrapping methodology for prediction purposes in R?

This is my first post, so here I go: I used R to create a bootstrap prediction interval for a one-predictor logarithmic regression model. Here are the steps for the creation of the bootstrap ...
22 views

### Buld prediction intervals for glmmTMB

I'm using glmmTMB to build a mixed effect logistic model from which I want to draw predictions. The predict() function applied to a glmmTMB model allows extracting the ML prediction and the relative ...
307 views

### Standard Error of prediction for Logistic Sigmoid function

Standard Error of prediction for Logistic Sigmoid function (previously: Finding the prediction interval for logistic regression) Update 2: This paper describes what I am looking to implement. Update: ...
365 views

### Implementing Bayesian Linear Regression using PyMC3

I am learning a Bayesian Approach towards implementing Linear Regression. The motivation is that Bayesian Approach gives you a range on predictions which might be useful when investing money in ...
33 views

### (G)LM prediction interval with heteroscedasticity

I am trying to get prediction intervals from some non-linear data which also exhibits heteroscedasticity. ...
15 views

### Prediction and confidence intervals interpretation for nonlinear data and linear model

I have a bunch of features that have an approximately simliar pattern. I've plotted a confidence interval and a prediction interval for one of them and I wonder weather CI and PI are meaningfull for ...
32 views

### Prediction interval for OLS with non-normally distributed residuals

I'm estimating a multiple linear regression model (found in equation 19 of "The volatility of realized volatility", Corsi et al. https://www.econstor.eu/bitstream/10419/25467/1/515328057.PDF) using ...
18 views

### Predictions on transformed series post intervention analysis

I have taken this logged data and performed an intervention analysis: ...