Description Usage Arguments Value Examples
Test if samples are behaving like an iid sample from a given CDF via the KS test and a sequential approach. Only works for continuous CDFs. Will report a warning if values are discrete
| 1 | expect_mc_iid_ks(object, cdf, control = NULL)
 | 
| object | A function taking one argument - that generates n univariate iid samples. | 
| cdf | A univariate cumulative distribution function, taking exactly one argument. | 
| control | a list controlling the algorithm 
 | 
The first argument, invisibly, to allow chaining of expectations.
| 1 2 |    sampler <- function(n) rnorm(n)
   expect_mc_iid_ks(sampler, pnorm)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.