SlideShare a Scribd company logo
1 of 41
Sesión 6
Pruebas de Hipótesis de una
población
Estadística en las organizaciones
AD4001
Dr. Jorge Ramírez Medina
• Selección del tamaño de la muestra
en la mayoría de las aplicaciones, un tamaño de
muestra de n = 30 es adecuado.
Si la distribución de la población es de un alto sesgo
o contiene outliers, se recomienda un tamaño de
muestra de 50 ó más.
Estimación de intervalo de la
media de una Población : s
conocida
Dr Jorge Ramírez Medina
EGADE Business School
• Selección del tamaño de la muestra
si la población no está normalmente distribuida pero
es simétrica (+/-) un tamaño de muestra pequeño
de 15 es suficiente.
Si se cree que la distribución de la población es
aproximadamente normal, se puede utilizar un
tamaño de muestra de menos de 15.
Estimación de intervalo de la
media de una Población : s
conocida
Dr Jorge Ramírez Medina
EGADE Business School
Estimación de intervalo de la
media de una Población : s
desconocida
Dr Jorge Ramírez Medina
EGADE Business School
Si no se puede tener un estimado de la desviación
estándar de la población s, se utiliza la
desviación estándar s de la muestra para estimar s .
En este caso, la estimación del intervalo para m
está basada en la distribución t.
La distribución t es una familia de distribuciones de
probabilidad similares.
Una distribución t específica depende de un
parámetro conocido como grados de libertad.
Los grados de libertad se refieren a el número de
piezas independientes de información que se usan
en el cálculo de s.
Distribución t
Dr Jorge Ramírez Medina
EGADE Business School
Conforme la distribución t tiene más grados de
libertad, ésta tiene menos dispersión.
Conforme se incrementan los grados de libertad,
la diferencia entre la distribución t y la distribución
de probabilidad normal estandarizada se hace más
pequeña.
Distribución t
William Sealy Gosset
Dr Jorge Ramírez Medina
EGADE Business School
Distribución t
distribución
normal
estándar
Distribución t
(20 grados
de libertad)
Distribución t
(10 grados
de libertad)
0
z, t
Dr Jorge Ramírez Medina
EGADE Business School
Demostración en
Mathematica
Dr. Jorge Ramírez Medina
EGADE Business School
Para más de 100 grados de libertad, el valor de z
normal estandarizado, da una buena aproximación
del valor t.
Los valores z normal estandarizados, se pueden
encontrar en la tabla t, con infinito grados de libertad.
Distribución t
Dr Jorge Ramírez Medina
EGADE Business School
Degrees Area in Upper Tail
of Freedom .20 .10 .05 .025 .01 .005
. . . . . . .
50 .849 1.299 1.676 2.009 2.403 2.678
60 .848 1.296 1.671 2.000 2.390 2.660
80 .846 1.292 1.664 1.990 2.374 2.639
100 .845 1.290 1.660 1.984 2.364 2.626
.842 1.282 1.645 1.960 2.326 2.576
Valores z
normal estandarizados
Distribución t
Dr Jorge Ramírez Medina
EGADE Business School
Pruebas de Hipótesis
Dr. Jorge Ramírez Medina
EGADE Business School
x
Intervalo de confianza
Tamaño de la muestra
x
Error
90 IC
Pruebas de hipótesis
• Una cola
– Cola superior
– Cola inferior
 s conocida
 s desconocida
• Dos colas
 s conocida
 s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
a  1
Reject H0
Do Not Reject H0
z
Hipótesis nula y alternativa
 Hypothesis testing can be used to determine whether
a statement about the value of a population parameter
should or should not be rejected.
 The null hypothesis, denoted by H0 , is a tentative
assumption about a population parameter.
 The alternative hypothesis, denoted by Ha, is the
opposite of what is stated in the null hypothesis.
 The alternative hypothesis is what the test is
attempting to establish.
Dr Jorge Ramírez Medina
EGADE Business School
One-tailed
(lower-tail)
One-tailed
(upper-tail)
Two-tailed
Summary of Forms for Null and Alternative
Hypotheses about a Population Mean
 The equality part of the hypotheses always appears
in the null hypothesis.
 In general, a hypothesis test about the value of a
population mean m must take one of the following
three forms (where m0 is the hypothesized value of
the population mean).
Dr Jorge Ramírez Medina
EGADE Business School
0 0:H m m
0:aH m m
0 0:H m m
0:aH m m
0 0:H m m
0:aH m m
Demostración en
Mathematica
Dr. Jorge Ramírez Medina
ITESM EGADE
test type:
H0: 0
Ha : 0
H0: 0
Ha : 0
H0: 0
Ha : 0
sample size 0
population variance
random seed
• Testing Research Hypotheses
Planteamiento de Hipótesis
• The research hypothesis should be expressed as
the alternative hypothesis.
• The conclusion that the research hypothesis is true
comes from sample data that contradict the null
hypothesis.
Dr Jorge Ramírez Medina
EGADE Business School
Errores
Dr Jorge Ramírez Medina
EGADE Business School
Type I and Type II Errors
Correct
Decision
Type II Error
Correct
Decision
Type I Error
Reject H0
(Conclude m > 12)
Accept H0
(Conclude m < 12)
H0 True
(m < 12)
H0 False
(m > 12)Conclusion
Population Condition
Dr Jorge Ramírez Medina
EGADE Business School
Errores
Error Tipo I
 Because hypothesis tests are based on sample data,
we must allow for the possibility of errors.
 A Type I error is rejecting H0 when it is true
 The probability of making a Type I error when the
null hypothesis is true as an equality is called the
level of significance.
 Applications of hypothesis testing that only control
the Type I error are often called significance tests.
Dr Jorge Ramírez Medina
EGADE Business School
 A Type II error is accepting H0 when it is false.
 It is difficult to control for the probability of making
a Type II error.
 Statisticians avoid the risk of making a Type II
error by using “do not reject H0” and not “accept H0”.
Error Tipo II
Dr Jorge Ramírez Medina
EGADE Business School
 The rejection rule:
Reject H0 if the p-value < a.
 Compute the p-value using the following three steps:
3. Double the tail area obtained in step 2 to obtain
the p –value.
2. If z is in the upper tail (z > 0), find the area under
the standard normal curve to the right of z.
If z is in the lower tail (z < 0), find the area under
the standard normal curve to the left of z.
1. Compute the value of the test statistic z.
p-Value para la prueba de
Hipótesis de dos colas
Dr Jorge Ramírez Medina
EGADE Business School
 The critical values will occur in both the lower and
upper tails of the standard normal curve.
 The rejection rule is:
Reject H0 if z < -za/2 or z > za/2.
 Use the standard normal probability distribution
table to find za/2 (the z-value with an area of a/2 in
the upper tail of the distribution).
p-Value para la prueba de
Hipótesis de dos colas
Dr Jorge Ramírez Medina
EGADE Business School
Step 1. Develop the null and alternative hypotheses.
Step 2. Specify the level of significance a.
Step 3. Collect the sample data and compute the test
statistic.
p-Value Approach
Step 4. Use the value of the test statistic to compute the
p-value.
Step 5. Reject H0 if p-value < a.
Pasos de la prueba de Hipótesis
Dr Jorge Ramírez Medina
EGADE Business School
Critical Value Approach
Step 4. Use the level of significance to determine
the critical value and the rejection rule.
Step 5. Use the value of the test statistic and the
rejection
rule to determine whether to reject H0.
Pasos de la prueba de Hipótesis
Dr Jorge Ramírez Medina
EGADE Business School
Ejemplo: Pasta de dientes
• Two-Tailed Test About a Population Mean: s Known
Quality assurance procedures call for
the continuation of the filling process if the
sample results are consistent with the assumption that
the mean filling weight for the population of toothpaste
tubes is 6 oz.; otherwise the process will be adjusted.
The production line for Glow toothpaste
is designed to fill tubes with a mean weight
of 6 oz. Periodically, a sample of 30 tubes
will be selected in order to check the
filling process.
Dr Jorge Ramírez Medina
EGADE Business School
 Two-Tailed Test About a Population Mean: s Known
Perform a hypothesis test, at the .03
level of significance, to help determine
whether the filling process should continue
operating or be stopped and corrected.
Assume that a sample of 30 toothpaste
tubes provides a sample mean of 6.1 oz.
The population standard deviation is
believed to be 0.2 oz.
Ejemplo: Pasta de dientes
Dr Jorge Ramírez Medina
EGADE Business School
1. Determine the hypotheses.
2. Specify the level of significance.
3. Compute the value of the test statistic.
a = .03
 p –Value and Critical Value Approaches
H0: m  6
Ha: 6m 
Prueba de dos colas de µ:
s conocida
Dr Jorge Ramírez Medina
EGADE Business School
74.2
302.
61.6



n
xz
/
0
s
m
5. Determine whether to reject H0.
 p –Value Approach
4. Compute the p –value.
For z = 2.74, cumulative probability = .9969
p–value = 2(1  .9969) = .0062
Because p–value = .0062 < a = .03, we reject H0.
We are at least 97% confident that the mean
filling weight of the toothpaste tubes is not 6 oz.
Prueba de dos colas de µ:
s conocida
Dr Jorge Ramírez Medina
EGADE Business School
e Approach
a/2 =
.015
0
za/2 = 2.17
z
a/2 =
.015
-za/2 = -2.17
z = 3.425z = -3.425
1/2
p -value
= .0031
1/2
p -value
= .0031
Prueba de dos colas de µ:
s conocida
Dr Jorge Ramírez Medina
EGADE Business School
Prueba de dos colas de µ:
s conocida
Dr Jorge Ramírez Medina
EGADE Business School
 Critical Value Approach
5. Determine whether to reject H0.
We are at least 97% confident that the mean
filling weight of the toothpaste tubes is not 6 oz.
Because 2.47 > 2.17, we reject H0.
For a/2 = .03/2 = .015, z.015 = 2.17
4. Determine the critical value and rejection rule.
Reject H0 if z < -2.17 or z > 2.17
Prueba de dos colas de µ:
s conocida
Dr Jorge Ramírez Medina
EGADE Business School
a/2 = .015
0 2.17
Reject H0Do Not Reject H0
z
Reject H0
-2.17
 Critical Value Approach
Sampling
distribution
of
a/2 = .015
n
xz
/
0
s
m
Prueba de Hipótesis de µ:
s desconocida
• Test Statistic
Dr Jorge Ramírez Medina
EGADE Business School
This test statistic has a t distribution
with n - 1 degrees of freedom.
t
x
s n

 m0
/
 Rejection Rule: p -Value Approach
H0: m  m Reject H0 if t > ta
Reject H0 if t < -ta
Reject H0 if t < - ta or t > ta
H0: m  m
H0: m  m
 Rejection Rule: Critical Value Approach
Reject H0 if p –value < a
Prueba de Hipótesis de µ:
s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
A State Highway Patrol periodically samples
vehicle speeds at various locations
on a particular roadway.
The sample of vehicle speeds
is used to test the hypothesis
Ejemplo: Los federales
The locations where H0 is rejected are deemed
the best locations for radar traps.
H0: m < 65
Dr Jorge Ramírez Medina
EGADE Business School
At Location F, a sample of 64 vehicles shows a
mean speed of 66.2 mph with a
standard deviation of
4.2 mph. Use a = .05 to
test the hypothesis.
Ejemplo: Los federales
Dr Jorge Ramírez Medina
EGADE Business School
1. Determine the hypotheses.
2. Specify the level of significance.
3. Compute the value of the test statistic.
a = .05
H0: m < 65
Ha: m > 65
m 
  0 66.2 65
2.286
/ 4.2/ 64
x
t
s n
Prueba de una cola de µ:
s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
 p –Value Approach
5. Determine whether to reject H0.
4. Compute the p –value.
For t = 2.286, the p–value must be less than .025
(for t = 1.998) and greater than .01 (for t = 2.387).
.01 < p–value < .025
Because p–value < a = .05, we reject H0.
We are at least 95% confident that the mean speed
of vehicles at Location F is greater than 65 mph.
Prueba de una cola de µ:
s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
 Critical Value Approach
5. Determine whether to reject H0.
We are at least 95% confident that the mean speed
of vehicles at Location F is greater than 65 mph.
Location F is a good candidate for a radar trap.
Because 2.286 > 1.669, we reject H0.
For a = .05 and d.f. = 64 – 1 = 63, t.05 = 1.669
4. Determine the critical value and rejection rule.
Reject H0 if t > 1.669
Prueba de una cola de µ:
s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
a  
0 ta =
1.669
Reject H0
Do Not Reject H0
t
Prueba de una cola de µ:
s desconocida
Dr Jorge Ramírez Medina
EGADE Business School
Asignación para
la siguiente sesión
Dr. Jorge Ramírez Medina
EGADE Business School
Fin Sesión 6

More Related Content

What's hot

What is probability
What is probabilityWhat is probability
What is probabilityDeepak Thapa
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributionsNadeem Uddin
 
Chapter 7 Powerpoint
Chapter 7 PowerpointChapter 7 Powerpoint
Chapter 7 PowerpointZIADALRIFAI
 
Theory of probability and probability distribution
Theory of probability and probability distributionTheory of probability and probability distribution
Theory of probability and probability distributionpolscjp
 
Module 7 discrete probability distributions
Module 7 discrete probability distributionsModule 7 discrete probability distributions
Module 7 discrete probability distributionsMiniCabalquinto1
 
Probability 4.1
Probability 4.1Probability 4.1
Probability 4.1herbison
 
Random variable
Random variableRandom variable
Random variableJalilAlih
 
1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviation1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviationONE Virtual Services
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability ppRuby Vidal
 
Probability Distribution
Probability DistributionProbability Distribution
Probability DistributionSarabjeet Kaur
 
Random variable
Random variable Random variable
Random variable JalilAlih
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRohit kumar
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution goodZahida Pervaiz
 
Probablity distribution
Probablity distributionProbablity distribution
Probablity distributionMmedsc Hahm
 
Sqqs1013 ch4-a112
Sqqs1013 ch4-a112Sqqs1013 ch4-a112
Sqqs1013 ch4-a112kim rae KI
 

What's hot (20)

What is probability
What is probabilityWhat is probability
What is probability
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Chapter 7 Powerpoint
Chapter 7 PowerpointChapter 7 Powerpoint
Chapter 7 Powerpoint
 
Rafeek
RafeekRafeek
Rafeek
 
Theory of probability and probability distribution
Theory of probability and probability distributionTheory of probability and probability distribution
Theory of probability and probability distribution
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Module 7 discrete probability distributions
Module 7 discrete probability distributionsModule 7 discrete probability distributions
Module 7 discrete probability distributions
 
Probability 4.1
Probability 4.1Probability 4.1
Probability 4.1
 
Guia de estudio para aa5
Guia de estudio  para aa5 Guia de estudio  para aa5
Guia de estudio para aa5
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Random variable
Random variableRandom variable
Random variable
 
1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviation1.1 mean, variance and standard deviation
1.1 mean, variance and standard deviation
 
Probability distributions
Probability distributions  Probability distributions
Probability distributions
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability pp
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Random variable
Random variable Random variable
Random variable
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution good
 
Probablity distribution
Probablity distributionProbablity distribution
Probablity distribution
 
Sqqs1013 ch4-a112
Sqqs1013 ch4-a112Sqqs1013 ch4-a112
Sqqs1013 ch4-a112
 

Similar to S06

Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststNor Ihsan
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptSolomonkiplimo
 
BUS173 Lecture 6,7 & 8.pdf
BUS173 Lecture 6,7 & 8.pdfBUS173 Lecture 6,7 & 8.pdf
BUS173 Lecture 6,7 & 8.pdfSusantoSaha1
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_newshengvn
 
What So Funny About Proportion Testv3
What So Funny About Proportion Testv3What So Funny About Proportion Testv3
What So Funny About Proportion Testv3ChrisConnors
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis TestingFarhan Alfin
 
Research Sample size by Dr Allah Yar Malik
Research Sample size by Dr Allah Yar MalikResearch Sample size by Dr Allah Yar Malik
Research Sample size by Dr Allah Yar Malikhuraismalik
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3Satyajit Behera
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsMaria Theresa
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 

Similar to S06 (20)

S05 ad4001
S05 ad4001S05 ad4001
S05 ad4001
 
S05 ad4001
S05 ad4001S05 ad4001
S05 ad4001
 
Test hypothesis
Test hypothesisTest hypothesis
Test hypothesis
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10stst
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
BUS173 Lecture 6,7 & 8.pdf
BUS173 Lecture 6,7 & 8.pdfBUS173 Lecture 6,7 & 8.pdf
BUS173 Lecture 6,7 & 8.pdf
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_new
 
What So Funny About Proportion Testv3
What So Funny About Proportion Testv3What So Funny About Proportion Testv3
What So Funny About Proportion Testv3
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
 
Research Sample size by Dr Allah Yar Malik
Research Sample size by Dr Allah Yar MalikResearch Sample size by Dr Allah Yar Malik
Research Sample size by Dr Allah Yar Malik
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
tps5e_Ch11_1.ppt
tps5e_Ch11_1.ppttps5e_Ch11_1.ppt
tps5e_Ch11_1.ppt
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 

More from Jorge Ramírez (20)

AD4026 BI Sesión 04
AD4026 BI Sesión 04AD4026 BI Sesión 04
AD4026 BI Sesión 04
 
Session 03 Business Intelligence
Session 03 Business IntelligenceSession 03 Business Intelligence
Session 03 Business Intelligence
 
Business Intelligence S02
Business Intelligence S02Business Intelligence S02
Business Intelligence S02
 
AD4026 BI Sesión 01
AD4026 BI Sesión 01AD4026 BI Sesión 01
AD4026 BI Sesión 01
 
S05
S05S05
S05
 
S04
S04S04
S04
 
S03
S03S03
S03
 
S02
S02S02
S02
 
Sesión 01 FZ4013
Sesión 01 FZ4013Sesión 01 FZ4013
Sesión 01 FZ4013
 
Sesión 01 FZ4013
Sesión 01 FZ4013Sesión 01 FZ4013
Sesión 01 FZ4013
 
S11 ad5015
S11 ad5015S11 ad5015
S11 ad5015
 
Sesión 10 AD5015
Sesión 10 AD5015Sesión 10 AD5015
Sesión 10 AD5015
 
Apoyo ejercicio busqueda de-patentes
Apoyo ejercicio busqueda de-patentesApoyo ejercicio busqueda de-patentes
Apoyo ejercicio busqueda de-patentes
 
Introduccion innovacion 2013-ott-cem
Introduccion innovacion 2013-ott-cemIntroduccion innovacion 2013-ott-cem
Introduccion innovacion 2013-ott-cem
 
Sesión 06
Sesión 06Sesión 06
Sesión 06
 
S04 ad4024 v2
S04 ad4024 v2S04 ad4024 v2
S04 ad4024 v2
 
S06
S06S06
S06
 
Diapositivas de la sesión 04 AD5015
Diapositivas de la sesión 04 AD5015Diapositivas de la sesión 04 AD5015
Diapositivas de la sesión 04 AD5015
 
sesión 03 AD5015
sesión 03 AD5015sesión 03 AD5015
sesión 03 AD5015
 
S05
S05S05
S05
 

Recently uploaded

PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxakanksha16arora
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 

Recently uploaded (20)

PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 

S06

  • 1. Sesión 6 Pruebas de Hipótesis de una población Estadística en las organizaciones AD4001 Dr. Jorge Ramírez Medina
  • 2. • Selección del tamaño de la muestra en la mayoría de las aplicaciones, un tamaño de muestra de n = 30 es adecuado. Si la distribución de la población es de un alto sesgo o contiene outliers, se recomienda un tamaño de muestra de 50 ó más. Estimación de intervalo de la media de una Población : s conocida Dr Jorge Ramírez Medina EGADE Business School
  • 3. • Selección del tamaño de la muestra si la población no está normalmente distribuida pero es simétrica (+/-) un tamaño de muestra pequeño de 15 es suficiente. Si se cree que la distribución de la población es aproximadamente normal, se puede utilizar un tamaño de muestra de menos de 15. Estimación de intervalo de la media de una Población : s conocida Dr Jorge Ramírez Medina EGADE Business School
  • 4. Estimación de intervalo de la media de una Población : s desconocida Dr Jorge Ramírez Medina EGADE Business School Si no se puede tener un estimado de la desviación estándar de la población s, se utiliza la desviación estándar s de la muestra para estimar s . En este caso, la estimación del intervalo para m está basada en la distribución t.
  • 5. La distribución t es una familia de distribuciones de probabilidad similares. Una distribución t específica depende de un parámetro conocido como grados de libertad. Los grados de libertad se refieren a el número de piezas independientes de información que se usan en el cálculo de s. Distribución t Dr Jorge Ramírez Medina EGADE Business School
  • 6. Conforme la distribución t tiene más grados de libertad, ésta tiene menos dispersión. Conforme se incrementan los grados de libertad, la diferencia entre la distribución t y la distribución de probabilidad normal estandarizada se hace más pequeña. Distribución t William Sealy Gosset Dr Jorge Ramírez Medina EGADE Business School
  • 7. Distribución t distribución normal estándar Distribución t (20 grados de libertad) Distribución t (10 grados de libertad) 0 z, t Dr Jorge Ramírez Medina EGADE Business School
  • 8. Demostración en Mathematica Dr. Jorge Ramírez Medina EGADE Business School
  • 9. Para más de 100 grados de libertad, el valor de z normal estandarizado, da una buena aproximación del valor t. Los valores z normal estandarizados, se pueden encontrar en la tabla t, con infinito grados de libertad. Distribución t Dr Jorge Ramírez Medina EGADE Business School
  • 10. Degrees Area in Upper Tail of Freedom .20 .10 .05 .025 .01 .005 . . . . . . . 50 .849 1.299 1.676 2.009 2.403 2.678 60 .848 1.296 1.671 2.000 2.390 2.660 80 .846 1.292 1.664 1.990 2.374 2.639 100 .845 1.290 1.660 1.984 2.364 2.626 .842 1.282 1.645 1.960 2.326 2.576 Valores z normal estandarizados Distribución t Dr Jorge Ramírez Medina EGADE Business School
  • 11. Pruebas de Hipótesis Dr. Jorge Ramírez Medina EGADE Business School x Intervalo de confianza Tamaño de la muestra x Error 90 IC
  • 12. Pruebas de hipótesis • Una cola – Cola superior – Cola inferior  s conocida  s desconocida • Dos colas  s conocida  s desconocida Dr Jorge Ramírez Medina EGADE Business School a  1 Reject H0 Do Not Reject H0 z
  • 13. Hipótesis nula y alternativa  Hypothesis testing can be used to determine whether a statement about the value of a population parameter should or should not be rejected.  The null hypothesis, denoted by H0 , is a tentative assumption about a population parameter.  The alternative hypothesis, denoted by Ha, is the opposite of what is stated in the null hypothesis.  The alternative hypothesis is what the test is attempting to establish. Dr Jorge Ramírez Medina EGADE Business School
  • 14. One-tailed (lower-tail) One-tailed (upper-tail) Two-tailed Summary of Forms for Null and Alternative Hypotheses about a Population Mean  The equality part of the hypotheses always appears in the null hypothesis.  In general, a hypothesis test about the value of a population mean m must take one of the following three forms (where m0 is the hypothesized value of the population mean). Dr Jorge Ramírez Medina EGADE Business School 0 0:H m m 0:aH m m 0 0:H m m 0:aH m m 0 0:H m m 0:aH m m
  • 15. Demostración en Mathematica Dr. Jorge Ramírez Medina ITESM EGADE test type: H0: 0 Ha : 0 H0: 0 Ha : 0 H0: 0 Ha : 0 sample size 0 population variance random seed
  • 16. • Testing Research Hypotheses Planteamiento de Hipótesis • The research hypothesis should be expressed as the alternative hypothesis. • The conclusion that the research hypothesis is true comes from sample data that contradict the null hypothesis. Dr Jorge Ramírez Medina EGADE Business School
  • 17. Errores Dr Jorge Ramírez Medina EGADE Business School
  • 18. Type I and Type II Errors Correct Decision Type II Error Correct Decision Type I Error Reject H0 (Conclude m > 12) Accept H0 (Conclude m < 12) H0 True (m < 12) H0 False (m > 12)Conclusion Population Condition Dr Jorge Ramírez Medina EGADE Business School Errores
  • 19. Error Tipo I  Because hypothesis tests are based on sample data, we must allow for the possibility of errors.  A Type I error is rejecting H0 when it is true  The probability of making a Type I error when the null hypothesis is true as an equality is called the level of significance.  Applications of hypothesis testing that only control the Type I error are often called significance tests. Dr Jorge Ramírez Medina EGADE Business School
  • 20.  A Type II error is accepting H0 when it is false.  It is difficult to control for the probability of making a Type II error.  Statisticians avoid the risk of making a Type II error by using “do not reject H0” and not “accept H0”. Error Tipo II Dr Jorge Ramírez Medina EGADE Business School
  • 21.  The rejection rule: Reject H0 if the p-value < a.  Compute the p-value using the following three steps: 3. Double the tail area obtained in step 2 to obtain the p –value. 2. If z is in the upper tail (z > 0), find the area under the standard normal curve to the right of z. If z is in the lower tail (z < 0), find the area under the standard normal curve to the left of z. 1. Compute the value of the test statistic z. p-Value para la prueba de Hipótesis de dos colas Dr Jorge Ramírez Medina EGADE Business School
  • 22.  The critical values will occur in both the lower and upper tails of the standard normal curve.  The rejection rule is: Reject H0 if z < -za/2 or z > za/2.  Use the standard normal probability distribution table to find za/2 (the z-value with an area of a/2 in the upper tail of the distribution). p-Value para la prueba de Hipótesis de dos colas Dr Jorge Ramírez Medina EGADE Business School
  • 23. Step 1. Develop the null and alternative hypotheses. Step 2. Specify the level of significance a. Step 3. Collect the sample data and compute the test statistic. p-Value Approach Step 4. Use the value of the test statistic to compute the p-value. Step 5. Reject H0 if p-value < a. Pasos de la prueba de Hipótesis Dr Jorge Ramírez Medina EGADE Business School
  • 24. Critical Value Approach Step 4. Use the level of significance to determine the critical value and the rejection rule. Step 5. Use the value of the test statistic and the rejection rule to determine whether to reject H0. Pasos de la prueba de Hipótesis Dr Jorge Ramírez Medina EGADE Business School
  • 25. Ejemplo: Pasta de dientes • Two-Tailed Test About a Population Mean: s Known Quality assurance procedures call for the continuation of the filling process if the sample results are consistent with the assumption that the mean filling weight for the population of toothpaste tubes is 6 oz.; otherwise the process will be adjusted. The production line for Glow toothpaste is designed to fill tubes with a mean weight of 6 oz. Periodically, a sample of 30 tubes will be selected in order to check the filling process. Dr Jorge Ramírez Medina EGADE Business School
  • 26.  Two-Tailed Test About a Population Mean: s Known Perform a hypothesis test, at the .03 level of significance, to help determine whether the filling process should continue operating or be stopped and corrected. Assume that a sample of 30 toothpaste tubes provides a sample mean of 6.1 oz. The population standard deviation is believed to be 0.2 oz. Ejemplo: Pasta de dientes Dr Jorge Ramírez Medina EGADE Business School
  • 27. 1. Determine the hypotheses. 2. Specify the level of significance. 3. Compute the value of the test statistic. a = .03  p –Value and Critical Value Approaches H0: m  6 Ha: 6m  Prueba de dos colas de µ: s conocida Dr Jorge Ramírez Medina EGADE Business School 74.2 302. 61.6    n xz / 0 s m
  • 28. 5. Determine whether to reject H0.  p –Value Approach 4. Compute the p –value. For z = 2.74, cumulative probability = .9969 p–value = 2(1  .9969) = .0062 Because p–value = .0062 < a = .03, we reject H0. We are at least 97% confident that the mean filling weight of the toothpaste tubes is not 6 oz. Prueba de dos colas de µ: s conocida Dr Jorge Ramírez Medina EGADE Business School
  • 29. e Approach a/2 = .015 0 za/2 = 2.17 z a/2 = .015 -za/2 = -2.17 z = 3.425z = -3.425 1/2 p -value = .0031 1/2 p -value = .0031 Prueba de dos colas de µ: s conocida Dr Jorge Ramírez Medina EGADE Business School
  • 30. Prueba de dos colas de µ: s conocida Dr Jorge Ramírez Medina EGADE Business School  Critical Value Approach 5. Determine whether to reject H0. We are at least 97% confident that the mean filling weight of the toothpaste tubes is not 6 oz. Because 2.47 > 2.17, we reject H0. For a/2 = .03/2 = .015, z.015 = 2.17 4. Determine the critical value and rejection rule. Reject H0 if z < -2.17 or z > 2.17
  • 31. Prueba de dos colas de µ: s conocida Dr Jorge Ramírez Medina EGADE Business School a/2 = .015 0 2.17 Reject H0Do Not Reject H0 z Reject H0 -2.17  Critical Value Approach Sampling distribution of a/2 = .015 n xz / 0 s m
  • 32. Prueba de Hipótesis de µ: s desconocida • Test Statistic Dr Jorge Ramírez Medina EGADE Business School This test statistic has a t distribution with n - 1 degrees of freedom. t x s n   m0 /
  • 33.  Rejection Rule: p -Value Approach H0: m  m Reject H0 if t > ta Reject H0 if t < -ta Reject H0 if t < - ta or t > ta H0: m  m H0: m  m  Rejection Rule: Critical Value Approach Reject H0 if p –value < a Prueba de Hipótesis de µ: s desconocida Dr Jorge Ramírez Medina EGADE Business School
  • 34. A State Highway Patrol periodically samples vehicle speeds at various locations on a particular roadway. The sample of vehicle speeds is used to test the hypothesis Ejemplo: Los federales The locations where H0 is rejected are deemed the best locations for radar traps. H0: m < 65 Dr Jorge Ramírez Medina EGADE Business School
  • 35. At Location F, a sample of 64 vehicles shows a mean speed of 66.2 mph with a standard deviation of 4.2 mph. Use a = .05 to test the hypothesis. Ejemplo: Los federales Dr Jorge Ramírez Medina EGADE Business School
  • 36. 1. Determine the hypotheses. 2. Specify the level of significance. 3. Compute the value of the test statistic. a = .05 H0: m < 65 Ha: m > 65 m    0 66.2 65 2.286 / 4.2/ 64 x t s n Prueba de una cola de µ: s desconocida Dr Jorge Ramírez Medina EGADE Business School
  • 37.  p –Value Approach 5. Determine whether to reject H0. 4. Compute the p –value. For t = 2.286, the p–value must be less than .025 (for t = 1.998) and greater than .01 (for t = 2.387). .01 < p–value < .025 Because p–value < a = .05, we reject H0. We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph. Prueba de una cola de µ: s desconocida Dr Jorge Ramírez Medina EGADE Business School
  • 38.  Critical Value Approach 5. Determine whether to reject H0. We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph. Location F is a good candidate for a radar trap. Because 2.286 > 1.669, we reject H0. For a = .05 and d.f. = 64 – 1 = 63, t.05 = 1.669 4. Determine the critical value and rejection rule. Reject H0 if t > 1.669 Prueba de una cola de µ: s desconocida Dr Jorge Ramírez Medina EGADE Business School
  • 39. a   0 ta = 1.669 Reject H0 Do Not Reject H0 t Prueba de una cola de µ: s desconocida Dr Jorge Ramírez Medina EGADE Business School
  • 40. Asignación para la siguiente sesión Dr. Jorge Ramírez Medina EGADE Business School