crossrunemcont {crossrun} | R Documentation |
Continuation of an existing sequence of joint probabilities for crossings and longest run, based on the empirical median.
Description
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.
Usage
crossrunemcont(emstart, n1 = 61, nmax = 100, prec = 120, printn = FALSE)
Arguments
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. |
Value
nfi, number of sequences with m successes, starting with a success, and nfn, number of sequences with m successes, not starting with a success.
[Package crossrun version 0.1.1 Index]