coef.bayesian.vam | R Documentation |
For bayesian.vam
object, compute a Bayesian estimate of the parameters. This estimate corresponds to the mean of the posterior distribution sampled with run.bayesian.vam
.
coef.bayesian.vam(obj,new.run=FALSE,...)
obj |
an object of class |
new.run |
an optional argument specifying if |
... |
some supplementary arguments for the |
A numeric vector of the estimates corresponding respectively to the parameters of time to failure distribution of the new unmaintained system, of the CM effect model and finally of the PM effect models (if defined and in the same order as they appear in the obj
formula).
R. Drouilhet et L. Doyen
bayesian.vam
to define the Bayesian object.
run.bayesian.vam
to compute the Bayesian method.
summary.bayesian.vam
to produce a result summary 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)
coef(bayesARAInf)
run(bayesARAInf,profile.alpha=TRUE)
coef(bayesARAInf)
coef(bayesARAInf,new.run=TRUE,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.