You are on page 1of 28

Chapter 8: Introduction to

Hypothesis Testing

Prueba de Hiptesis

El objetivo general de una prueba de hiptesis es descartar el azar


(error de muestreo) como una explicacin plausible de los
resultados de un estudio de investigacin.
La prueba de hiptesis es una tcnica para ayudar a determinar si
un tratamiento especfico tiene un efecto sobre los individuos de
una poblacin.

The general goal of a hypothesis test is to rule out chance (sampling


error) as a plausible explanation for the results from a research
study.
Hypothesis testing is a technique to help determine whether a
specific treatment has an effect on the individuals in a population.

Prueba de Hiptesis
La prueba de hiptesis se utiliza para evaluar los resultados de un
estudio de investigacin en el cual
1. Una muestra se selecciona de entre la poblacin.
2. El tratamiento se administra a la muestra.
3. Despus del tratamiento, se miden los individuos de la muestra.
The hypothesis test is used to evaluate the results from a research
study in which
1. A sample is selected from the
population.
2. The treatment is administered to the sample.
3. After treatment, the individuals in the sample are measured.

Prueba de Hiptesis(cont.)
Si los individuos de la muestra son notablemente
diferentes de los individuos de la poblacin original,
tenemos pruebas de que el tratamiento tiene un efecto.
Sin embargo, tambin es posible que la diferencia entre
la muestra y la poblacin es error simplemente muestreo
If the individuals in the sample are noticeably different
from the individuals in the original population, we have
evidence that the treatment has an effect.
However, it is also possible that the difference between
the sample and the population is simply sampling error
5

Prueba de Hiptesis(cont.)

El propsito de la prueba de hiptesis es decidir entre dos


explicaciones:
1. La diferencia entre la muestra y la poblacin se puede explicar
por el error de muestreo (no parece ser un efecto del tratamiento)
2. La diferencia entre la muestra y la poblacin es demasiado
grande para ser explicada por el error de muestreo (s parece
ser un efecto del tratamiento).
The purpose of the hypothesis test is to decide between two
explanations:
1. The difference between the sample and the population can
be explained by sampling error (there does not appear to be a
treatment effect)
2. The difference between the sample and the population is too
large to be explained by sampling error (there does appear to be a
treatment effect).
7

The Null Hypothesis, the Alpha Level, the


Critical Region, and the Test Statistic
Los siguientes cuatro pasos describen el proceso de
prueba de hiptesis e introducen algunos de la nueva
terminologa:
The following four steps outline the process of
hypothesis testing and introduce some of the new
terminology:

Paso 1
Indicar las hiptesis y seleccione un nivel .
La hiptesis nula, Ho, siempre indica que el tratamiento no tiene
ningn efecto (no hay cambio, no hay diferencia).
De acuerdo con la hiptesis nula, la media de la poblacin despus
del tratamiento es el mismo que era antes del tratamiento.
El nivel establece un criterio, o "cut-off-corte", para tomar una
decisin sobre la hiptesis nula.
El nivel alfa tambin determina el riesgo de un error de tipo I
State the hypotheses and select an level. The null hypothesis,
H0, always states that the treatment has no effect (no change, no
difference). According to the null hypothesis, the population mean
after treatment is the same is it was before treatment. The level
establishes a criterion, or "cut-off", for making a decision about the null
hypothesis. The alpha level also determines the risk of a Type I error.
10

Paso 2
Localice la regin crtica.
La regin crtica se compone de los resultados que son muy poco
probable que ocurra si la hiptesis nula es verdadera. Es decir, la
regin crtica se define por medio de muestras que son casi
imposibles de obtener si el tratamiento no tiene ningn efecto.
La frase "casi imposible" significa que estas muestras tienen una
probabilidad (p) que es menor que el nivel alfa.
Locate the critical region. The critical region consists of outcomes
that are very unlikely to occur if the null hypothesis is true. That is,
the critical region is defined by sample means that are almost
impossible to obtain if the treatment has no effect. The phrase
almost impossible means that these samples have a probability
(p) that is less than the alpha level.
12

Paso 3
Calcular el estadstico de prueba.
El estadstico de prueba (en este captulo una puntuacin
z) forma una relacin que compara la diferencia obtenida
entre la media de la muestra y la poblacin de la hiptesis
media en funcin de la cantidad de diferencia es de esperar
sin ningn efecto del tratamiento (el error estndar).
Compute the test statistic. The test statistic (in this
chapter a z-score) forms a ratio comparing the obtained
difference between the sample mean and the hypothesized
population mean versus the amount of difference we would
expect without any treatment effect (the standard error).
14

Paso 4
Evaluacin de resultado
Un valor grande para el estadstico de prueba muestra que la diferencia media
obtenida es ms de lo que se esperara si no hay efecto del tratamiento.
Si es lo suficientemente grande para estar en la regin crtica, se concluye
que la diferencia es significativa o que el tratamiento tiene un efecto
significativo. En este caso se rechaza la hiptesis nula. Si la diferencia
media es relativamente pequea, entonces la estadstica de prueba tendr
un valor bajo. En este caso, llegamos a la conclusin de que las pruebas de
la muestra no es suficiente, y la decisin es no rechazar la hiptesis nula.
A large value for the test statistic shows that the obtained mean difference is
more than would be expected if there is no treatment effect. If it is large
enough to be in the critical region, we conclude that the difference is
significant or that the treatment has a significant effect. In this case we reject
the null hypothesis. If the mean difference is relatively small, then the test
statistic will have a low value. In this case, we conclude that the evidence
from the sample is not sufficient, and the decision is fail to reject the null
hypothesis.
15

Errores en la Prueba de Hiptesis

El hecho de que la media de la muestra (despus del tratamiento)


es diferente de la poblacin original significa que no
necesariamente indica que el tratamiento ha provocado un cambio.
Usted debe recordar que por lo general hay una cierta discrepancia
entre una media muestral y la media poblacional simplemente
como resultado del error de muestreo.

Just because the sample mean (following treatment) is different


from the original population mean does not necessarily indicate that
the treatment has caused a change.
You should recall that there usually is some discrepancy between a
sample mean and the population mean simply as a result of
sampling error.

17

Errores en la Prueba de Hiptesis


(cont.)
Debido a que la prueba de hiptesis se basa en datos de la
muestra, y porque los datos de muestra que no son
completamente fiables, siempre existe el riesgo de que
datos engaosos harn que la prueba de hiptesis para
llegar a una conclusin errnea.
Son posibles dos tipos de errores.
Because the hypothesis test relies on sample data, and
because sample data are not completely reliable, there is
always the risk that misleading data will cause the
hypothesis test to reach a wrong conclusion.
Two types of error are possible.
18

Error Tipo I

Un error de tipo I se produce cuando los datos de la muestra parecen mostrar un efecto
del
tratamiento
cuando,
de
hecho,
no
hay
ninguno.
En este caso, el investigador va a rechazar la hiptesis nula y concluir falsamente que el
tratamiento
tiene
un
efecto.
Los errores de tipo I son causados por muestras inusuales y poco representativas.
Simplemente por casualidad el investigador selecciona una muestra extrema con el
resultado de que la muestra cae en la regin crtica a pesar de que el tratamiento no tiene
ningn
efecto.
La prueba de hiptesis est estructurada de manera que los errores de Tipo I son muy
poco probables; especficamente, la probabilidad de un error de tipo I es igual al nivel alfa

A Type I error occurs when the sample data appear to show a treatment effect when, in
fact, there is none.
In this case the researcher will reject the null hypothesis and falsely conclude that the
treatment has an effect.
Type I errors are caused by unusual, unrepresentative samples. Just by chance the
researcher selects an extreme sample with the result that the sample falls in the critical
region even though the treatment has no effect.
The hypothesis test is structured so that Type I errors are very unlikely; specifically, the
probability of a Type I error is equal to the alpha level.

19

Error Tipo II
Un error de tipo II se produce cuando no parece haber sido afectada por
el tratamiento cuando, de hecho, el tratamiento tiene un efecto de la
muestra.
En este caso, el investigador no podr rechazar la hiptesis nula y
concluir falsamente que el tratamiento no tiene un efecto.
Los errores Tipo II son normalmente el resultado de un muy pequeo
efecto del tratamiento. A pesar de que el tratamiento tiene un efecto, no
es lo suficientemente grande como para aparecer en el estudio de
investigacin.
A Type II error occurs when the sample does not appear to have been
affected by the treatment when, in fact, the treatment does have an effect.
In this case, the researcher will fail to reject the null hypothesis and falsely
conclude that the treatment does not have an effect.
Type II errors are commonly the result of a very small treatment effect.
Although the treatment does have an effect, it is not large enough to show
up in the research study.
20

Prueba Direccional

Cuando un estudio de investigacin predice una direccin


especfica para el efecto del tratamiento (aumento o disminucin),
es posible incorporar la prediccin direccional en la prueba de
hiptesis.
El resultado se llama una prueba direccional o una prueba de una
cola. Una prueba direccional incluye la prediccin direccional en el
estado de la hiptesis y en la localizacin de la regin crtica.

When a research study predicts a specific direction for the treatment


effect (increase or decrease), it is possible to incorporate the
directional prediction into the hypothesis test.
The result is called a directional test or a one-tailed test. A
directional test includes the directional prediction in the statement of
the hypotheses and in the location of the critical region.

22

Prueba Direccional(cont.)
Por ejemplo, si la poblacin original tiene una media de = 80 y el
tratamiento se prev que aumente las puntuaciones, entonces la
hiptesis nula sera decir que despus del tratamiento:
Ho: <80 (no hay aumento)
En este caso, toda la regin crtica se encuentra en la cola derecha de
la distribucin ya que los valores grandes de M podran demostrar que
hay un aumento y que tenderan a rechazar la hiptesis nula.
For example, if the original population has a mean of = 80 and the
treatment is predicted to increase the scores, then the null hypothesis
would state that after treatment:
H0: < 80 (there is no increase)
In this case, the entire critical region would be located in the right-hand
tail of the distribution because large values for M would demonstrate
that there is an increase and would tend to reject the null hypothesis.
23

Midiendo el efecto del tamao

Una prueba de hiptesis evala la significacin estadstica de los resultados de


un estudio de investigacin.
Es decir, la prueba determina si es o no es probable que la media de la muestra
obtenida se produjo sin ninguna contribucin de un efecto del tratamiento.
La prueba de hiptesis est influenciada no slo por el tamao del efecto del
tratamiento, sino tambin por el tamao de la muestra.
Esto, incluso un efecto muy pequeo puede ser significativo si se observa en
una muestra muy grande.
A hypothesis test evaluates the statistical significance of the results from a
research study.
That is, the test determines whether or not it is likely that the obtained sample
mean occurred without any contribution from a treatment effect.
The hypothesis test is influenced not only by the size of the treatment effect but
also by the size of the sample.
Thus, even a very small effect can be significant if it is observed in a very large
sample.
24

Midiendo el efecto del tamao

Debido a un efecto significativo no significa necesariamente un gran


efecto, se recomienda que la prueba de hiptesis ir acompaada de
una medida de la magnitud del efecto.
Utilizamos Cohen = s d como una medida estandarizada del
tamao del efecto.
Al igual que una puntuacin z, Cohen = s d medidas del tamao de
la diferencia media en trminos de la desviacin estndar
Because a significant effect does not necessarily mean a large
effect, it is recommended that the hypothesis test be accompanied
by a measure of the effect size.
We use Cohen=s d as a standardized measure of effect size.
Much like a z-score, Cohen=s d measures the size of the mean
difference in terms of the standard deviation.
25

Poder de una prueba de


hiptesis

El poder de una prueba de hiptesis se define la probabilidad de


que la prueba va a rechazar la hiptesis nula cuando el tratamiento
tiene un efecto.
La potencia de una prueba depende de una variedad de factores,
incluyendo el tamao del efecto del tratamiento y el tamao de la
muestra
The power of a hypothesis test is defined is the probability that the
test will reject the null hypothesis when the treatment does have an
effect.
The power of a test depends on a variety of factors including the
size of the treatment effect and the size of the sample.

27

You might also like