summary.ordinalbayes {ordinalbayes}R Documentation

Summarize an Ordinal Bayes Object.

Description

Summarize an Ordinal Bayes Object.

Usage

## S3 method for class 'ordinalbayes'
summary(object, epsilon = 0.1, ...)

Arguments

object

A fitted ordinalbayes object.

epsilon

a small positive value that is close to 0 for testing an interval null hypothesis for the beta parameters.

...

other arguments.

Value

alphamatrix

The MCMC output for the threshold parameters.

betamatrix

The MCMC output for the penalized parameters.

zetamatrix

The MCMC output for the unpenalized parameters (if included).

gammamatrix

The MCMC output for the variable inclusion parameters (not available for lasso).

gammamean

The posterior mean of the variable inclusion indicators (not available for lasso)for the variable inclusion indicators (not available for lasso).

gamma.BayesFactor

Bayes factor for the variable inclusion indicators (not available for lasso).

Beta.BayesFactor

Bayes factor for the penalized parameters where the interval null is tested using epsilon.

lambdamatrix

The MCMC output for the penalty parameter (not available for normalss).

See Also

ordinalbayes, print.ordinalbayes, coef.ordinalbayes, predict.ordinalbayes

Examples


data("cesc")
fit<-ordinalbayes(Stage~1, data=cesc, x=cesc[,5:45],
         model="regressvi", gamma.ind="fixed", pi.fixed=0.99,
         adaptSteps=1000, burnInSteps=1000, nChains=2,
         numSavedSteps=2000, thinSteps=2, seed=26)
summary.fit<-summary(fit)
names(summary.fit)
names(which(summary.fit$Beta.BayesFactor>5))
names(which(summary.fit$gamma.BayesFactor>5))


[Package ordinalbayes version 0.1.1 Index]