You are on page 1of 26

STATISTICS & PROBABILITY

DR/ MARWA YAHYA


REVISION

• Normal distribution.
• Standard normal distribution.
OBJECTIVES
At the end of this lesson the student will be able to
1. Define the following terms
• Point Estimate.
• Confidence Interval
• Confidence Level
• Estimate
• Estimation
• Estimator
• Null hypothesis
• Alternative hypothesis
• Critical value or critical point
• Observed value of 𝑧 or 𝑡 .
• One-tailed test
• Right tailed test.
• Two-tailed test.
• Significance level.
• Type I error.
• Type II error.
SAMPLING DISTRIBUTION
A SAMPLE SURVEY:
The technique of collecting information from a portion of the population is called a sample
survey.

SIMPLE RANDOM SAMPLE:


A simple random sample is a sample that is selected in such a way that each members of the
population has the same being included in the sample.

Population Distribution
The population distribution is the probability distribution of the population data
EXAMPLE (1)
• Suppose there are only five employees working for a small company. The
following give the annual salaries (in thousands of dollars) of these five
employees.
17 24 35 35 43
- Find the frequency distribution of the annual salaries.
- Find the probability distribution.
SOLUTION

Population Frequency Population Probability


Distribution Distribution
𝒙 𝒇 𝒙 𝑷(𝒙)
17 1 17 1/5
24 1 24 1/5
35 2 35 2/5
43 1 43 1/5
𝑵=𝟓 𝒔𝒖𝒎 = 𝟏
SAMPLING DISTRIBUTION OF 𝒙

The probability distribution of 𝒙
ഥ is called its sampling distribution. It lists the various
values that 𝒙
ഥ can assume and the probability for each value of 𝒙 ഥ.
In general, the probability distribution of a sample statistics is called its sampling distribution.

EXAMPLE (2)
A population consists of the following four values: 2, 2, 4 and 6:
• List all samples of size 2, and compute the mean of each sample.
• Compute the mean of the distribution of sample means and the population
mean compare the two values.
SOLUTION
𝑿: 2, 2, 4, and 6
Sample Values Mean
1 2,2 2+2 2+2+4+6
=2 𝜇= = 3.5
2 4
2 2,4 2+4
=3 σ 𝑋ത
2 𝑋ത = =
𝑁𝑜 𝑜𝑓 𝑠𝑎𝑚𝑝𝑙𝑒𝑠
3 2,6 2+6
=4
2
2 + 3 + 4 + 3 + 4 + 5 21
4 2,4 2+4 = = 3.5
=3 6 6
2
5 2,6 2+6 𝑋ത = 𝜇
=4
2
6 4,6 6+4
=5
2
ESTIMATION
The estimation procedure involves the following steps
- Select a sample
Population Sample
- Collect the required information from the members of the sample.
- Calculate the value of the sample statistic. mean 𝜇 𝑋ത
- Assign value(s) to the corresponding population parameter. S.D 𝜎 𝑆

Estimation

The assignment of value(s) to a population parameter based on a value of the


corresponding sample statistics is called estimation.
Estimate and Estimator

The value(s) assigned to a population parameter based on the value of a sample statistic is
called an estimate. The sample statistic used to estimate a population parameter is called an
estimator.
ESTIMATION
Point Estimate

The value of a sample statistic that is used to estimate a population parameter is


called a point estimate.

Interval Estimate

The interval estimation, an interval is constructed around the point estimate, and it is
stated that this interval is likely to contain the corresponding population parameter.
Confidence Interval For 𝝁 For Large Samples
The confidence interval for 𝝁 is
ഥ ± 𝒛𝝈ഥ𝒙
𝒙 if 𝝈 is known
ഥ ± 𝒛𝒔ഥ𝒙
𝒙 if 𝝈 is not known
𝝈 𝒔
where 𝝈ഥ𝒙 = 𝒂𝒏𝒅 𝒔ഥ𝒙 =
𝒏 𝒏

The value of z used here is read from the standard normal distribution
table for the given confidence interval.
EXAMPLE (3)
A sample of 81 observations is taken from a normal population. The sample mean is 40 and
the sample standard deviation is 5. Determine 95% confidence (Z=1.96) interval for the
population mean.
Solution
𝑛 = 81, 𝑥ҧ = 40, 𝑠 = 5, 𝑧 = 1.96
95% confidence interval of the population mean is given by
𝑠
𝑥ҧ ± 𝑧
√𝑛
𝑠 5
𝑥ҧ + 𝑧 = 40 + 1.96 = 40 + 1.089 = 41.08 𝑎𝑠 𝑎𝑛 𝑢𝑝𝑝𝑒𝑟 𝑙𝑖𝑚𝑖𝑡
√𝑛 √81
𝑠 5
𝑥ҧ − 𝑧 = 40 − 1.96 = 40 − 1.089 = 38.91 𝑎𝑠 𝑎 𝑙𝑜𝑤𝑒𝑟 𝑙𝑖𝑚𝑖𝑡
𝑛 81
WHAT IS A HYPOTHESIS?
A Hypothesis is a statement about the value of a population

parameter developed for the purpose of testing.

Examples of hypotheses made about a population parameter

are:

• The mean monthly income for systems analysts is 3625.


Null Hypothesis

A null hypothesis is a claim (or statement) about a population parameter that is


assumed to be true until it is declared false.

Alternative Hypothesis

An alternative hypothesis is a claim about a population parameter that will be


true if the null hypothesis is false.
Actual Situation
𝐇𝟎 is true 𝐇𝟎 is false

Decision Do not reject 𝑯𝟎 Correct decision Type II or 𝛽 error


Reject 𝑯𝟎 Type I or ∝ error Correct decision
Type I Error

A Type I error occurs when a true null hypothesis is rejected. The value of 𝛼 represents the
probability of committing this type of error. The value of 𝛼 represents the significance level of
the test.

Type II Error

A Type II error occurs when a false null hypothesis is not rejected. The value of
𝛽 represents the probability of committing a type II error.
Two-tailed test Left-tailed test Right-tailed test

Sign in the null = 𝒐𝒓 ≤


= = 𝒐𝒓 ≥
hypothesis
Sign in the
alternative
≠ < >
hypothesis

Rejection region In both tails In the left tail In the right tail
STEPS OF TESTING OF HYPOTHESIS
Step 1: State the null hypothesis 𝑯𝟎 and the alternate hypothesis 𝑯𝟏 .

Step 2: Select the level of significance.


α = 0.01 as stated in the problem

Step 3: Select the test statistic.


TESTING FOR A POPULATION MEAN

Use Z-distribution Use t-distribution

If the population standard If the population standard


deviation is known or the deviation is unknown and
sample is greater than 30. the sample is less than 30.
x − x −
Z calc = t calc =
 s
n n
STEPS OF TESTING OF HYPOTHESIS

Step 4: Formulate the decision rule.

Reject H0 if |Z| > Z/2

Or graph and determine acceptance area and reject area

then take the decision


EXAMPLE (3)
J S Company manufactures and assembles desks and other office equipment at
several plants in western New York State. The weekly production of the
Model A325 desk at the Fredonia Plant follows the normal probability
distribution with a mean of 200 and a standard deviation of 16. Recently,
because of market expansion, new production methods have been
introduced and new employees hired. The vice president of manufacturing
would like to investigate whether there has been a change in the weekly
production of the Model A325 desk.(n=50,𝑥=203.5,
ҧ C.I=99%)

 = 16
20
SOLUTION
Step 1: State the null hypothesis and the alternate hypothesis.
H0:  = 200
H1:  ≠ 200
(note: keyword in the problem “has changed”)

Step 2: Select the level of significance.


α = 0.01 as stated in the problem
0.01
= 0.005 0.4950 0.4950
2
-2.58 2.58
0.5 − 0.005 = 0.4950 0

Step 3: Select the test statistic.


Use Z-distribution since σ is known
TESTING FOR A POPULATION MEAN WITH A
KNOWN POPULATION STANDARD DEVIATION- EXAMPLE
Step 4: Formulate the decision rule.

Reject H0 if |Z| > Z/2

Z  Z  /2
x −
 Z  /2
/ n 0.4950 0.4950

203.5 − 200
 Z .01/2
16 / 50
1.55 is not  2.58 Do not reject 𝐻0
Step 5: Make a decision and interpret the result.Because 1.55 does
not fall in the rejection region, H0 is not rejected. We conclude that
the population mean is not different from 200. So we would report
to the vice president of manufacturing that the sample evidence does
not show that the production rate at the Fredonia Plant has changed
from 200 per week.
EXAMPLE
• The following data represents the results of a sample drawn
from a production line and the administration wishes to test
that the average number of units varies of 60 where

n = 26 , x = 56.42 ,  = 60 , S = 10.04 ,  = 0.02

You might also like