![Mathematics](/tpl/images/cats/mat.png)
Mathematics, 21.12.2020 08:40, daniel8orange
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.
The problem above can be modeled as follows: Roll a normal fair six-sided die. Rolling a 1 will count as βfailβ. Anything else will count as βnot-failβ. The random variable we will use will be
X = # of rolls required until a 1 is rolled = βtime until failureβ
This is a random variable, so in each experiment (for each device), this will produce a value. For example, if we roll , then X = 5 (we count the final roll).
Part 1 [Excel] (Empirical Analysis): Simulate 20 repetitions of obtaining a value for X, 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 X.
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 X. See the additional notes for discussion on these computations, in brief:
P(X=i) = the probability of rolling something other than a 1 (i-1)-times, then rolling a 1 on the ith throw. Make a table for the first 20 values:
i 1 2 β¦ 20 Totals
P(X=i) P(X=1) P(X=2) β¦ P(X=20) β_(i=1)^20βγP(X=i)γ
iβ
P(X=i) 1β
P(X=1) 2β
P(X=2) β¦ 20β
P(X=20) β_(i=1)^20βγiβ
P(X=i)γ
i^2β
P(X=i) 1^2β
P(X=1) 2^2β
P(X=2) β¦ 20^2β
P(X=20) β_(i=1)^20βγi^2β
P(X=i)γ
Use this table to compute
P(Xβ€20)=β_(i=1)^20βγP(X=i)γ, the probability that you get the first 1 in at most 20 rolls.
An approximation of E[X] using the first 20 values for X, namely E[X]ββ_(i=1)^20βγiβ
P(X=i)γ.
An approximation to the variance of X using the first 20 terms. For this, use E[X^2 ]ββ_(i=1)^20βγi^2β
P(X=i)γ and then use this and the above to get a rough approximation of var[X]=E[X^2 ]-(E[X])^2.
Use the preceding to approximate the standard deviation Ο[X]=β(var[X]) using the first 20 terms.
Again, using Excel for this will simplify what needs to be done.
Repeat the third item of Part 1: Given the modeling problem we started with, interpret E[X] and Ο[X] in terms of how many years are expected before the device fails.
Part 3 [Written] (Theoretical Analysis β Exact Computations β (Optional)): Compute the expected value, variance, and standard deviation of the random variable X. See the additional notes for discussion on these computations, in brief:
(Expected Value) E[X]=β_(i=1)^ββγiβ
P(X=i)γ
(Variance) var[X]=E[(X-E[X])^2 ]=E[X^2 ]-(E[X])^2
(Standard Deviation) Ο[X]=β(var[X])
Hint: For computing these without directly manipulating the infinite summations that appear in the definitions of E[X] and var[X], let A be the event that a 1 is rolled on the first throw and A' be the complementary event, namely, that a 1 is not rolled on the first throw. It is clear that E[XβA^' ]=E[1+X]=1+ E[X] since what is rolled after the first roll is just like starting over. It is also clear that E[XβA]=1. The Law of Total Expectation (see notes) gives:
E[X]=E[XβA]β
P(A)+E[XβA^' ]β
P(A^' )=P(A)+(1+E[X])β
(1-P(A))
This makes it quite simple to find E[X].
A similar βtrickβ can be used to find E[X^2], here you will use E[X^2βA^' ]=E[(1+X)^2 ]=E[1+2X+X^2 ]=1+2E[X]+E[X^2]. Again, the Law of Total Expectation gives:
E[X^2 ]=E[X^2βA]β
P(A)+E[X^2βA^' ]β
P(A^')
and from this it is simple to compute E[X^2 ].
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Mathematics
![image](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 19:30, Jenan25
Consider this equation. |y + 6| = 2 what can be concluded of the equation? check all that apply. there will be one solution. there will be two solutions. the solution to β(y + 6) = 2 will be also be a solution to the given absolute value equation. the solution(s) will be the number(s) on the number line 2 units away from β6. the value of y must be positive since the variable is inside absolute value signs.
Answers: 1
![image](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 21:30, Kizmit1423
How does reflecting or rotating a figure change the interior angles of the figure?
Answers: 2
![image](/tpl/images/cats/mat.png)
Mathematics, 22.06.2019 02:40, blake4033
An oil exploration company currently has two active projects, one in asia and the other in europe. let a be the event that the asian project is successful and b be the event that the european project is successful. suppose that a and b are independent events with p(a) = 0.2 and p(b) = 0.8. (a) if the asian project is not successful, what is the probability that the european project is also not successful? (b) what is the probability that at least one of the two projects will be successful? (c) given that at least one of the two projects is successful, what is the probability that only the asian project is successful? (round your answer to three decimal places.)
Answers: 3
Do you know the correct answer?
Problem: Consider one way of modeling a problem. Say you have a device and in any given year, there...
Questions in other subjects:
![Konu](/tpl/images/cats/biologiya.png)
Biology, 16.11.2020 21:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 16.11.2020 21:40
![Konu](/tpl/images/cats/fr.png)
French, 16.11.2020 21:40
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 16.11.2020 21:40
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)