Documentos de Académico
Documentos de Profesional
Documentos de Cultura
INTEGRANTES:
YOLMAN ESTEBAN CERVANTES OSPINO
CRISTIAN PEREZ CERVANTES
ANDERSON VALENCIA RIOS
WALKINSON ALVARADO ANAYA
11/02/2020
Taller #1
2) Construya histogramas para cada uno de los lotes y compare. Inserte las
especificaciones en cada gráfico.
interpretación:
𝑠 𝑠
𝑃 (𝑥̅ − 𝑡𝛼 < 𝜇 < 𝑥̅ + 𝑡𝛼 )= 1−𝛼
2 √𝑛 2 √𝑛
0.6686 0.6686
𝑃 (19.19 − 𝑡0.025 ∗ < µ < 19.19 + 𝑡0.025 ∗ ) = 1−𝛼
√30 √30
0.6686 0.6686
𝑃 (19.19 − 2.04 ∗ < µ < 19.19 + 2.04 ∗ ) = 1−𝛼
√30 √30
c(18.6,19.2,19.5,19.2,18.9,19.4,19.0,18.2,19.3,20.0,19.1,18.6,19.4,18.7,21.
0,19.8,19.0,18.6,19.6,19.0,19.6,19.4,19.8,19.1,20.0,19.4,18.8,19.3,17.1,19
.1)
shapiro.test(lote_1)
t.test (lote_1,alternative=c("two.sided"),mu=20,conf.level=0.95)
data: lote_1
t = -6.6348, df = 29, p-value = 2.838e-07
18.94031 19.43969
sample estimates:
mean of x
19.19
Lote 2 supuestos:
N=30
𝑠 𝑠
𝑃 (𝑥̅ − 𝑧𝛼 < 𝜇 < 𝑥̅ + 𝑧𝛼 )=1−𝛼
2 √𝑛 2 √𝑛
c(19.6,19.9,19.8,18.4,19.0,20.1,19.7,19.3,20.7,19.6,19.5,19.1,19.5,19.6,19.4,1
9.6,20.3,19.8,19.2,20.6,20.0,18.4,18.9,19.7,18.8,19.4,18.9,18.4,19.0,19.7)
data: lote_2
19.24396 19.68271
Lote 3 supuestos:
n=30
𝑧𝛼 𝑠 𝑧𝛼 𝑠
𝑃 (𝑥̅ − < 𝜇 < 𝑥̅ + )= 1−𝛼
2 √𝑛 2 √𝑛
0.3934 0.3934
𝑃 (20.06 − 𝑧0.025 ∗ < µ < 20.06 + 𝑧0.025 ∗ )= 1−𝛼
√30 √30
shapiro.test (lote_3)
shapiro.test (lote_3)
data: lote_3
data: lote_3
19.91641 20.21026
sample estimates:
mean of x
20.06333
interpretación:
interpretación:
p(19.43<mu<19.71)
p-value = 2.2e-16
𝛼 𝑠 𝛼 𝑠
𝑃 (𝑥̅ − 𝑧 < 𝜇 < 𝑥̅ + 𝑧 )=1−𝛼
2 √𝑛 2 √𝑛
𝛼 0.665 𝛼 0.665
̅̅̅̅̅̅̅ − 𝑧
𝑃 (19.57 < 𝜇 < ̅̅̅̅̅̅̅
19.57 + 𝑧 )=1−𝛼
2 √30 2 √30
𝑃(19.43 < 𝜇 < 19.71) = 0.95
c(18.6,19.2,19.5,19.2,18.9,19.4,19.0,18.2,19.3,20.0,19.1,18.6,19.4,18.7,2
1.0,19.8,19.0,18.6,19.6,19.0,19.6,19.4,19.8,19.1,20.0,19.4,18.8,19.3,17.1,19.
1,19.6,19.9,19.8,18.4,19.0,20.1,19.7,19.3,20.7,19.6,19.5,19.1,19.5,19.6,19.4,
19.6,20.3,19.8,19.2,20.6,20.0,18.4,18.9,19.7,18.8,19.4,18.9,18.4,19.0,19.7,2
0.1,20.2,21.0,19.7,20.1,20.0,19.1,20.4,19.6,20.6,20.0,19.7,20.8,19.7,19.9,20.
4,19.8,20.5,20.0,20.2,20.2,19.9,20.1,19.6,19.7,19.8,19.9,20.3,20.4,20.2)
t.test(lotes,conf.level=0.95)
shapiro.test(lotes)
t.test(lotes,alternative=c("two.sided"),mu=20,conf.level=0.95)
One Sample t-test
data: lotes
t = 278.92, df = 89, p-value < 2.2e-16
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
19.43279 19.71165
sample estimates:
mean of x
19.57222
shapiro.test(lotes)
Shapiro-Wilk normality test
data: lotes
W = 0.97935, p-value = 0.1627
t.test(lotes,alternative=c("two.sided"),mu=20,conf.level=0.95)
One Sample t-test
data: lotes
t = -6.0963, df = 89, p-value = 2.734e-08
alternative hypothesis: true mean is not equal to 20
95 percent confidence interval:
19.43279 19.71165
sample estimates: mean of x 19.57222
interpretación:
interpretación: