Description Usage Arguments Value Examples
Computes the shortest interval [IntervalInf ; IntervalSup ] that satisfies : P(PhaseMin_chain =< IntervalInf < IntervalSup =< PhaseMax_chain | M) = level.
1 2 | PhaseTimeRange(PhaseMin_chain, PhaseMax_chain, level = 0.95,
max_decimal = 2)
|
PhaseMin_chain |
numeric vector containing the output of the MCMC algorithm for the minimum of the dates included in the phase |
PhaseMax_chain |
numeric vector containing the output of the MCMC algorithm for the maximum of the dates included in the phase |
level |
probability corresponding to the desired level of confidence |
max_decimal |
maximum number of decimal |
A vector of values containing the desired level of confidence and the endpoints of the shortest time range associated with this desired level.
1 2 3 | data(Phases); attach(Phases)
PhaseTimeRange(Phase.1.alpha, Phase.1.beta, 0.95)
PhaseTimeRange(Phase.2.alpha, Phase.2.beta, 0.95, 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.