Mais conteúdo relacionado
Esta 3042 primer trabajo entregar
- 1. González Collazo
Karla Cristina
Problema 1: Ejercicio 7.25
1.> t.test(dato1)
One Sample t-test
data: dato1
t = 62.3859, df = 23, p-value < 2.2e-16
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
59.8112 63.9138
sample estimates:
mean of x
61.8625
2. > n=24
> mx=mean(dato1)= 61.8625
> s=sd(dato1)= 4.857877
> conf=.95
> gl=n-1= 23
> area=(1+conf)/2= 0.975
> t0=qt(area,gl)= 2.068658
> a=mx-t0*s/sqrt(n)= 59.8112
> b=mx+t0*s/sqrt(n)= 63.9138
Interpretación:
- 2. Problema 2: Ejercicio 7.31
1. > t.test(dato2)
One Sample t-test
data: dato2
t = 10.109, df = 39, p-value = 1.881e-12
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
27.32181 40.99019
sample estimates:
mean of x
34.156
2. > n=40
> mx=mean(dato2)= 34.156
> s=sd(dato2)= 21.36917
> conf=.95
> gl=n-1= 39
> area=(1+conf)/2= 0.975
> t0=qt(area,gl)= 2.022691
> a=mx-t0*s/sqrt(n)= 27.32181
> b=mx+t0*s/sqrt(n)= 40.99019
Interpretación: