Check if dist is properly specified for use with sim.q, exact.q
list of two numeric vectors
Several functions deal with computing a probability
P(X_1 X_2 \cdots X_n > t),
where X_1,…,X_n are non-negative discrete random variables. The function
exact.q computes this probability by explicitly evaluating the sum, while
sim.q estimates the probability using importance sampling. An exact approach that can handle relatively large problems is the use of
dist.pair.cdf. All functions require the distributions of the X_i's to be specified as a list with of two numeric vectors
x denotes the outcomes and
fx the probabilities. The outcomes should be non-negative. Only the first outcome can be 0 and only the last outcome can be Inf. The current function checks whether the distribution is properly specified.
list the supplied
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.