summary.bayesian.vam | R Documentation |
For bayesian.vam
object, produce a summary of the Bayesian estimation method corresponding to the posterior distribution sampled obtained with run.bayesian.vam
.
summary.bayesian.vam(obj,alpha=0.05,new.run=FALSE,digits=4,...)
obj |
an object of class |
alpha |
an optional argument specifying the level ( |
new.run |
an optional argument specifying if |
digits |
an optional argument specifying the number of significant digits to be printed for estimated characteristics. |
... |
some supplementary arguments for the |
The acceptation rate of the Metropolis Hasting step can be used to calibrate the standard deviation of the instrumental distribution (see the argument sigma.proposal
of the run.bayesian.vam
method).
Print a summary of the Bayesian method run.bayesian.vam
applied to the object obj
:
The initialization values of the Gibbs algorithm.
The Bayesian point estimates of the parameters, corresponding to the means of the sampled marginal posterior distributions.
A (1-alpha
) credibility interval for the parameters, corresponding to the alpha/2
and 1-alpha/2
quantiles of the marginal posterior distribution.
The number of accepted marginal simulated parameters values of the posterior distribution in the Metropolis Hasting step.
The acceptation rate of the Metropolis Hasting step.
The returned value is a data frame with in line the parameters and in column the previous detailed characteristics.
R. Drouilhet et L. Doyen
bayesian.vam
to define the Bayesian object.
run.bayesian.vam
to compute the Bayesian method.
coef.bayesian.vam
to extract the parameters estimation values of the Bayesian method.
hist.bayesian.vam
for plotting the histogram of the posterior distribution of the parameters.
plot.bayesian.vam
for plotting estimating characteristics of the model.
simARAInf<-sim.vam( ~ (ARAInf(.4) | Weibull(.001,2.5)))
simData<-simulate(simARAInf,30)
bayesARAInf <- bayesian.vam(Time & Type ~ (ARAInf(~Unif(0,1)) | Weibull(~Unif(0,1),~Unif(2,4))),data=simData)
summary(bayesARAInf)
run(bayesARAInf,profile.alpha=TRUE)
summary(bayesARAInf)
summary(bayesARAInf,par0=c(1e-2,2.5,0.5),fixed=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.