crossrunemcont | R Documentation |
Continuation of an existing sequence of the number of crossings C and the longest run L in a sequence of n independent continuous observations classified as above or below the empirical median. To enhance precision, results are stored in mpfr arrays and the probabilities are multiplied by choose(n,m)/2 where m=n/2, even n assumed. The probabilities are integers in this representation.
crossrunemcont(emstart, n1 = 61, nmax = 100, prec = 120, printn = FALSE)
emstart |
existing sequence |
n1 |
sequence length for the first new case addedc |
nmax |
max sequence length. |
prec |
mpft precision. |
printn |
logical for including progress output. |
nfi, number of sequences with m successes, starting with a success, and nfn, number of sequences with m successes, not starting with a success.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.