Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Bio
B ostaatiistiics
Statistical inferences:
1. Estimation
2. Hypothesis testing
Hypothesis Testing
Before I start my 2nd lecture… I would like to say that hypothesis
testing needs more attention than estimation. I.e. don’t read this
while you are watching TV or eating your dinner.
Other thing, I have done little new things in this lecture to make it
easier for you:
Introduction:
There are two types of Hypothesis that we are going to deal with:
. Recall:
(Usually, it is 0.05)
- Notice the pink or the blue areas are the level of significance.
They are also called “rejection regions” and the white areas are
called “the acceptance regions”
When you draw the curve and mark the level of significance
“all that from the question”, you will calculate the test statics
from the equation. Then you will see is your result in the pink or
blue areas, or in the white area…
Why?
وبين١٢.٦ نحن نريد التحقق ھل يوجد فرق بين المعطى من التجربة العملية وھو
؟؟١٣ النظرية الموضوعة
Z= (x-µ) /SD
Now, we look at the curve that we drew. Is this number (2.9) in the
acceptance region??
2.9> 1.96
We will find that this number is on the blue region which is the rejected
region.
HA: µ ≠ 13.
وبين النظرية28 نحن نريد التحقق ھل يوجد فرق بين المعطى من التجربة العملية وھو
؟؟25 الموضوعة
H0 = 25, HA ≠ 25
1.41 < 1.96 …… THAT means that it is located in the acceptance region.
So, we will accept the H0.
Conclusion, based on this data, the mean level of the enzyme in this
sample does not differ from the population at alpha = 0.05
IMPORTANT POINT
THE CURVE may have one tail or two. Usually, when the H0 is
(=), the curve has two tails.
If the sample mean is 7.5 and the standard deviation is 0.5, what can you
conclude?
µ = 7.7 hrs.
x = 7.5 hrs.
نحن نريد التحقق ھل أن متوسط النوم الذي يحتاجه المدخنين والذي حصلنا...ھذه المرة
؟؟٧.٧ ( ھو اقل من النظرية الموضوعة٧.٥) عليه من التجربة العملية
Remember: it is only one tail, because it is not (=) as we said before. And
we choose the left area because it is (less than). That is why it is (-ve).
Z = (7.5-7.7) / SE = -2.83
SO, the conclusion is: based on this data, the smokers need less hours of
sleeping than general public. At the level of significance = 0.05
Do you feel that you can easily answer this type of questions by now?
Test yourself
H0: µ1 = µ2
H1: µ1 ≠ µ2
SE =
Z = 2.82
And when you draw the curve you will see it is two tails…. ( بصير زي
)الرسمات الي راحت
Conclusion:
Since calculated value 2.82 > tabulated value 1.96. That means the null
hypothesis is rejected.
Problem: In health survey of a certain community, 150
persons were interviewed. One of the items of
This
information obtained was the number of prescriptions
problem
each person has filled during the past years per day.
was a part
The average number of 150 people was 5.8 with
of one
standard deviation of 3.1. The investigators wishes to
exam
know if this data provide sufficient evidence to indicate
that the population mean is greater than 5 at 0.05 level
of significance.
Find:
Never forget
Tests:
‐One population mean ‐Two populations’ means
‐Paired t‐test ‐One population proportion
‐Two population proportions ‐Chi ‐squared
4. Calculated value.
Z = (x-µ) / SE
Since the level of significance = 0.05, the curve will be like this:
مرة ثانية:
6. Decision.
We reject the null hypothesis and accept the alternative one. I.e. the
population mean is greater than 5.
للتوضيح :سبب رفضنا لــ H0ان الرقم الي حسبناه طلع اكبر من الي في الجدول ...وال
تنسوا ان الرسمة الي رسمناھا خاصة بالــ H0لھذا رفضناھا ھي وليس .HA
7. Interpretation.
Why did we take 1.96??
Because in any C.I. always take two tales!!
We hope you enjoyed while reading this note. We tried our best to make it easy and
light…
At the end, Again and again, I would like to say that if there were any mistakes and