Prácticas de Estadística en R - Departamento de Estadística e ...
Prácticas de Estadística en R - Departamento de Estadística e ...
Prácticas de Estadística en R - Departamento de Estadística e ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
92 11. Intervalos <strong>de</strong> confianza y contrastes <strong>de</strong> hipótesis<br />
D<strong>en</strong>sidad Chi−cuadrado<br />
chi<br />
0.00 0.05 0.10 0.15<br />
> ngl x plot(x,dchisq(x,ngl),<br />
main=c("D<strong>en</strong>sidad Chi-cuadrado"),<br />
sub=paste("gl=",ngl),<br />
ylab="chi",type="l",col=3)<br />
0 2 4 6 8 10 12<br />
x<br />
gl= 4<br />
11.2.2. Distribución t <strong>de</strong> Stu<strong>de</strong>nt<br />
Sean X, X 1 , . . .,X n ∈ N(0, 1) in<strong>de</strong>p<strong>en</strong>di<strong>en</strong>tes. Diremos que la variable aleatoria<br />
t n =<br />
X<br />
√<br />
X 2 1 +···+X2 n<br />
n<br />
sigue una distribución t <strong>de</strong> Stu<strong>de</strong>nt con n grados <strong>de</strong> libertad.<br />
D<strong>en</strong>sidad t−Stu<strong>de</strong>nt<br />
t−Stu<strong>de</strong>nt<br />
0.0 0.1 0.2 0.3<br />
> ngl x plot(x,dt(x,ngl),<br />
main=c("D<strong>en</strong>sidad t-Stu<strong>de</strong>nt"),<br />
sub=paste("gl=",ngl),<br />
ylab="t-Stu<strong>de</strong>nt",type="l",col=3)<br />
−4 −2 0 2 4<br />
x<br />
gl= 4<br />
11.2.3. Distribución F <strong>de</strong> Sne<strong>de</strong>cor<br />
Sean X 1 , . . .,X n , Y 1 , . . .,Y m ∈ N(0, 1) in<strong>de</strong>p<strong>en</strong>di<strong>en</strong>tes. Diremos que la variable aleatoria<br />
F n,m =<br />
X1 2+···+X2 n<br />
n<br />
Y1 2+···+Y<br />
m<br />
2<br />
m<br />
sigue una distribución F <strong>de</strong> Sne<strong>de</strong>cor con n grados <strong>de</strong> libertad <strong>en</strong> el numerador y m<br />
grados <strong>de</strong> libertad <strong>en</strong> el <strong>de</strong>nominador.