CPSMA 3913 Project Module 3: Probability

1. Create your own sample space, compute probabilities and simulate selecting items from it.

(a) Create a sample space with three or more simple events. Assign a probability to each item. Show that the axioms of probability hold under this assignment.

(b) Create a compound event that uses some of the simple events.

(c) Compute the probability of a union and an intersection of your events.

(d) Compute both conditional probabilities of two events. Make sure to explain what they are in words. Apply Bayes’ theorem to verify your result.

(e) Compute the probability of the complement of an event.

(f) Simulate a simple occurrence of your sample space 10 times. Pick an event, does the simulation give you exactly the same probability as your assignment? Explain why or why not.

2. Be sure to comment on the following:

(a) Describe your findings in words.

(b) If you were unable to code something discuss what the difficulty was and why doing it by hand was easier.

(c) Discuss how simulation might be different than your ideal sample space.

The first report will be graded by the following criteria:

� Report Style – 5 points. Your report contains a title, author’s name, class it is for, and instructor’s name.

� Clean Code- 5 points. Functions and variables are defined with descriptive names. Code can be interpreted with minimal effort.

� Probability – 5 points. Probability makes sense. Explanation is given of computations.

� Simulation – 5 points. Simulation works correctly and gives reasonable results. Those results are interpreted.

� Writing Quality – 5 point. The paper is readable, clearly written and contains a single voice. There are few, if any, grammatical or spelling errors and they do not interfere with the clarity of the paper.

If you have any questions about this assignment feel free to email me or join in office hours.

mailto:njacob@ecok.edu?subject=Questions About Project Part 3:Discrete


Module 3 of the CPSMA 3913 Project: Probability

1. Design your own sample space, calculate probabilities, and simulate selecting objects from it.

(a) Design a test area with three or more simple events. Give each item a probability. Demonstrate that the probability axioms hold under this assignment.

(b) Make a compound event by combining some of the simple events.

(c) Determine the likelihood of your events forming a union and intersecting.

(d) Determine the conditional probability of two events. Make a point of explaining what they are in words. Apply Bayes’ theorem to verify your result.

(e) Determine the probability of an event’s complement.

(f) Simulate a simple occurrence of your sample space 10 times. Pick an event, does the simulation give you

Published by
Essays
View all posts