View source: R/fittingFunctions.R
multinomialConfidenceIntervals | R Documentation |
Return estimated transition matrix assuming a Multinomial Distribution
multinomialConfidenceIntervals(
transitionMatrix,
countsTransitionMatrix,
confidencelevel = 0.95
)
transitionMatrix |
An estimated transition matrix. |
countsTransitionMatrix |
Empirical (conts) transition matrix, on which the |
confidencelevel |
confidence interval level. |
Two matrices containing the confidence intervals.
Constructing two-sided simultaneous confidence intervals for multinomial proportions for small counts in a large number of cells. Journal of Statistical Software 5(6) (2000)
markovchainFit
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.