






Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!







Table 8. Demanda de Cable, 1968- YEAR Y X2 X3 X 1961 35.86 59.60 637 3. 1962 37.50 64.20 643 3. 1963 40.38 68.80 651 5 1964 46.15 75.50 686 6 1965 51.05 84.40 711 5. 1966 53.87 91.80 724 4. 1967 56.83 99.90 735 5. 1968 65.44 109.10 760 8. 1969 74.94 120.70 778 7. 1970 80.98 132.00 781 7 1971 90.80 146.60 826 6 1972 101.96 162.70 864 6 1973 114.37 180.60 894 7. 1974 101.82 197.10 891 7. 1975 107.57 209.60 888 9. 1976 117.60 221.90 892 8. 1977 123.22 232.50 930 5. 1978 130.97 243.50 970 6. 1979 138.84 257.70 1007 8. 1980 135.49 274.40 1021 6. 1981 133.44 289.50 1017 5. 1982 130.39 301.90 1016 5. 1983 130.62 314.90 1008 9. 1984 132.24 327.70 985 9. 1985 137.32 339.40 977 7. 1986 137.47 349.49 1007 6. 1987 135.75 358.23 1000 7.
lnL ( ) n 2
ln 2( ) n 2
( y X )T( y X )
d lnL ( ) d
2 XT( y X )
d lnL ( ) d
d lnL( ) d
n 2 ^2
( y X )T(y X )
d lnL( ) d
2 (^ (^ y^ X^ ))
T (^) ( y X ) n
1
n
i
1 2 e
e
L( ) 1
( 2 )
n 2
1
n 2
exp ^1 2 ^2
gradiente lnL( )
d lnL ( ) d
d lnL ( ) d
e (y X )
RSS eT^ e RSS 748. ( ( y X ))T^ (y X )748.
fv L( )
L ( ) 1
n
i
1 2 ^2
1 2 e
( y X )T^ (y X )
^2 ^ ^2
fv 0
lnL ( ) n 2
ln 2( ) n 2
ln ^ ^2 ^1 2 ^2
( y X )T(y X )
1000
Para la variable x2 se tiene el siguiente gráfico: Para la variable x3 se tiene la siguiente gráfica. Además, se adjunta los valores obtenidos
lnL
- x - 59. - 64. - 68. - 75. - 84. - 91. - 99. - 109. - 120. - 146. - 162. - 180. - 197. - 209. - 221. - 232. - 243. - 257. - 274. - 289. - 301. - 314. - 327. - 339. - 349. - 358. - x - 643. - 685. - 710. - 724. - 735. - 760. - 777. - 780. - 825. - 864. - 894. - 891. - 887. - 892. - 930. - 969. - 1006. - 1020. - 1017. - 1016. - 1008. - 985. - 977. - 1007. lnL ( )
0 0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
-69. -69. -69. -73. -80. -85. -85. -77. -69. -86. -75. -78. -103. -76. -73. -134. -92. -76. -70. -85. -92. -116. -97. -69. -94. -70. -69.
suma lnL ( )
prom 83.
maxlnl n 2
ln 2( ) n 2
ln RSS n
n 2
maxlnl 83.
ymed
y n
bx T^ XT bx y2.939 105
rcuad 2.939^10 5 n ymed^2 yT^ yn ymed^2
r rcuad rcuad 0.
r 0.
635 676.5 718 759.5 801 842.5 884 925.5 967 1.008 103 1.05 103
150
140
130
120
110
100
90
80
70
60
50
lnL
50
150.
lnatL lnL( )
635 x3 1050
(^00) 2.917 5.833 8.75 11.667 14.583 17.5 20.417 23.333 26.25 29.167 32.083 35
1 10 ^306
2 10 ^306
3 10 ^306
4 10 ^306
5 10 ^306
6 10 ^306
7 10 ^306
8 10 ^306
9 10 ^306
1 10 ^307
lnL
qlr qchisq 1
2
1
qlr 5.
2
pchisq LR 1( ) 1 2
0
LR qlr 0
se (^) 1
n
^ 1 ^2 ^2 Sxx
Sxx
W n^ r^
1 r 2
w 0 300
(^00 30 60 90 120 150 180 210 240 270 )
1 10 ^306
2 10 ^306
3 10 ^306
4 10 ^306
5 10 ^306
6 10 ^306
7 10 ^306
8 10 ^306
9 10 ^306
1 10 ^307
pvalue 1 pchisq W 1( ) pvalue 0
qw qchisq 1 2
1
qw 5.
W qw 0