uniform spacings
[This article was first published on R – Xi'an's Og, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
A riddle on uniform spacings!, namely when considering eight iid Uniform (0,1) variates as visiting times and three further iid Uniform (0,1) variates as server availability times, with unit service time, the question being the probability a server is available for a ninth visiting time, T⁹. Which can be decomposed into four cases:
- at least one server becomes available between the previous visiting time and T⁹
- at least two servers become available between the penultimate visiting time and the previous visiting time
- two servers become available between the antepenultimate visiting time and penultimate visiting time and one server becomes available between the penultimate visiting time and the previous visiting time
- three servers become available between the antepenultimate visiting time and the penultimate visiting time
with respective probabilities (using Devroye’s Theorem 2.1)
1/4, 8 9!3!/12!, 7 8!3!/12!, 7 8!3!/12!,
resulting in a total probability of 0.2934, compatible with a simulation assessment.
To leave a comment for the author, please follow the link and comment on their blog: R – Xi'an's Og.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.