Description Details Author(s) References See Also

Provides functions for estimating Bayesian quantile regression for ordinal models, calculating covariate effects, and computing measures for model comparison. Specifically, the package offers two estimation functions - one for an ordinal model with more than three outcomes. For each ordinal model, the package provides functions to calculate the covariate effect using the MCMC outputs. The package also computes marginal likelihood (recommended) and the Deviance Information Criterion (DIC) for comparing alternative quantile regression models. Besides, the package also contains functions for making trace plots of MCMC draws and other functions that aids the estimation or inference of quantile ordinal models.

*Package: bqror*

*Type: Package*

*Version: 1.2.0*

*License: GPL (>=2)*

Package **bqror** provides the following functions:

For an Ordinal Model with three outcomes:

`quantreg_or2`

, `drawlatent_or2`

,
`drawbeta_or2`

, `drawsigma_or2`

,
`drawnu_or2`

, `deviance_or2`

,
`qrnegLogLike_or2`

, `rndald`

,
`traceplot_or2`

, `infactor_or2`

,
`covariateEffect_or2`

,`logMargLikelihood_or2`

For an Ordinal Model with more than three outcomes:

`quantreg_or1`

, `qrminfundtheorem`

,
`qrnegLogLikensum_or1`

, `drawbeta_or1`

,
`draww_or1`

, `drawlatent_or1`

,
`drawdelta_or1`

, `deviance_or1`

,
`alcdfstd`

, `alcdf`

,
`traceplot_or1`

, `infactor_or1`

,
`covariateEffect_or1`

, `logMargLikelihood_or1`

Mohammad Arshad Rahman

Prajual Maheshwari <prajual1391@gmail.com>

Rahman, M. A. (2016). “Bayesian Quantile Regression for Ordinal Models.” Bayesian Analysis, 11(1): 1-24. DOI: 10.1214/15-BA939

Yu, K., and Moyeed, R. A. (2001). “Bayesian Quantile Regression.” Statistics and Probability Letters, 54(4): 437–447. DOI: 10.1016/S0167-7152(01)00124-9

Koenker, R., and Bassett, G. (1978).“Regression Quantiles.” Econometrica, 46(1): 33-50. DOI: 10.2307/1913643

Greenberg, E. (2012). “Introduction to Bayesian Econometrics.” Cambridge University Press. Cambridge, DOI: 10.1017/CBO9781139058414

rgig, mvrnorm, ginv, rtruncnorm, mvnpdf, rinvgamma, mldivide, rand, qnorm, rexp, rnorm, std, sd, acf, Reshape, setTkProgressBar, tkProgressBar, dinvgamma

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.