A sample of 10 items is drawn from a lot of 50 items. It is known that
Fantastic news! We've Found the answer you've been seeking!
Question:
A sample of 10 items is drawn from a lot of 50 items. It is known that the average fraction defective per lot is 0.2. Simulate the inspection procedure of drawing a sample of 10 items and generate an experimental probability mass function for the number of defectives using a random sampling algorithm (in R it is a single command, else, your own algorithms may be used). Verify if the results match with hypergeometric distribution (theoretical probability mass function).
Provide code, output screenshots Further, generate a table showing the theoretical probabilities, experimental probabilities, and the percentage of the difference between them.
Use R programming
Related Book For
Applied Statistics in Business and Economics
ISBN: 978-0073521480
4th edition
Authors: David Doane, Lori Seward
Posted Date: