bqror {bqror} | R Documentation |
Bayesian quantile regression for ordinal models
Description
Package provides functions for estimation and inference in Bayesian quantile regression with ordinal outcomes. An ordinal model with 3 or more outcomes (labeled OR1 model) is estimated by a combination of Gibbs sampling and Metropolis-Hastings (MH) algorithm. Whereas an ordinal model with exactly 3 outcomes (labeled OR2 model) is estimated using a Gibbs sampling algorithm. The summary output presents the posterior mean, posterior standard deviation, 95% credible intervals, and the inefficiency factors along with the two model comparison measures logarithm of marginal likelihood and the deviance information criterion (DIC). The package also provides functions for computing the covariate effects and other functions that aids either the estimation or inference in quantile ordinal models.
Details
Package: bqror
Type: Package
Version: 1.7.0
License: GPL (>=2)
Package bqror provides the following functions:
For an ordinal model with three or more outcomes:
quantregOR1
, covEffectOR1
,
logMargLikeOR1
, dicOR1
,
qrnegLogLikensumOR1
, ineffactorOR1
,
qrminfundtheorem
, drawbetaOR1
,
drawwOR1
, drawlatentOR1
,
drawdeltaOR1
, alcdfstd
,
alcdf
For an ordinal model with three outcomes:
quantregOR2
, covEffectOR2
,
logMargLikeOR2
, dicOR2
,
qrnegLogLikeOR2
, ineffactorOR2
,
drawlatentOR2
, drawbetaOR2
,
drawsigmaOR2
, drawnuOR2
,
rndald
Extractor Functions:
summary.bqrorOR1
, summary.bqrorOR2
Author(s)
Mohammad Arshad Rahman
Prajual Maheshwari <prajual1391@gmail.com>
References
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
See Also
rgig, mvrnorm, ginv, rtruncnorm, mvnpdf, rinvgamma, mldivide, rand, qnorm, rexp, rnorm, std, sd, acf, Reshape, progress_bar, dinvgamma, logLik