summary.bqrorOR2: Extractor function for summary

View source: R/ORII.R

summary.bqrorOR2R Documentation

Extractor function for summary

Description

This function extracts the summary from the bqrorOR2 object

Usage

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

Arguments

object

bqrorOR2 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("data25j3")
y <- data25j3$y
xMat <- data25j3$x
k <- dim(xMat)[2]
b0 <- array(rep(0, k), dim = c(k, 1))
B0 <- 10*diag(k)
n0 <- 5
d0 <- 8
output <- quantregOR2(y = y, x = xMat, b0, B0, n0, d0, gammacp2 = 3,
burn = 10, mcmc = 40, p = 0.25, accutoff = 0.5, FALSE)
summary(output, 4)

#            Post Mean Post Std Upper Credible Lower Credible Inef Factor
#    beta_1   -4.5185   0.9837        -3.1726        -6.2000     1.5686
#    beta_2    6.1825   0.9166         7.6179         4.8619     1.5240
#    beta_3    5.2984   0.9653         6.9954         4.1619     1.4807
#    sigma     1.0879   0.2073         1.5670         0.8436     2.4228


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