I have system described by a statement like "The failure probability per week at 20 Celsius degree is 3.5%", how can I simulate such a system?
The simulation I have in mind should answer to questions like "how many failure will happen in 13 days?"
The simulation should for example produce table like the following one:
timestamp,number of failures at the timestamp 2015-01-16T07:00:00Z,0 2015-01-17T07:00:00Z,0 2015-01-18T07:00:00Z,0 2015-01-19T07:00:00Z,1 2015-01-20T07:00:00Z,1 2015-01-21T07:00:00Z,1 2015-01-22T07:00:00Z,2
I would like to simulate such a system in R, maybe using a Poisson distribution, but I have no idea on how to start, I think it should be something quite simple but maybe I really miss some basic background, may you suggest an example or a tutorial?