Ejercicicio 5 - 9 Gujarati Porter PDF
Ejercicicio 5 - 9 Gujarati Porter PDF
Ejercicicio 5 - 9 Gujarati Porter PDF
------------------------------------------------------------------------------
salary | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
spending | 3.307585 .3117043 10.61 0.000 2.681192 3.933978
_cons | 12129.37 1197.351 10.13 0.000 9723.204 14535.54
------------------------------------------------------------------------------
ŷ = 12129.37 + 3.307585 x
ee (1197.351) (3117043)
R2 = 0.6968
SCR= 608555015
SCE= 264825250
UAM-X 1 10-P
ECONOMETRÍA FORTINO VELA PEÓN
e) Los pronósticos individual y promedio son los mismos, ya que yˆ 0 = βˆ0 + βˆ1 x0 . De
esta manera, se tiene que con un gasto de 5000 dólares el sueldo anual promedio
gira alrededor de 28,667.30 dólares.
predict yhat
predict stdf, stdf
predict stdp, stdp
1698830.7
= 2324.8 1.0196078 + = 2382.379
55625998.2
1698830.7
= 2324.8 .01960784 + = 520.61025
55625998.2
UAM-X 2 10-P
ECONOMETRÍA FORTINO VELA PEÓN
+---------------------------------------------------------------+
| salary yhat LIpi LSpi LIpm LSpm |
|---------------------------------------------------------------|
1. | 19583 23196.55 18590.54 27802.56 22523.51 23869.59 |
2. | 20263 22429.19 17814.42 27043.96 21698.58 23159.8 |
3. | 20325 23884.53 19282.68 28486.38 23240.56 24528.5 |
4. | 26800 27483.18 22846.05 32120.31 26622.54 28343.82 |
5. | 29470 27572.49 22933.27 32211.7 26700.69 28444.28 |
|---------------------------------------------------------------|
6. | 26610 28296.85 23638.61 32955.09 27328.91 29264.78 |
7. | 30678 31015.68 26253.07 35778.29 29629.98 32401.38 |
8. | 27170 30440.16 25703.89 35176.43 29147.9 31732.42 |
9. | 25853 25915.38 21305.36 30525.41 25215.35 26615.42 |
10. | 24500 23861.38 19259.45 28463.3 23216.81 24505.94 |
|---------------------------------------------------------------|
11. | 24274 22578.03 17965.3 27190.76 21860.41 23295.65 |
12. | 27170 24106.14 19504.88 28707.39 23466.42 24745.85 |
13. | 30168 24638.66 20037.34 29239.98 23998.48 25278.83 |
14. | 26525 26176.68 21563.39 30789.98 25455.45 26897.91 |
15. | 27360 25300.17 20695.85 29904.5 24638.73 25961.62 |
|---------------------------------------------------------------|
16. | 21690 23930.83 19329.14 28532.53 23287.97 24573.7 |
17. | 21974 22564.8 17951.9 27177.71 21846.06 23283.54 |
18. | 20816 22247.27 17629.79 26864.76 21499.71 22994.83 |
19. | 18095 21942.98 17320.41 26565.54 21164.65 22721.3 |
20. | 20939 22994.79 18386.9 27602.68 22308.97 23680.6 |
|---------------------------------------------------------------|
21. | 22644 25075.26 20472.32 29678.2 24423.54 25726.98 |
22. | 24624 27069.73 22441.49 31697.97 26258.37 27881.1 |
23. | 27186 26514.06 21895.8 31132.31 25761.75 27266.37 |
24. | 33990 28733.45 24061.93 33404.97 27703.5 29763.4 |
25. | 23382 24016.83 19415.38 28618.28 23375.71 24657.95 |
|---------------------------------------------------------------|
26. | 20627 21460.07 16828.05 26092.08 20627.44 22292.7 |
27. | 22795 23262.7 18657.25 27868.15 22593.45 23931.96 |
28. | 21570 21787.52 17162.1 26412.94 20992.4 22582.64 |
29. | 22080 21985.97 17364.17 26607.78 21212.17 22759.78 |
30. | 22250 24469.97 19868.9 29071.04 23831.58 25108.36 |
|---------------------------------------------------------------|
31. | 20940 21565.91 16936.11 26195.71 20745.71 22386.12 |
32. | 21800 20507.48 15851.87 25163.1 19552.25 21462.72 |
33. | 22934 21155.77 16516.93 25794.61 20285.96 22025.58 |
34. | 18443 19753.35 15074.44 24432.27 18690.37 20816.33 |
35. | 19538 20868.01 16222.09 25513.93 19961.24 21774.78 |
|---------------------------------------------------------------|
36. | 20460 22462.27 17847.96 27076.57 21734.61 23189.92 |
UAM-X 3 10-P
ECONOMETRÍA FORTINO VELA PEÓN
UAM-X 4 10-P
ECONOMETRÍA FORTINO VELA PEÓN
50000
40000
30000
20000
10000
SALARY 95% CI
Fitted values
UAM-X 5 10-P
ECONOMETRÍA FORTINO VELA PEÓN
UAM-X 6 10-P
ECONOMETRÍA FORTINO VELA PEÓN
f)
predict residual, r
sktest residual
Skewness/Kurtosis tests for Normality
------- joint ------
Variable | Pr(Skewness) Pr(Kurtosis) adj chi2(2) Prob>chi2
-------------+-------------------------------------------------------
residual | 0.119 0.941 2.57 0.2770
swilk residual
Shapiro-Wilk W test for normal data
Variable | Obs W V z Prob>z
-------------+-------------------------------------------------
residual | 51 0.96760 1.548 0.933 0.17545
UAM-X 7 10-P
ECONOMETRÍA FORTINO VELA PEÓN
return list
scalars:
r(N) = 51
r(sum_w) = 51
r(mean) = -.0000105839149625
r(Var) = 5296504.99138385
r(sd) = 2301.413694098445
r(skewness) = .4991256552870125
r(kurtosis) = 2.807557060474001
r(sum) = -.0005397796630859
r(min) = -3847.975830078125
r(max) = 5529.34228515625
r(p1) = -3847.975830078125
r(p5) = -3559.528076171875
r(p10) = -2702.408935546875
r(p25) = -2002.2666015625
r(p50) = -217.5192260742188
r(p75) = 1688.920043945313
r(p90) = 3063.86376953125
r(p95) = 5068.8623046875
r(p99) = 5529.34228515625
n 2 (C − 3) 2
JB = + A +
6 4
Ji-cuadrada(2) al 5% =5.9914645
UAM-X 8 10-P