CalcWorldHub
Free online calculator · no signup

Simple regression prediction interval half-width calculator

Compute the half-width of a two-sided prediction interval for one new response in simple linear regression.

Worked example
Relevant result
∑
Clear result · useful details
Default calculator result4.2816

Related calculators

Use these tools when your question extends to a neighboring part of the same calculation.

Browse statistics tools →

Simple regression prediction interval half-width calculator — Residual standard error s, t critical value, Sample size n and calculation method
Simple regression prediction interval half-width calculator: inputs and calculation method.

How to use this calculator

Compute the half-width of a two-sided prediction interval for one new response in simple linear regression.

  1. Enter Residual standard error s, t critical value, Sample size n, Leverage term (x₀−mean x)²/Sxx. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Simple regression prediction interval half-width calculator

Compute the half-width of a two-sided prediction interval for one new response in simple linear regression.

What it measures

This is the distance from the fitted line to either endpoint of a prediction interval for one future observation; the full interval is fitted value ± this amount.

Inputs and units

  • Residual standard error s: Enter a nonnegative spread estimate in the response or coefficient units used by the fitted model.
  • t critical value: Enter the value represented by this label; keep its domain, sign, and units consistent with the formula and assumptions below.
  • Sample size n: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.
  • Leverage term (x₀−mean x)²/Sxx: This predictor-distance term widens the future-observation interval away from the center of the fitted x data.

Formula and method

t·s√[1+1/n+(x₀−x̄)²/Sxx]

Worked example

With s=2, t=2.06, n=25 and leverage 0.04: 2.06×2√(1+1/25+0.04)≈4.2816.

Interpreting the result

The half-width includes the fitted-mean uncertainty plus residual variation for a new measurement. It grows with residual spread and with leverage, so it is usually wider than a confidence interval for the mean.

Assumptions and limits

Residual standard error and t critical value must be nonnegative; n>0 and leverage nonnegative. Use the t critical value for the chosen confidence level and residual degrees of freedom.

Sources and method

Frequently asked questions

Is this a confidence interval for the mean?

No. It predicts an individual future response and includes residual noise.

Where does the t value come from?

Choose it from the desired two-sided confidence level and regression degrees of freedom.

How do I use the Simple regression prediction interval half-width calculator?

Enter Residual standard error s, t critical value, Sample size n, Leverage term (x₀−mean x)²/Sxx. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Simple regression prediction interval half-width?

With s=2, t=2.06, n=25 and leverage 0.04: 2.06×2√(1+1/25+0.04)≈4.2816.

What does the Simple regression prediction interval half-width calculator calculate?

Compute the half-width of a two-sided prediction interval for one new response in simple linear regression.