Steady State
İKT379 / Lecture 5
Lecture 5 · Week 5 · Gujarati ch. 5 · about 55 min

Interval Estimation, Hypothesis Testing and ANOVA

Why a single estimate is not enough, how the t distribution turns b2 and its standard error into a confidence interval, and how the same ingredients test claims about beta2: two-sided and one-sided tests, the confidence-interval approach, p-values, the two types of error, and the ANOVA split TSS = ESS + RSS with R-squared and the F test, all on the EViews consumption example.

By the end you can
  • Explain what a 95% confidence interval does and does not say
  • Build a confidence interval for beta1 and beta2 from regression output and a t table
  • Run a two-sided or one-sided t test in five steps and state the decision correctly
  • Read t-statistics and p-values in EViews output and connect them to the interval
  • Decompose TSS into ESS and RSS, compute R-squared and the F statistic, and link F to t

How the exam asks it: four core exam templates

Midterm exams on interval estimation and hypothesis testing consistently feature four question types: building confidence intervals, conducting t-tests of significance, applying the confidence interval decision rule, and constructing ANOVA tables for F-tests.

Exam template 1: Constructing a 95% confidence interval for beta2 and beta1

Question: Using the consumption regression output (n=10,α=0.05,df=8n = 10, \alpha = 0.05, df = 8), b2=0.509b_2 = 0.509 (SE=0.035SE = 0.035) and b1=24.45b_1 = 24.45 (SE=6.41SE = 6.41). From the t table, t0.025,8=2.306t_{0.025, 8} = 2.306. a) Compute the margin of error and the 95% confidence interval for the true slope β2\beta_2.
b) Compute the margin of error and the 95% confidence interval for the true intercept β1\beta_1.
c) State the precise textbook statistical interpretation of the 95% confidence interval for β2\beta_2.

Worked example · Full step-by-step solution for Template 1 (Confidence intervals)0/9

b2=0.509b_2 = 0.509, SE(b2)=0.035SE(b_2) = 0.035; b1=24.45b_1 = 24.45, SE(b1)=6.41SE(b_1) = 6.41; n=10n = 10; df=8df = 8; t0.025,8=2.306t_{0.025, 8} = 2.306.

Exam template 2: Two-sided hypothesis test (Test of significance approach)

Question: For the same model (b2=0.509091,SE(b2)=0.035743,n=10,α=0.05,t0.025,8=2.306b_2 = 0.509091, SE(b_2) = 0.035743, n = 10, \alpha = 0.05, t_{0.025, 8} = 2.306): a) State the null and alternative hypotheses to test whether weekly income has a statistically significant effect on consumption (H0:β2=0H_0: \beta_2 = 0).
b) Calculate the sample t-statistic and state the test decision.
c) Test someone’s claim that the true MPC is 0.30 (H0:β2=0.30H_0: \beta_2 = 0.30 vs H1:β2≠0.30H_1: \beta_2 \neq 0.30) at the 5% level.

Worked example · Full step-by-step solution for Template 2 (Two-sided t-test)0/9

b2=0.509091b_2 = 0.509091, SE(b2)=0.035743SE(b_2) = 0.035743, n=10n = 10, df=8df = 8, tcrit=2.306t_{crit} = 2.306.

Exam template 3: Confidence interval approach to hypothesis testing

Question: The board’s 95% confidence interval for the marginal propensity to consume β2\beta_2 is [0.428,0.590][0.428, 0.590] (or rounded as [0.42,0.58][0.42, 0.58]). a) State the decision rule for testing H0:β2=cH_0: \beta_2 = c against H1:β2≠cH_1: \beta_2 \neq c using the confidence interval approach.
b) Test H0:β2=0.60H_0: \beta_2 = 0.60 against H1:β2≠0.60H_1: \beta_2 \neq 0.60 at α=0.05\alpha = 0.05.
c) Test H0:β2=0.55H_0: \beta_2 = 0.55 against H1:β2≠0.55H_1: \beta_2 \neq 0.55 at α=0.05\alpha = 0.05.

Worked example · Full step-by-step solution for Template 3 (CI approach to testing)0/9

95% confidence interval for β2\beta_2 is [0.428,0.590][0.428, 0.590] (board rounded: [0.42,0.58][0.42, 0.58]).

Exam template 4: ANOVA decomposition and F-test

Question: An EViews regression output for n=10n = 10 reports RSS=337.2727RSS = 337.2727 and R2=0.962062R^2 = 0.962062. The 5% critical value of the F-distribution is F0.05;1,8=5.32F_{0.05; 1, 8} = 5.32. a) Compute TSSTSS and ESSESS.
b) Build the ANOVA table and compute the sample F-statistic F=ESS/1RSS/(n−2)F = \dfrac{ESS/1}{RSS/(n-2)}.
c) Test H0:β2=0H_0: \beta_2 = 0 using the F-statistic and verify that F=t2F = t^2.

Worked example · Full step-by-step solution for Template 4 (ANOVA and F-test)0/9

n=10n = 10; RSS=337.2727RSS = 337.2727; R2=0.962062R^2 = 0.962062; F0.05;1,8=5.32F_{0.05; 1, 8} = 5.32; t=14.24317t = 14.24317.

Cheat-sheet & the 4-step method

Why one number is not enough

The EViews regression of weekly consumption on weekly income (Gujarati Table 2.4, n=10n = 10) gave the slope b2=0.5091b_2 = 0.5091. That is a point estimate: our single best guess of the true marginal propensity to consume β2\beta_2.

But b2b_2 comes from one sample of ten families. A different sample would give a different number, maybe 0.47, maybe 0.55. The point estimate alone tells us nothing about how close it is likely to be to β2\beta_2.

So instead of relying on the point estimate alone, we construct an interval around it that has a known probability, say 95 percent, of containing the true parameter value.

The confidence interval idea

Confidence interval (general form)DefinitionFormula sheet →
Pr⁡(lower limit≤β2≤upper limit)=1−α\Pr(\text{lower limit} \leq \beta_2 \leq \text{upper limit}) = 1 - \alpha
1−α1 - \alpha
confidence coefficient (e.g. 0.95)
α\alpha
level of significance (e.g. 0.05)

Use it when you need to state formally what a confidence interval promises.

Diagram · t test and confidence intervaldf = 8, consumption example
true β₂ (fixed)sample 1missessample 20
covers β₂misses β₂

What 95% means: draw 20 samples and build an interval from each. About 95% of them (here 19 of 20) cover the fixed true β₂; one misses (red). β₂ never moves; the intervals do.

Check your understanding

A 95% confidence interval for β2\beta_2 is computed as [0.43, 0.59]. Which statement is the correct interpretation?

Building the interval with the t distribution

From the previous lessons, under the classical assumptions (with normally distributed disturbances) the standardised estimate follows a t distribution with n−2n-2 degrees of freedom:

t statisticKey formulaFormula sheet →
t=b2−β2SE(b2)∼tn−2t = \frac{b_2 - \beta_2}{SE(b_2)} \sim t_{n-2}
b2b_2
sample estimate of the slope
β2\beta_2
true population slope
SE(b2)SE(b_2)
standard error of b_2
n−2n-2
degrees of freedom

Use it when you need to turn an estimate and its standard error into a quantity with a known distribution, the starting point for both intervals and tests.

The t table gives a critical value tα/2t_{\alpha/2} that leaves α/2\alpha/2 in each tail. Then:

Worked example · From the t statistic to the interval0/6

Start from the fact that t falls between the two critical values with probability 1−α1-\alpha, and isolate β2\beta_2.

Confidence interval for beta2Key formulaFormula sheet →
b2±tα/2 SE(b2)b_2 \pm t_{\alpha/2}\,SE(b_2)
b2b_2
sample value of the slope
tα/2t_{\alpha/2}
two-sided critical value from the t table with n-2 df
SE(b2)SE(b_2)
standard error of b_2

Use it when a question asks for an interval estimate of the slope, or 'in which interval will Y change when X rises by one unit'.

Confidence interval for beta1Key formulaFormula sheet →
b1±tα/2 SE(b1)b_1 \pm t_{\alpha/2}\,SE(b_1)
b1b_1
sample value of the intercept
SE(b1)SE(b_1)
standard error of b_1

Use it when a question asks for an interval estimate of the intercept; the recipe is identical, only the coefficient and its standard error change.

Worked example: the EViews consumption function

The output from the OLS lesson:

VariableCoefficientStd. Errort-StatisticProb.
C24.454556.4138173.8127910.0051
X0.5090910.03574314.243170.0000

The question from the board: if income increases by one unit, in which interval will consumption increase? That is a 95% confidence interval for β2\beta_2.

Worked example · 95% confidence interval for beta2 (the board example)0/6

b2=0.509b_2 = 0.509, SE(b2)=0.035SE(b_2) = 0.035 (rounded as on the board), n=10n = 10, α=0.05\alpha = 0.05.

The second board question: when income is equal to zero, in which range will average consumption be? That is a 95% confidence interval for the intercept β1\beta_1.

Worked example · 95% confidence interval for beta1 (the board example)0/6

b1=24.45b_1 = 24.45, SE(b1)=6.41SE(b_1) = 6.41, n=10n = 10, α=0.05\alpha = 0.05, t0.025,8=2.306t_{0.025,8} = 2.306.

Your turn

Using the unrounded output, b1=24.45455b_1 = 24.45455, SE(b1)=6.413817SE(b_1) = 6.413817, t0.025,8=2.306t_{0.025,8} = 2.306, find the LOWER limit of the 95% confidence interval for β1\beta_1.

Check your understanding

Holding the data fixed, you switch from a 95% to a 99% confidence interval for β2\beta_2. What happens?

Hypothesis testing: the setup

A hypothesis test asks whether a specific claimed value of β2\beta_2 is compatible with the data.

AlternativeType of testRejection region
H1:β2≠cH_1: \beta_2 \neq ctwo-sidedboth tails, α/2\alpha/2 in each
H1:β2>cH_1: \beta_2 \gt cone-sided (right)right tail, all of α\alpha
H1:β2<cH_1: \beta_2 \lt cone-sided (left)left tail, all of α\alpha

The most common case is c=0c = 0: “X has no effect on Y”. Rejecting H0:β2=0H_0: \beta_2 = 0 means the coefficient is statistically significant.

Approach 1: the test of significance (t test)

t test statisticKey formulaFormula sheet →
t=b2−cSE(b2)t = \frac{b_2 - c}{SE(b_2)}
cc
hypothesised slope under H0
b2b_2
sample estimate
SE(b2)SE(b_2)
its standard error

Use it when you test any claimed value of a coefficient. With c = 0 it reduces to coefficient / standard error, the t-Statistic column in EViews.

Decision rules:

Diagram · t test and confidence intervaldf = 8, consumption example
t0−2.3062.306α/2 = 0.025α/2 = 0.0250.95do not reject H₀rejectreject
t distribution, 8 dfrejection regiondo-not-reject region

H₀: β₂ = c vs H₁: β₂ ≠ c at α = 5%, df = n − 2 = 8. Put α/2 = 0.025 in EACH tail: critical values ±2.306. If the computed t falls in a red tail (|t| > 2.306), reject H₀; in the middle 95% region, do not reject.

Worked example · Is income significant? (H0: beta2 = 0)0/6

Consumption example: b2=0.509091b_2 = 0.509091, SE(b2)=0.035743SE(b_2) = 0.035743, n=10n = 10, α=0.05\alpha = 0.05, two-sided.

Worked example · Is the MPC 0.3? (Gujarati's test)0/6

Someone claims the true MPC is 0.3. Test H0:β2=0.3H_0: \beta_2 = 0.3 against H1:β2≠0.3H_1: \beta_2 \neq 0.3 at α=0.05\alpha = 0.05.

Your turn

Test H0:β2=0.5H_0: \beta_2 = 0.5 for the consumption example (b2=0.509091b_2 = 0.509091, SE=0.035743SE = 0.035743). Compute the t statistic, to two decimals.

Approach 2: the confidence-interval approach

The interval and the two-sided test are two views of the same calculation:

Diagram · t test and confidence intervaldf = 8, consumption example
β₂0.400.450.500.550.600.650.4280.590b₂ = 0.5090.509 ± 2.306 × 0.035c = 0.55 insidedo not reject H₀c = 0.60 outsidereject H₀c = 0 is far to the left: reject H₀ (slope significant)
95% intervalinside: do not rejectoutside: reject

The 95% interval for β₂ is 0.509 ± 2.306 × 0.035 = [0.428, 0.590]. The confidence-interval approach (two-sided only): c = 0.55 lies inside → do not reject; c = 0.60 lies outside → reject. 0 is far outside → slope significant.

Worked example · Is the MPC significantly different from 0.60? (board question)0/6

Answer by using the confidence-interval approach, at the 5% level, with the board's 95% interval for β2\beta_2.

Worked example · And from 0.55? (second board question)0/6

Same interval; the board writes it rounded as Pr⁡[0.42≤β2≤0.58]=95%\Pr[0.42 \leq \beta_2 \leq 0.58] = 95\%. Test H0:β2=0.55H_0: \beta_2 = 0.55 against H1:β2≠0.55H_1: \beta_2 \neq 0.55.

With the 95% interval [0.4267,0.5915][0.4267, 0.5915]:

Check your understanding

The 95% confidence interval for a slope is [−0.12,0.84][-0.12, 0.84]. What is the conclusion of the two-sided test of H0:β2=0H_0: \beta_2 = 0 at the 5% level?

Try it: move the null, watch the decision

Interactive · testing the MPCb₂ = 0.5091 · SE = 0.0357 · n = 10
-4-2024−2.3062.306do not reject H₀t = 5.85 →t statistic (df = 8)

H₀: β₂ = 0.30 against H₁: β₂ ≠ 0.30.
t = (b₂ − c) / SE = (0.5091 − 0.30) / 0.0357 = 5.85.
Critical value (two-sided, α/2 = 0.025, df = 8): 2.306.
Reject H₀: |t| = 5.85 > 2.306.

95% interval: 0.5091 ± 2.306 × 0.0357 = [0.4267, 0.5915]. 0.30 is outside it, so the interval gives the same verdict: reject.

Slide cc and watch both views. In the two-sided test, the computed t enters the red rejection region exactly when cc leaves the confidence interval. Switch to a one-sided alternative to see the rejection region move into a single tail.

The one-sided test: Keynes’s claim

Keynes argued that the MPC is less than 1: people spend part, not all, of an extra unit of income. That is a one-sided claim.

Worked example · Testing MPC below 1 (one-sided)0/6

H0:β2=1H_0: \beta_2 = 1 against H1:β2<1H_1: \beta_2 \lt 1, α=0.05\alpha = 0.05, b2=0.509091b_2 = 0.509091, SE=0.035743SE = 0.035743, df =8= 8.

p-values: what Prob. means in EViews

The p-value is the probability, if H0H_0 were true, of getting a t statistic at least as extreme as the one observed. It is the smallest significance level at which H0H_0 would be rejected.

Worked example · Is each coefficient individually significant? (board question)0/6

Consumption output: C has Prob. = 0.0051, X has Prob. = 0.0000. Rule: if Prob. <\lt 0.05, reject H0H_0.

Check your understanding

A coefficient in EViews output has Prob. = 0.0730. At which significance level is it significant (two-sided)?

Type I and Type II errors

Any test can go wrong in two ways:

H0H_0 trueH0H_0 false
Reject H0H_0Type I error (probability α\alpha)correct decision
Do not reject H0H_0correct decisionType II error

ANOVA: splitting the total variation

Analysis of variance (ANOVA) looks at the regression as a whole: how much of the movement of YY around its own mean does the line explain?

Coefficient of determinationKey formulaFormula sheet →
TSS=ESS+RSSR2=ESSTSS=1−RSSTSSTSS = ESS + RSS \qquad R^2 = \frac{ESS}{TSS} = 1 - \frac{RSS}{TSS}
R2R^2
coefficient of determination: the share of the total change in Y explained by the regression

Use it when you need to say how well the regression explains Y as a whole.

Worked example · ANOVA for the consumption example0/6

EViews reports Sum squared resid (RSS) = 337.2727 and R2=0.962062R^2 = 0.962062, with n=10n = 10.

Source of variationSum of squaresdfMean square
Regression (ESS)8552.7318552.73
Residual (RSS)337.27842.16
Total (TSS)8890.009
F statisticKey formulaFormula sheet →
F=ESS/1RSS/(n−2)∼F1, n−2F = \frac{ESS/1}{RSS/(n-2)} \sim F_{1,\,n-2}
ESS/1ESS/1
mean square of the regression
RSS/(n−2)RSS/(n-2)
mean square of the residuals, the estimated error variance
F1,n−2F_{1,n-2}
F distribution with 1 and n-2 df

Use it when you test whether the regression explains Y at all (H0: beta2 = 0) from the ANOVA table.

Decision rule: reject H0:β2=0H_0: \beta_2 = 0 if FF exceeds the critical value from the F table, or if Prob(F-statistic) <0.05\lt 0.05. Here F0.05; 1,8=5.32F_{0.05;\,1,8} = 5.32 and F=202.87>5.32F = 202.87 \gt 5.32 (EViews: Prob(F-statistic) =0.000001= 0.000001), so we reject: income explains consumption.

Switch the lab below to TSS = ESS + RSS and drag the last family’s consumption: a point far from the line inflates RSS, shrinks ESS’s share, and pulls R2R^2 and F down.

Interactive · EViews output, line by lineGujarati Table 2.4 · n = 10
507510012515017520080100120140160180200220240260weekly family income X (dollars)weekly consumption Y (dollars)Ŷ = 126.27(X̄, Ȳ)
C (intercept b₁)24.45455
X (slope b₂)0.509091
Std. error of b₂0.035743
t-statistic of b₂14.24317
R-squared0.962062
Adjusted R-squared0.957319
S.E. of regression6.4930
Sum squared resid337.2727
Mean dependent var111.00
F-statistic202.868

b₂ = Σxy / Σx² = 16,800 / 33,000 = 0.5091: each extra 1 dollar of weekly income raises mean weekly consumption by about 51 cents (within incomes 80–260). It is the MPC, between 0 and 1 as Keynes said.

Check your understanding

In a regression TSS = 500 and RSS = 125. What is R2R^2 and what does it mean?

Your turn

With n=12n = 12, ESS = 900 and RSS = 100. Compute the F statistic.

Normality: histogram and Jarque–Bera

Classical normal linear regression assumes the disturbance term is normally distributed: ui∼N(0,σ2)u_i \sim N(0, \sigma^2). Why does this matter? The OLS estimators b1b_1 and b2b_2 are linear combinations of the disturbances. If uiu_i is normal, then b1b_1 and b2b_2 are strictly normally distributed in any sample size, which makes the tt and FF tests exact. If uiu_i is not normal, tt and FF tests are only large-sample approximations.

Histogram of residuals

A histogram of residuals is a simple graphical check of the shape of the probability density function (PDF). We divide the range of OLS residuals eie_i into equal intervals and plot their frequencies. Mentally superimposing a normal bell curve on the histogram gives an immediate visual check for:

Jarque–Bera (JB) test of normality

The Jarque–Bera (JB) test is an asymptotic (large-sample) test based directly on the OLS residuals. It computes the skewness coefficient SS and the kurtosis coefficient KK:

Jarque–Bera test statisticKey formulaFormula sheet →
JB=n[S26+(K−3)224]JB = n \left[ \frac{S^2}{6} + \frac{(K - 3)^2}{24} \right]
JBJB
Jarque-Bera test statistic
nn
sample size
SS
skewness coefficient
KK
kurtosis coefficient

Use it when you need to test whether the regression residuals follow a normal distribution.

For a normally distributed variable:

  1. Skewness: S=0S = 0 (symmetric around the mean).
  2. Kurtosis: K=3K = 3 (mesokurtic).

Therefore, the JB test is a joint test of the null hypothesis: H0:S=0 and K=3(residuals are normally distributed)H_0: S = 0 \text{ and } K = 3 \quad (\text{residuals are normally distributed}) H1:S≠0 or K≠3(residuals are not normally distributed)H_1: S \neq 0 \text{ or } K \neq 3 \quad (\text{residuals are not normally distributed})

Under H0H_0, as sample size grows, the JB statistic asymptotically follows a chi-square distribution with 2 degrees of freedom: JB∼χ2(2)JB \sim \chi^2(2) Degrees of freedom is 2 because there are two restrictions (S=0S = 0 and K=3K = 3).

Diagram · Normality of residualsHistogram & Jarque-Bera test
-15-10-505101512345OLS residual eᵢFrequencyResidual stats (n=10)Mean: 0.00 SD: 6.12S = −0.398 K = 1.891JB = 0.777 (p = 0.678)Do not reject H₀ (Normal)
Residual frequencyNormal curve N(0, σ²)JB = 0.78 (p = 0.68) → Normal

Jarque-Bera test on Table 2.4 residuals (n = 10): Skewness S = -0.398, Kurtosis K = 1.891. JB = 0.777 < χ²(2) = 5.991 (p = 0.678). Do not reject H₀: residuals are normally distributed.

Worked example · Jarque–Bera test on Table 2.4 consumption residuals0/9

In the weekly consumption regression (Gujarati Table 2.4, n=10n = 10), EViews reports residual skewness S=−0.398346S = -0.398346 and kurtosis K=1.890997K = 1.890997. Run the Jarque–Bera test at the 5% significance level.

Your turn

A regression model with sample size n=50n = 50 yields residual skewness S=0.6S = 0.6 and kurtosis K=4.2K = 4.2. Compute the Jarque–Bera test statistic.

Prediction: mean prediction and its interval

Once we estimate a regression line, we often want to forecast the dependent variable YY for a chosen value of the explanatory variable, denoted X0X_0. Econometrics distinguishes between two prediction tasks:

  1. Mean prediction: predicting the conditional average E(Y∣X0)=β1+β2X0E(Y \mid X_0) = \beta_1 + \beta_2 X_0.
  2. Individual prediction: predicting an actual individual outcome Y0=β1+β2X0+u0Y_0 = \beta_1 + \beta_2 X_0 + u_0.

Here we focus on the mean prediction.

Point prediction

The point estimator of the mean value E(Y∣X0)E(Y \mid X_0) is obtained directly from the sample regression function (SRF): Y^0=b1+b2X0\hat{Y}_0 = b_1 + b_2 X_0 For example, from Gujarati Table 2.4 consumption regression: Y^i=24.4545+0.5091Xi\hat{Y}_i = 24.4545 + 0.5091 X_i To predict average weekly consumption for families with weekly income X0=100X_0 = 100: Y^0=24.4545+0.5091(100)=75.3645 dollars\hat{Y}_0 = 24.4545 + 0.5091(100) = 75.3645 \text{ dollars}

Variance and standard error of mean prediction

Because b1b_1 and b2b_2 vary from sample to sample, Y^0\hat{Y}_0 is an estimator with its own sampling distribution. It is normally distributed with mean E(Y^0)=β1+β2X0E(\hat{Y}_0) = \beta_1 + \beta_2 X_0 and variance:

Variance of mean predictionKey formulaFormula sheet →
var⁡(Y^0)=σ2[1n+(X0−Xˉ)2∑xi2]\operatorname{var}(\hat{Y}_0) = \sigma^2 \left[ \frac{1}{n} + \frac{(X_0 - \bar{X})^2}{\sum x_i^2} \right]
var⁡(Y^0)\operatorname{var}(\hat{Y}_0)
variance of predicted mean Y
σ2\sigma^2
disturbance variance
nn
sample size
X0X_0
chosen regressor value
Xˉ\bar{X}
sample mean of X
∑xi2\sum x_i^2
sum of squared deviations of X

Use it when you need the sampling variance of the estimated conditional mean E(Y|X0).

Replacing the unknown σ2\sigma^2 with the unbiased residual variance σ^2\hat{\sigma}^2: se⁡(Y^0)=σ^2[1n+(X0−Xˉ)2∑xi2]\operatorname{se}(\hat{Y}_0) = \sqrt{\hat{\sigma}^2 \left[ \frac{1}{n} + \frac{(X_0 - \bar{X})^2}{\sum x_i^2} \right]}

Confidence interval for E(Y | X0)

A 100(1−α)%100(1 - \alpha)\% confidence interval for the true mean value E(Y∣X0)E(Y \mid X_0) is: Y^0−tα/2,n−2 se⁡(Y^0)≤E(Y∣X0)≤Y^0+tα/2,n−2 se⁡(Y^0)\hat{Y}_0 - t_{\alpha/2, n-2}\,\operatorname{se}(\hat{Y}_0) \le E(Y \mid X_0) \le \hat{Y}_0 + t_{\alpha/2, n-2}\,\operatorname{se}(\hat{Y}_0)

Diagram · Mean prediction & confidence bandTable 2.4 consumption regression
801001401702002402606080100120140160Weekly income X ($)Weekly consumption Y ($)(X̄=170, Ȳ=111)Narrowest at X̄CI width: ±4.7395% CI: [67.90, 82.84]Width: ±7.46
SRF: Ŷ = 24.45 + 0.5091X95% Confidence bandNarrowest at X̄ = 170

95% confidence band for E(Y|X₀): Ŷ₀ ± t₀.₀₂₅ × se(Ŷ₀). Because se(Ŷ₀) has (X₀ − X̄)², the band is narrowest at the mean income X̄ = 170 (se = 2.05) and widens hyperbolically as X departs from X̄.

Worked example · 95% confidence interval for mean consumption at X0 = 1000/11

From Gujarati Table 2.4 (n=10n = 10), Y^i=24.4545+0.5091Xi\hat{Y}_i = 24.4545 + 0.5091 X_i, Xˉ=170\bar{X} = 170, ∑xi2=33,000\sum x_i^2 = 33,000, and σ^2=42.159\hat{\sigma}^2 = 42.159. Find the point prediction and 95% confidence interval for average consumption at income X0=100X_0 = 100.

Your turn

Using the Table 2.4 regression with Xˉ=170\bar{X} = 170, ∑xi2=33000\sum x_i^2 = 33000, and σ^2=42.159\hat{\sigma}^2 = 42.159 (n=10n = 10), calculate the standard error of the mean prediction at the sample mean income X0=170X_0 = 170.

Exam practice

Exam question 1

A regression with n=22n = 22 reports b2=1.8b_2 = 1.8 and SE(b2)=0.5SE(b_2) = 0.5. The two-sided 5% critical value with 20 df is 2.086. Find the UPPER limit of the 95% confidence interval for β2\beta_2.

Exam question 2

Same regression (b2=1.8b_2 = 1.8, SE=0.5SE = 0.5, df = 20). Compute the t statistic for H0:β2=1H_0: \beta_2 = 1.

Exam question 3

For the same regression the 95% interval is [0.757,2.843][0.757, 2.843]. Without any new calculation, which null hypothesis is rejected by a two-sided 5% test?

Exam question 4

With n=10n = 10, b2=0.509b_2 = 0.509, SE(b2)=0.035SE(b_2) = 0.035, find the LOWER limit of the 99% confidence interval for β2\beta_2 (t0.005,8=3.355t_{0.005,8} = 3.355).

Exam question 5

Using the confidence-interval approach and the 95% interval [0.42,0.58][0.42, 0.58] for the MPC, is the MPC significantly different from 0.60? And from 0.45?

Exam question 6

A regression with n=20n = 20 has TSS = 400 and RSS = 72. Find R2R^2.

Exam question 7

A two-variable regression with n=12n = 12 has R2=0.8R^2 = 0.8. Compute the F statistic.

Exam question 8

H0:β2=0H_0: \beta_2 = 0 against H1:β2>0H_1: \beta_2 \gt 0, df = 8, α=0.05\alpha = 0.05, computed t=2.1t = 2.1. What is the decision?

Summary and review

Step-by-step examples

Work through the ladder one level at a time: at every step, try to say what comes next before you reveal it.

Easy

Worked example · Easy 1 · Margin of error0/6

A slope is estimated as b2=2.0b_2 = 2.0 with SE(b2)=0.4SE(b_2) = 0.4. The critical value is tα/2=2.5t_{\alpha/2} = 2.5. Build the confidence interval.

Worked example · Easy 2 · Reading a t statistic0/6

EViews reports a coefficient 3.6 with standard error 1.2. The 5% two-sided critical value is 2.306. Is the coefficient significant?

Your turn

b2=4b_2 = 4, SE(b2)=0.5SE(b_2) = 0.5, tα/2=2t_{\alpha/2} = 2. Find the lower limit of the interval.

Medium

Worked example · Medium 1 · Finding the critical value yourself0/6

A regression with n=15n = 15 observations gives b2=0.82b_2 = 0.82 and SE(b2)=0.20SE(b_2) = 0.20. Build a 95% interval. From the t table: t0.025,13=2.160t_{0.025,13} = 2.160.

Worked example · Medium 2 · Testing a value other than zero0/6

Same regression: b2=0.82b_2 = 0.82, SE=0.20SE = 0.20, df =13= 13. Test H0:β2=1H_0: \beta_2 = 1 against H1:β2≠1H_1: \beta_2 \neq 1 at 5%.

Worked example · Medium 3 · One-sided test0/6

Same regression. Test H0:β2=0.5H_0: \beta_2 = 0.5 against H1:β2>0.5H_1: \beta_2 \gt 0.5 at 5% (t0.05,13=1.771t_{0.05,13} = 1.771).

Exam level

Worked example · Exam 1 · Full answer from EViews output0/6

Using the consumption output (b2=0.509091b_2 = 0.509091, SE=0.035743SE = 0.035743, n=10n = 10): (a) build a 95% interval for β2\beta_2 and interpret it; (b) test whether income is significant at 5%.

Worked example · Exam 2 · The five-step hypothesis test0/6

Test Keynes's claim that the MPC is below 1 using the same output, at 5%.

Worked example · Exam 3 · Written answer: interval vs test0/6

Explain why a 95% confidence interval and a two-sided 5% t test always reach the same decision about H0:β2=cH_0: \beta_2 = c.

Worked example · Exam 4 · ANOVA table from EViews output0/6

EViews reports R-squared = 0.962062, Sum squared resid = 337.2727 and n=10n = 10. Build the ANOVA table, compute F and test H0:β2=0H_0: \beta_2 = 0 at 5% (F0.05;1,8=5.32F_{0.05;1,8} = 5.32).

Review deck · 22 cards0/22 mastered