Professional Documents
Culture Documents
Faruk M. Hw3 Problem8 (Simulation Study of System Lifetime in Engineering)
Faruk M. Hw3 Problem8 (Simulation Study of System Lifetime in Engineering)
Faruk M. Hw3 Problem8 (Simulation Study of System Lifetime in Engineering)
By
Faruk, Muritala
STAT7100
Citing Example 4.81 Sec. 4.12, this study brings a solution to Exercise 8 Sec.
determine the better choice to maximize the mean system lifetime and the 10 th
percentile of the system lifetime and also, to determine the better choice to
minimize the probability that the system fails within a month by replacing
of lambda 1/2 or 1/3 respectively. This simulation is a good way to mimic the
actual lifetime of the system so that it can be studied efficiently and effectively.
Methodology
The lifetime of the system connected in parallel will function until both
Exponential
distribution with different Lambda (λ). A Monte Carlo statistical simulation was
conducted using SAS software version 9.4. A SAS code was written to generate
three sets of 1000 lifetime of the system before replacement and under the
The computed sample mean of the lifetime for the three conditions (Before
replaced) was executed using the SAS code provided in Appendix B. The result
equals 1/2 and 1/3 respectively, also the mean (0.747223) when component A
was replaced and the mean of (1.102382) when component B was replaced
since our assumption is to select the better choice to maximize the system
lifetime between replacing component A or B. Therefore, replacing component
The Appendix B SAS code computes the mean of the 1000 total number
replaced, and when component B was replaced). The results of the summary
statistics result were formatted based on need and given as Table1 below:
that the system lifetime fails within a month when a replacement is done in
stored dataset when the replaced components fail in less than a month and
shows that 409 failure was recorded when component B was replaced and
(# of 1000)
A replaced
B replaced
Lastly, consider maximizing the 10th percentile of the system lifetimes for the
figure 2 for the 1000 system lifetimes quartiles when components A and B are
replaced respectively.
Figure 1: The Percentile distribution of System Lifetime when component A
was replaced.
Figure 2: The Percentile distribution of System Lifetime when component B
was replaced.
Figure 1 shows that the 10th percentile of when component A was replaced is
the 10th percentile of the system lifetime, therefore the best choice is
(19%).
Appendix A.
data lifetime;
do i = 1 to 1000;
a0= rand('exponential', 1); /*inital*/
b0= rand('exponential', 1/2); /*Initial*/
a1 = rand('exponential', 1/2); /*relacing from 1 to 1/2 */
b1 = rand('exponential', 1/3); /*relacing from 1 to 1/3 */
system_lifetime = max(a0, b0); /*initial lifetime of system before
replacement*/
replacedA_lifetime = max(a1, b0); /*lifetime of system when A is
replaced*/
replacedB_lifetime = max(a0, b1); /*lifetime of system when B is
replaced*/
output;
keep system_lifetime replacedA_lifetime replacedB_lifetime;
end;
run;
Appendix B.
Appendix C.
Appendix D.
Navidi, W. (2015). Statistics for engineers & scientist, 4th ed. McGraw-Hill Education.