0% found this document useful (0 votes)
48 views5 pages

Assignment .2. STA301 Rimsha Hameed

This document contains a student's assignment submission for a statistics and probability course. It includes 3 questions with solutions: 1) Calculating the expected frequencies for a fitted binomial distribution with N=100, n=5, and probabilities of 0.4 and 0.6. 2) Finding the mean and variance of a hypergeometric distribution with given parameters of N=50, n=5, and k=3. 3) Calculating the probability that the number of typing errors on a page is at least 2, given the number of errors has a Poisson distribution with an average of 4 errors per page.

Uploaded by

shahbaz shahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views5 pages

Assignment .2. STA301 Rimsha Hameed

This document contains a student's assignment submission for a statistics and probability course. It includes 3 questions with solutions: 1) Calculating the expected frequencies for a fitted binomial distribution with N=100, n=5, and probabilities of 0.4 and 0.6. 2) Finding the mean and variance of a hypergeometric distribution with given parameters of N=50, n=5, and k=3. 3) Calculating the probability that the number of typing errors on a page is at least 2, given the number of errors has a Poisson distribution with an average of 4 errors per page.

Uploaded by

shahbaz shahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Name : Rimsha Hameed

Student ID : Bc210410755

Assignment Name : Statistics And Probability ( Stat301 )

Submitted To : Dr. Saleha Naghmi

Submitted Date : 22 – January – 2023

Question No 1 :-

An experiment is repeated 100 times and a fitted binomial


distribution is obtained as follows:-

Calculate the Expected frequencies for the fitted binomial distribution.

Solution :-

P(X = x) =C 5x (0.4)x (0.6)n−x , x=0,1,2,3,4,5

Calculate : binomial distribution.

Solution:-

Here N=100

n=5; x=0,1,2,3,4,5

So the given function is ,


5 x n−x
P (X= x) =C x (0.4) (0.6) , x=0,1,2,3,4,5

Find Expected frequency = ?

X Probability P(x) Expected Frequency =


N*P(x)
5 0 5
C 0 (0.4) (0.6) =0.07776
0 0.07776*100=7.776
5 1 4
C 1 (0.4) (0.6) =0.2592
1 0.2592*100=25.92

C 52 (0.4)2 (0.6)3=0.3456
2 0.3456 *100=34.56

C 53 (0.4)3 (0.6)2=0.2304
3 0.2304 *100=23.04

C 54 (0.4)4 .(0.6)=0.0768
4 0.0768 *100=7.68
5 5 0
C 5 (0.4) .(0.6) =0.0102
5 0.0102*100=1.024

If you want to check your answer, then add expected values to plus, if it reached
100, it will be fine.

Question No 2 :-

Calculate the mean and the variance of the hypergeometric


distribution h(x;50,5,3).

Solution :-

Given Value: h (x; 50, 5, 3)

General Form is h (x; N, n, k)

Now Putting Values : N = 50 ; n = 5 ; k = 3

We know that mean is equal to:


μ=n ( )
K
N

Value put in formula

μ=5 ( 503 )= 1530


μ=0.3

The variance is equal to

σ 2= ( N−n )(
N −1 n
nk
)( 1− )
k
N

Now Put the value

σ 2=( 50−5 )(
50−1 50
5∗3
)( 1− )
3
50

σ 2= ( 4549 )( 1530 )( 4750 )


2
σ =( 0.92 ) ( 0.3 )( 0.94 )
2
σ =0.26

Question No 3 :-

Suppose that the number of typing errors per page has a


Poisson distribution with average 4 typing errors. What is the probability
that in a given page the number of typing errors will at least 2?

Solution :-

Given Data

Average = μ=4

Poisson distribution function

e−4 μx
F(x) =
x!

Given Condition:

P (X ≥ 2) =1 –P(X< 2)
Now the given condition we find probability less than 2

P (X ≥ 2) =1 – [P(X = 0) + P (X = 1)]

Now putting values

e 4 ( 0.01813 ) (1)
−4 0
P(X = 0) = = =0.0183
0! 1

e−4 4 1 ( 0.01813 ) ( 4 )
P(X = 0) = = =0.0733
1! 1

Now putting in any Equation:

P (X ≥ 2) =1 – [ 0.0183 + 0.0733]

= 1 – 0.0916

P (X ≥ 2) = 0.9084

The End..

You might also like