0% found this document useful (0 votes)
11 views

APS Lab 06

Uploaded by

talal haider
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)
11 views

APS Lab 06

Uploaded by

talal haider
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/ 2

Submitted By: Syed Muhammad Talal HaiderDecember 30, 1899

Practical No. 06
1. Poisson probability and cumulative probability distribution for μ=2.5.
MTB > SET C1
DATA> 0:10
DATA> END
MTB > PDF C1 C2;
SUBC> POISSON 2.5.
MTB > CDF C1 C3;
SUBC> POISSON 2.5.
MTB > NAME C1 'x' C2 'P(x)' C3 'F(x)'
MTB > Print c1-c3
Poisson Probability Plot for μ=2.5
Row x P(x) F(x)
1 0 0.082085 0.082085 0.3
2 1 0.205212 0.287297
3 2 0.256516 0.543813 Probability at μ=2.5 0.25
4 3 0.213763 0.757576 0.2
5 4 0.133602 0.891178
6 5 0.066801 0.957979 0.15
7 6 0.027834 0.985813
8 7 0.009941 0.995753 0.1
9 8 0.003106 0.998860
0.05
10 9 0.000863 0.999723
11 10 0.000216 0.999938 0
0 1 2 3 4 5 6 7 8 9 10
Number of Trials X

Poisson Cumulative Probability Plot for μ=2.5


1.2
Cumulative Probability at μ=2.5

0.8

0.6

0.4

0.2

0
0 1 2 3 4 5 6 7 8 9 10
Number of Trials X

1
Submitted By: Syed Muhammad Talal HaiderDecember 30, 1899

2.
a. Mean and standard deviation of X for μ = 5.

MTB > PDF C1 C2;


SUBC> POISSON 5.
MTB > CDF C1 C3;
SUBC> POISSON 5.
MTB > LET K1= SUM(C1*C2)
MTB > LET K2=SUM((C1^2)*C2)
MTB > LET K3= K2-(K1)^2
MTB > LET K4= SQRT(K3)
MTB > NAME K1 'E(X)' K2 'E(X^2)' K3 'V(X)' K4 'S(X)'
MTB > PRINT K1 K4

E(X) 5.00000
S(X) 2.23606

b. Probability Distribution

Poisson Probability Plot for μ=5


0.2
0.18
0.16
0.14
Probability at μ

0.12
0.1
0.08
0.06
0.04
0.02
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Number of Trials X

c. Find P(x = 0), P(x ≥ 5), P(x < 8)

MTB > LET K5=C2[1]


MTB > LET K6=1-C3[5]
MTB > LET K7=C3[8]
MTB > NAME K5 'P(x=0)' K6 'P(x>=5)' K7 'P(x<8)'
MTB > PRINT K5-K7

P(x=0) 0.00673795
P(x>=5) 0.559507
P(x<8) 0.866628

You might also like