11 Aug Compute the mean and standard deviation of your values for .
Problem: Consider one way of modeling a problem. Say you have a device and in any given year, there is a 1 in 6 chance that the device will fail. One question is, “On average, how long will it be before such a device fails?” This sort of problem is what will be modeled and analyzed here.
Part 1 [Excel] (Empirical Analysis): Simulate 20 repetitions of obtaining a value for , that is, roll until a 1 is rolled, record the result and repeat this 20 times. For example, if you roll , then record 4 since 4 rolls were required. You can complete this using a die or simulating using Excel, Python, or some other option, e.g., Random.org.
- Record your rolls and counts.
- Compute the mean and standard deviation of your values for .
- Given the modeling problem we started with, interpret the mean and standard deviation you found in terms of how many years are expected before the device fails.
Excel might be used for this part as it makes the calculations, recording of data, etc. very simple. However, it is not required.
Part 2 [Excel] (Theoretical Analysis – Approximations): Compute approximations to expected value, variance, and standard deviation of the random variable . See the additional notes for discussion on these computations, in brief:
- = the probability of rolling something other than a 1 )-times, then rolling a 1 on the th throw. Make a table for the first 20 values:
- , the probability that you get the first 1 in at most 20 rolls.
- using the first 20 values for , namely .
- using the first 20 terms. For this, use and then use this and the above to get a rough approximation of .
- using the first 20 terms.
- Repeat the third item of Part 1:Given the modeling problem we started with, interpret and in terms of how many years are expected before the device fails.
1 |
2 |
… |
20 |
Totals |
|
Use this table to compute
Part 3 [Written] (Theoretical Analysis – Exact Computations – (Optional)): Compute the expected value, variance, and standard deviation of the random variable . See the additional notes for discussion on these computations, in brief:
- (Expected Value)
- (Variance)
- (Standard Deviation)
Hint: For computing these without directly manipulating the infinite summations that appear in the definitions of and , let be the event that a 1 is rolled on the first throw and be the complementary event, namely, that a 1 is not rolled on the first throw. It is clear that since what is rolled after the first roll is just like starting over. It is also clear that . The Law of Total Expectation (see notes) gives:
This makes it quite simple to find .
A similar “trick” can be used to find , here you will use .Again, the Law of Total Expectation gives:
and from this it is simple to compute .
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.