summary.Brq: Summarize the output of the 'Brq' function

Description Usage Arguments Author(s) References Examples

View source: R/summary.Brq.R

Description

summary.Brq is an S3 method that summarizes the output of the Brq function in an object of class summary.Brq. This function produces the Bayesian estimates and credible intervals for the regression coefficients.

Usage

1
2
## S3 method for class 'Brq'
summary(object, ...)

Arguments

object

an object of class Brq.

...

not used.

Author(s)

Rahim Alhamzawi

References

[1] Alhamzawi, R. (2018). Brq: An R package for Bayesian Quantile Regression. Working paper.

Examples

1
2
3
4
# Example 

fit = Brq(stack.loss~stack.x,tau=0.5, method= "Bqr", runs=5000, burn=1000)
summary(fit)

Example output

Call:
Brq.formula(formula = stack.loss ~ stack.x, tau = 0.5, method = "Bqr", 
    runs = 5000, burn = 1000)

tau:[1] 0.5

                     Estimate  L.CredIntv  U.CredIntv
Intercept         -38.5563867 -55.9930634 -20.6178372
stack.xAir.Flow     0.8390369   0.5814870   1.0963182
stack.xWater.Temp   0.7438899   0.1680269   1.4857854
stack.xAcid.Conc.  -0.1204948  -0.3787620   0.1148497

Brq documentation built on July 1, 2020, 7:07 p.m.

Related to summary.Brq in Brq...