You are on page 1of 1

Análisis de regresión lineal simple

Sumas de cuadrados y de productos


n
X n
X
¡ ¢2
Sxx = xi − x = x2i − n x2 n
X ¡ ¢2 2
Sxy
i=1 i=1
n n
SSR = ŷi − Y =
X ¡ ¢2 X 2 Sxx
i=1
Syy = Yi − Y = Yi2 − n Y n
X ¡ ¢2 2
Sxy
i=1 i=1 [ =
SSE Yi − ŷi = Syy −
Xn n
¡ ¢¡ ¢ X i=1
Sxx
Sxy = xi − x Yi − Y = xi Yi − n x Y
i=1 i=1

Estimadores de los coeficientes de regresión


Sxy
β̂0 = Y − β̂1 x β̂1 =
Sxx

Coeficientes de determinación y de correlación


SSR [
SSE 2
Sxy Sxy
R2 = =1− = R= p
Syy Syy Sxx Syy Sxx Syy

Pruebas de hipótesis sobre los coeficientes de regresión


Hipótesis Estadı́stico de contraste Región crı́tica
s
H0 : β0 = β00 β̂0 − β00 [
SSE
T = s ∼ tn−2 σ̂ = |T | > tα/2,n−2
1 x2 n−2
H1 : β0 6= β00 σ̂ +
n Sxx
H0 : β1 = β10 β̂1 − β10
T = √ ∼ tn−2
H1 : β1 6= β10 σ̂/ Sxx

Intervalos de confianza para los coeficientes de regresión


Coeficiente Intervalo de confianza
 s s 
2 2
β̂0 − tα/2,n−2 σ̂ 1 x 1 x 
β0 + , β̂0 + tα/2,n−2 σ̂ +
n Sxx n Sxx
· ¸
σ̂ σ̂
β1 β̂1 − tα/2,n−2 √ , β̂1 + tα/2,n−2 √
Sxx Sxx

Intervalo de confianza para la respuesta media


Parámetro Intervalo de confianza
" s s #
1 (x − x)2 1 (x − x)2
µY |x ŷ − tα/2,n−2 σ̂ + , ŷ + tα/2,n−2 σ̂ +
n Sxx n Sxx

Intervalo de predicción para observaciones futuras


" s s #
1 (x − x)2 1 (x − x)2
ŷ − tα/2,n−2 σ̂ 1+ + , ŷ + tα/2,n−2 σ̂ 1+ +
n Sxx n Sxx

Blog Aqueronte: http://unbarquero.blogspot.com/

You might also like