Download - IBM spss20 HELP TUTORIAL-2
![Page 1: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/1.jpg)
Q1. A manufacturer knows that 5% of his products are defective if he sells items in
the box of 100 and guarantee that not more than 10 items will be defective. What
is the approximate probability that a box will fail to meet the guaranteed quality?
Ans2. Part-a
Step-1 In the variable view define the variable “X”. In the data view enter the values of
“X” from 0 to 10.
Step-2 To calculate probability distribution under “Transform” menu option choose
“compute variable” option.
![Page 2: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/2.jpg)
Step-3 Under Compute Variable enter Target variable as “P” and for numeric
expression choose the function group “PDF & Noncentral PDF” and under this
group choose “Pdf.Poisson” (under Functions and Special variables) then in
the numeric expression tab enter the values for PDF.POISSON(?,?) as PDF.
POISSON (X,5).
Step-4 In the data view we’ll get the values of P for each value of X.
![Page 3: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/3.jpg)
Step-5 Now, for making the pdf plot: Graphs → Chart Builders → Histogram → Drag X
on
x-axis and P on y-axis → Click on Ok. The histogram will be as follows:-
![Page 4: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/4.jpg)
Ans2. Part-b
Step-1 In the variable view define the variable “X”. In the data view enter the values of
“X” from 0 to 10.
![Page 5: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/5.jpg)
Step-2 To calculate cumulative distribution under “Transform” menu option choose
“compute variable” option.
Step-3 Under Compute Variable enter Target variable as “C” and for numeric
expression choose the function group “CDF & Noncentral CDF” and under this
group choose “Cdf.Poisson” (under Functions and Special variables) then in
the numeric expression tab enter the values for CDF. POISSON (?,?) as CDF.
POISSON (X,5).
![Page 6: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/6.jpg)
Step-4 In the data view we’ll get the values of C for each value of X.
Step-5 Now, for making the cdf plot: Graphs → Chart Builders → Histogram → Drag X
on
x-axis and C on y-axis → Click on Ok. The histogram will be as follows:-
![Page 7: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/7.jpg)
Ans2. Part-c Computing the probability that box will fail to meet the guaranteed quality:-
![Page 8: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/8.jpg)
Step-1 Repeat the steps 1-4 of Part-b of this question.
Step-2 Again go to the Transform menu choose compute variable option.
In the Target Variable write “A” with If condition “X =10”.Write the “1-C” in
numeric expression. Click “Ok”.
The data view will be as follows:-
So, Probability of coming not more than ten items defective from a box of 100 = 0.0137
![Page 9: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/9.jpg)
Q2. Products produced by a machine has 3% defective rate. What is the probability
that the first defect occur in the 5th
item inspected?
Ans3.
Step-1 In the variable view define the variable “X”. In the data view enter the values of
“X” from 0 to 5.
Step-2 To calculate probability distribution under “Transform” menu option choose
“compute variable” option.
![Page 10: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/10.jpg)
Step-3 Under Compute Variable enter Target variable as “P” and for numeric
expression choose the function group “PDF & Noncentral PDF” and under this
group choose “Pdf.Geom” (under Functions and Special variables) then in the
numeric expression tab enter the values for PDF.GEOM(?,?) as PDF.GEOM
(X,0.03).
Step-4 In the data view we’ll get the values of P for each value of X.
![Page 11: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/11.jpg)
Step-5 To calculate the probability that the first defect occur in the 5th
item when
inspected:
Again go to the Transform menu choose compute variable option.
In the Target Variable write “A” with If condition “X =5”.Write the “P” in
numeric expression. Click “Ok”.
![Page 12: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/12.jpg)
The data view will be as follows:
So, the probability that the first defect occur in the 5th
item when inspected =
0.265587843
≈
0.2656
![Page 13: IBM spss20 HELP TUTORIAL-2](https://reader033.vdocuments.us/reader033/viewer/2022051316/563db94d550346aa9a9c04e4/html5/thumbnails/13.jpg)