I need to generate data for failures according to the behavior of 3 other parameters (A, B, and C). For example: If A > 10, B > 10, and C > 10, the probability of a failure is 0.99. Otherwise, if A < 10, B > 10, and C > 10, the probability is 0.30. How to generate these failures knowing that they follow an exponential distribution?
I want to generate data for 100 periods, i.e., for each period I want to have information on whether or not there is a failure.
Any help will be appreciated.
Aucun commentaire:
Enregistrer un commentaire