summary.bqrorOR1: Extractor function for summary

View source: R/ORI.R

summary.bqrorOR1R Documentation

Extractor function for summary

Description

This function extracts the summary from the bqrorOR1 object

Usage

## S3 method for class 'bqrorOR1'
summary(object, digits, ...)

Arguments

object

bqrorOR1 object from which the summary is extracted.

digits

controls the number of digits after the decimal.

...

extra arguments

Details

This function is an extractor function for the summary

Value

the summarized information object

Examples

set.seed(101)
data("data25j4")
y <- data25j4$y
xMat <- data25j4$x
k <- dim(xMat)[2]
J <- dim(as.array(unique(y)))[1]
b0 <- array(rep(0, k), dim = c(k, 1))
B0 <- 10*diag(k)
d0 <- array(0, dim = c(J-2, 1))
D0 <- 0.25*diag(J - 2)
output <- quantregOR1(y = y, x = xMat, b0, B0, d0, D0,
burn = 10, mcmc = 40, p = 0.25, tune = 1, accutoff = 0.5, verbose = FALSE)
summary(output, 4)

 #            Post Mean  Post Std   Upper Credible Lower Credible Inef Factor
 # beta_1       -2.6202   0.3588        -2.0560        -3.3243       1.1008
 # beta_2        3.1670   0.5894         4.1713         2.1423       3.0024
 # beta_3        4.2800   0.9141         5.7142         2.8625       2.8534
 # delta_1       0.2188   0.4043         0.6541        -0.4384       3.6507
 # delta_2       0.4567   0.3055         0.7518        -0.2234       3.1784


bqror documentation built on May 31, 2023, 5:19 p.m.