NMixChainsDerived {mixAK} | R Documentation |
Create MCMC chains derived from previously sampled values
Description
Currently, this function creates chains for marginal means
of exp(data) from previously sampled values (see NMixMCMC
).
This is useful in survival context when a density
of Y=\log(T)
is modelled using the function
NMixMCMC
and we are interested in inference
on \mbox{E}T = \mbox{E}\exp(Y)
.
Usage
NMixChainsDerived(object)
Arguments
object |
an object of class |
Value
An object of the same class as argument object
. When
object
was of class NMixMCMC
, the resulting object
contains additionally the following components:
chains.derived |
a |
summ.expy.Mean |
posterior summary statistics for |
When object
was of the class NMixMCMClist
then each of
its components (chains) is augmented by new components
chains.derived
and summ.expy.Mean
.
Author(s)
Arnošt Komárek arnost.komarek@mff.cuni.cz