multinomialConfidenceIntervals: A function to compute multinomial confidence intervals of...

Description Usage Arguments Value Author(s) References See Also Examples

Description

These functions return multinomial confidence intervals of the markovchain objects.

Usage

1
multinomialConfidenceIntervals(transitionMatrix, countsTransitionMatrix, confidencelevel)

Arguments

transitionMatrix

Transition matrix.

countsTransitionMatrix

Counts transition matrix.

confidencelevel

Confidence level.

Value

A list with two matrices

Author(s)

Tae Seung Kang, Giorgio Alfredo Spedicato

References

Feres, Matlab listing for markov chain.

See Also

markovchain

Examples

1
2
3
4
seq<-c("a", "b", "a", "a", "a", "a", "b", "a", "b", "a", "b", "a", "a", "b", "b", "b", "a")
mcfit<-markovchainFit(data=seq,byrow=TRUE)
seqmat<-createSequenceMatrix(seq)
multinomialConfidenceIntervals(mcfit$estimate@transitionMatrix, seqmat, 0.95)


Search within the markovchain package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.