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

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

View source: R/1_functions4Fitting.R

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)


markovchain documentation built on May 23, 2017, 9:07 a.m.
Search within the markovchain package
Search all R packages, documentation and source code

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

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

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