Statistical Inference 1. Determinant of Salary of Law School Graduates
Statistical Inference 1. Determinant of Salary of Law School Graduates
------------------------------------------------------------------------------
salary | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
rank | -145.5202 15.93291 -9.13 0.000 -177.037 -114.0033
GPA | 12975.26 4343.839 2.99 0.003 4382.716 21567.8
LSAT | 448.5722 190.3353 2.36 0.020 72.07024 825.0742
_cons | -62994.16 26301.64 -2.40 0.018 -115021.4 -10966.91
------------------------------------------------------------------------------
Note that STATA automatically computes the t-statistics (where unknown is assumed). The
calculated is given by SSR/n-k = 35428563.7. Note that the variance of each estimated coefficient
is given by
To verify this is true, obtain the total sum of squares of each explanatory variable and as follows:
. summarize salary rank GPA LSAT
------------------------------------------------------------------------------
rank | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
GPA | -91.56549 22.26711 -4.11 0.000 -135.609 -47.52201
LSAT | -4.631608 .9548302 -4.85 0.000 -6.520226 -2.742991
_cons | 1116.949 105.3987 10.60 0.000 908.475 1325.424
------------------------------------------------------------------------------
------------------------------------------------------------------------------
GPA | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
rank | -.0012319 .0002996 -4.11 0.000 -.0018244 -.0006393
LSAT | .0236893 .0031963 7.41 0.000 .0173671 .0300114
_cons | -.3470367 .524166 -0.66 0.509 -1.383817 .6897432
------------------------------------------------------------------------------
------------------------------------------------------------------------------
LSAT | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
rank | -.0324551 .0066908 -4.85 0.000 -.0456893 -.019221
GPA | 12.33845 1.66478 7.41 0.000 9.045577 15.63132
_cons | 120.2602 5.901972 20.38 0.000 108.5863 131.934
------------------------------------------------------------------------------
The computed total sum of squares of rank, GPA, and LSAT is given by
. display ((49.07417)^2)*135
325117.01
. display ((.1972305)^2)*135
5.2514825
. display ((4.599511)^2)*135
2855.9927
Together with the estimated residuals and computed of rank, GPA, and LSAT, the computed
standard error of the least squares estimator is
. display sqrt(35428563.7/(325117.01*(1-0.5707)))
15.932227
. display sqrt(35428563.7/(5.2514825*(1-0.6425)))
4344.0797
. display sqrt(35428563.7/(2855.9927*(1-0.6576)))
190.34056
2. Hypothesis testing
Recall the estimation output given by
. regress salary rank GPA LSAT
------------------------------------------------------------------------------
salary | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
rank | -145.5202 15.93291 -9.13 0.000 -177.037 -114.0033
GPA | 12975.26 4343.839 2.99 0.003 4382.716 21567.8
LSAT | 448.5722 190.3353 2.36 0.020 72.07024 825.0742
_cons | -62994.16 26301.64 -2.40 0.018 -115021.4 -10966.91
------------------------------------------------------------------------------
The probability P(T>|t|) under the null hypothesis that the true parameter is zero is given in the fifth
column. Hence we can reject the null hypothesis that the effect of rank on salary is zero at 0.01 level
of significance. Similarly, we can reject the null hypothesis that the effect of LSAT on salary is zero at
0.05 level of significance.