0% found this document useful (0 votes)
25 views3 pages

Assignment 3 FINAL

Uploaded by

Ved Muthusamy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

Assignment 3 FINAL

Uploaded by

Ved Muthusamy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Ved Muthusamy Friday May 19 18:02:44 2023 Page 1

___ ____ ____ ____ ____(R)


/__ / ____/ / ____/
___/ / /___/ / /___/
Statistics/Data analysis

___ ____ ____ ____ ____ (R)


/__ / ____/ / ____/
___/ / /___/ / /___/ 16.1 Copyright 1985-2019 StataCorp LLC
Statistics/Data analysis StataCorp
4905 Lakeway Drive
Special Edition College Station, Texas 77845 USA
800-STATA-PC https://www.stata.com
979-696-4600 [email protected]
979-696-4601 (fax)

Stata license: 15-user network perpetual


Serial number: 401606218275
Licensed to: NORTHWESTERN
NORTHWESTERN

Notes:
1. Unicode is supported; see help unicode_advice.
2. Maximum number of variables is set to 5,000; see help set_maxvar.

Running C:\Program Files\Stata16\profile.do ...

1 . gen TECHRESN=TECH*RES*N
TECH not found
r(111);

2 . use "\\apporto.com\dfs\NTHW\Users\vsm1706_nthw\Desktop\EAWE08.dta"

3 . use "\\apporto.com\dfs\NTHW\Users\vsm1706_nthw\Desktop\schools.dta"

4 . gen TECHRESN=TECH*RES*N

5 . gen NONTECHRESN=(1-TECH)*RES*N

6 . gen RESN=RES*N

7 . reg COST N TECHRESN NONTECHRESN

Source SS df MS Number of obs = 74


F(3, 70) = 27.42
Model 7.9496e+11 3 2.6499e+11 Prob > F = 0.0000
Residual 6.7639e+11 70 9.6627e+09 R-squared = 0.5403
Adj R-squared = 0.5206
Total 1.4713e+12 73 2.0155e+10 Root MSE = 98299

COST Coef. Std. Err. t P>|t| [95% Conf. Interval]

N 259.2402 47.03561 5.51 0.000 165.4306 353.0497


TECHRESN 216.9694 57.7318 3.76 0.000 101.827 332.1119
NONTECHRESN 254.2406 76.0485 3.34 0.001 102.5666 405.9145
_cons 38734.92 24339 1.59 0.116 -9807.683 87277.52

8 . reg COST N RESN

Source SS df MS Number of obs = 74


F(2, 71) = 41.53
Model 7.9326e+11 2 3.9663e+11 Prob > F = 0.0000
Residual 6.7809e+11 71 9.5505e+09 R-squared = 0.5391
Adj R-squared = 0.5262
Total 1.4713e+12 73 2.0155e+10 Root MSE = 97727
Ved Muthusamy Friday May 19 18:02:45 2023 Page 2

COST Coef. Std. Err. t P>|t| [95% Conf. Interval]

N 261.2223 46.52467 5.61 0.000 168.4547 353.9898


RESN 229.8331 48.60847 4.73 0.000 132.9106 326.7556
_cons 37542.93 24031.44 1.56 0.123 -10374.41 85460.27

9 . reg COST N RESN NONTECHRESN

Source SS df MS Number of obs = 74


F(3, 70) = 27.42
Model 7.9496e+11 3 2.6499e+11 Prob > F = 0.0000
Residual 6.7639e+11 70 9.6627e+09 R-squared = 0.5403
Adj R-squared = 0.5206
Total 1.4713e+12 73 2.0155e+10 Root MSE = 98299

COST Coef. Std. Err. t P>|t| [95% Conf. Interval]

N 259.2402 47.03561 5.51 0.000 165.4306 353.0497


RESN 216.9694 57.7318 3.76 0.000 101.827 332.1119
NONTECHRESN 37.27117 88.94689 0.42 0.676 -140.1278 214.6701
_cons 38734.92 24339 1.59 0.116 -9807.683 87277.52

10 . sort EXP
variable EXP not found
r(111);

11 . use "\\apporto.com\dfs\NTHW\Users\vsm1706_nthw\Desktop\EAWE08.dta", clear

12 . sort EXP

13 . reg EARNINGS S EXP MALE if _n<=188

Source SS df MS Number of obs = 188


F(3, 184) = 9.95
Model 3032.13958 3 1010.71319 Prob > F = 0.0000
Residual 18698.479 184 101.622168 R-squared = 0.1395
Adj R-squared = 0.1255
Total 21730.6186 187 116.206516 Root MSE = 10.081

EARNINGS Coef. Std. Err. t P>|t| [95% Conf. Interval]

S 1.620046 .298699 5.42 0.000 1.030731 2.209361


EXP .1312312 .5398663 0.24 0.808 -.9338929 1.196355
MALE 1.125339 1.499989 0.75 0.454 -1.83405 4.084729
_cons -8.771122 5.686223 -1.54 0.125 -19.9897 2.447459

14 . reg EARNINGS S EXP MALE if _n>=313

Source SS df MS Number of obs = 188


F(3, 184) = 10.71
Model 4739.20706 3 1579.73569 Prob > F = 0.0000
Residual 27144.3171 184 147.523462 R-squared = 0.1486
Adj R-squared = 0.1348
Total 31883.5241 187 170.500129 Root MSE = 12.146
Ved Muthusamy Friday May 19 18:02:45 2023 Page 3

EARNINGS Coef. Std. Err. t P>|t| [95% Conf. Interval]

S 2.181894 .4505858 4.84 0.000 1.292915 3.070873


EXP .8064282 .5841142 1.38 0.169 -.3459943 1.958851
MALE 6.923705 1.841449 3.76 0.000 3.290635 10.55677
_cons -21.82841 9.80471 -2.23 0.027 -41.17252 -2.484305

15 .

You might also like