Peer-Graded Assignment Test Exercise 2 - PeterSchuld
Peer-Graded Assignment Test Exercise 2 - PeterSchuld
Questions
This test exercise is of an applied nature and uses data that are available in the data file
TestExer2. The exercise is based on Exercise 3.14 of ‘Econometric Methods with
Applications in Business and Economics’. The question of interest is whether the study
results of students in Economics can be predicted from the scores on entrance tests taken
before they start their studies. More precisely, you are asked to investigate whether verbal
and mathematical entrance tests predict freshman grades of students in Economics. Data
are available for 609 students on the following variables:
(a) (i) Regress FGPA on a constant and SATV. Report the coefficient of SATV and
its standard error and p-value
(give your answers with 3 decimals).
x* 1.0
x mean 5.565 Mean SATV value (see summary
statistic above)
n 609 Number of observations
DF 607 Degrees of Freedom
sc 0.02766 standard error of estimate
t α/2 1.96 Critical t value (1-tailed)
= t 0.05/2
= t 0.025 97.5% quantile of a t-distribution with
n−2 degrees of freedom (DF)
df['x_deviation_squared']
<- (df$SATV - mean(df$SATV))^2
sum(df1$x_deviation_squared)
yhat 2.50482 Point estimate
1 20.839
CI = yhat +/- 1.96 ∗ 0.02766 ∗ √1 + +
609 274.888
Answer
CI = [2.449, 2.505]
(b) Answer questions (a-i) and (a-ii) also for the regression of
FGPA on a constant, SATV, SATM, and FEM.
β 0.15067
x* 1.0
x mean 6.248 Mean SATM value
(see summary
statistic above)
(x* - x mean)² 27.541504
Answer
CI = [1.9405, 2.064]
Regress FGPA on a constant and FEM
(d) (i) Perform an F -test on the significance (at the 5% level) of the
effect of SATV on FGPA, based on the regression in part (b) and
another regression.
Answer
F-statistic = 5.201
t-value = 2.28
(t-value) ² = 5.1984