get_b: The b parameter in the state-change Markov chain.

View source: R/auxiliary_functions.R

get_bR Documentation

The b parameter in the state-change Markov chain.

Description

The b parameter in the state-change Markov chain.

Usage

get_b(alpha, beta)

Arguments

alpha

a transition probability (between 0 and 1).

beta

a transition probability (between 0 and 1).

Details

If X_k is a two-state Markov chain with transition probabilities alpha and beta, then the state-changes Y_k = |X_k - X_k-1| also form a two-state Markov chain with transition probabiliti'es a and b.

Value

b transition probability.


maxbiostat/BinaryMarkovChains documentation built on Dec. 11, 2023, 4:29 a.m.