run_test_stat: Calculate the run test statistic for a single binary chain.

Description Usage Arguments

Description

run_test_stat takes an integer vector bin_chain of a chain of binary data, and a integer p representing the length of run to test for. It returns the run test stat for that chain of data.

Usage

1
run_test_stat(bin_chain, p)

Arguments

bin_chain

A binary chain of data in the form of an integer vector.

p

An integer greater than one representing the length of run to test for.


cwcartmell/maRkov documentation built on May 14, 2019, 1:37 p.m.