Predicted Value of a Dependent Variable

Predicted Value of a Dependent Variable

We calculate the predicted value of the dependent variable, \(Y\), by inserting the estimated value of the independent variable, \(X\), into the regression equation. The predicted value of the dependent variable, \(Y\), is determined using the following formula:



\(\widehat{Y}\) = Predicted value of the dependent variable.

\(X\) = Estimated value of the independent variable.

Example: Calculating the Predicted Value of a Dependent Variable

The estimated linear regression equation for inflation and unemployment rates for a certain country is:


Calculate the predicted value of the inflation rate if the forecasted value of the unemployment rate is 7.5%.


The predicted value of the inflation rate is determined as follows:

$$\begin{align}\hat{Y}&=\widehat{b}_0+\widehat{b}_1X\\ &=0.070953-0.90405\times 7.5\%=0.3\%\end{align}$$

Confidence Interval for Predicted Values

The calculation of the confidence interval for the predicted value of a dependent variable is the same as that of the confidence interval for regression coefficients. The confidence interval for a predicted value of the dependent variable is given by:

$$\text{Prediction Interval}=\ \hat{Y}\pm t_cs_f$$


\(t_c\)= Two-tailed critical t-value at the given significance level with n – 2 df.

\(\hat{Y}\) = Predicted value of a dependent variable.

\(s_f^2\)= The estimated variance of the prediction error.

$$s_f^2=s_e^2\left[1+\frac{1}{n}+\frac{\left(X-\bar{X}\right)^2}{\left(n-1\right)s_x^2}\right]=s_e^2\left[1+\frac{1}{n}+\frac{\left(X-\bar{X}\right)^2}{\sum_{i\ =\ n}^{n}\left(X_i-\bar{X}\right)^2}\right]$$


\(s_e^2\) = The squared standard error of estimate.

\(n\) = Nnumber of observations.

\(s_x^2\)= Variance of the independent variable.

\(X\) = Value of the independent variable.

We can, therefore, calculate the standard error of forecast as shown below:


Example: Calculating the Confidence Interval of the Predicted Value

Consider the results of the regression analysis of inflation on unemployment performed by an analyst:

$$\small{\begin{array}{llll}\hline{}& \textbf{Regression Statistics} & & \\ \hline {}& \text{Multiple R} & 0.8766 & {}\\ {}& \text{R Square} & 0.7684 & {}\\ {}& \text{Adjusted R Square} & 0.7394 & {}\\ {}& \text{Standard Error} & 0.0063 & {}\\ {}& \text{Observations} & 10 & {}\\ \hline{}& \textbf{Coefficients} & \textbf{Standard Error} & \text{t-Stat} \\ \hline\text{Intercept} & 0.0710 & 0.0094 & 7.5160\\ \text{Forecast (Slope)} & -0.9041 & 0.1755 & -5.1516\\ \hline\end{array}}$$

Calculate the 95% confidence interval of the predicted value of the inflation rate given that the forecasted unemployment rate is 7.5%.


$$\text{Prediction Interval} = \widehat{Y}±t_{c}S_{f}$$

The estimated variance of the prediction error is:


$$\begin{align*}S_f^{2}&=0.0063^2\bigg[1+\frac{1}{10} +\frac{(0.075-0.0526)^2}{(10-1)0.0013}\bigg]\\&=0.006733^2\end{align*}$$

From the regression results, the estimated regression equation is:


The predicted value of the inflation rate given an unemployment rate of 7.5% is:

$$\begin{align*}\widehat{Y}&= 0.0710-0.9041\times7.5\%\\&=0.3\%\end{align*}$$

The two-tailed critical t-value with 8 (n-2) degrees of freedom at the 5% significance level is 2.306.

The prediction interval at the 95% confidence level is:

$$\text{Prediction Interval (PI)} = \widehat{Y}±t_{c}S_{f}$$

$$\text{PI} = 0.3\%±2.306\times 0.6735\% = -1.25\% \text{ to } 1.85\%$$


Given an unemployment rate of 7.5%, we are 95% confident that the inflation rate will lie between -1.25% and 1.85%.

Question 1

The regression equation of quantity of goods against the price is given by:

$$Y =-159+0.26X$$


\(Y\) = Quantity supplied.

\(X\) = Price per unit of the product.

The predicted value of the quantity supplied when the price equals 1,200 is closest to:

  1. 153.
  2. 155.
  3. 471.

The correct answer is A.

$$Y\ =\ -159\ +\ 0.26\times1,200=153$$

Shop CFA® Exam Prep

Offered by AnalystPrep

Featured Shop FRM® Exam Prep Learn with Us

    Subscribe to our newsletter and keep up with the latest and greatest tips for success
    Shop Actuarial Exams Prep Shop Graduate Admission Exam Prep

    Sergio Torrico
    Sergio Torrico
    Excelente para el FRM 2 Escribo esta revisión en español para los hispanohablantes, soy de Bolivia, y utilicé AnalystPrep para dudas y consultas sobre mi preparación para el FRM nivel 2 (lo tomé una sola vez y aprobé muy bien), siempre tuve un soporte claro, directo y rápido, el material sale rápido cuando hay cambios en el temario de GARP, y los ejercicios y exámenes son muy útiles para practicar.
    So helpful. I have been using the videos to prepare for the CFA Level II exam. The videos signpost the reading contents, explain the concepts and provide additional context for specific concepts. The fun light-hearted analogies are also a welcome break to some very dry content. I usually watch the videos before going into more in-depth reading and they are a good way to avoid being overwhelmed by the sheer volume of content when you look at the readings.
    Kriti Dhawan
    Kriti Dhawan
    A great curriculum provider. James sir explains the concept so well that rather than memorising it, you tend to intuitively understand and absorb them. Thank you ! Grateful I saw this at the right time for my CFA prep.
    nikhil kumar
    nikhil kumar
    Very well explained and gives a great insight about topics in a very short time. Glad to have found Professor Forjan's lectures.
    Great support throughout the course by the team, did not feel neglected
    Benjamin anonymous
    Benjamin anonymous
    I loved using AnalystPrep for FRM. QBank is huge, videos are great. Would recommend to a friend
    Daniel Glyn
    Daniel Glyn
    I have finished my FRM1 thanks to AnalystPrep. And now using AnalystPrep for my FRM2 preparation. Professor Forjan is brilliant. He gives such good explanations and analogies. And more than anything makes learning fun. A big thank you to Analystprep and Professor Forjan. 5 stars all the way!
    michael walshe
    michael walshe
    Professor James' videos are excellent for understanding the underlying theories behind financial engineering / financial analysis. The AnalystPrep videos were better than any of the others that I searched through on YouTube for providing a clear explanation of some concepts, such as Portfolio theory, CAPM, and Arbitrage Pricing theory. Watching these cleared up many of the unclarities I had in my head. Highly recommended.