Description Usage Arguments Details Value References Examples

Bayesian quantile regression based on asymmetric-Laplace-type likelihood with posterior variance adjustment

1 2 |

`y` |
the observed response vector that is left censored at zero |

`x` |
the design matrix. If the first column of x is not all ones, a column of ones will be added. |

`tau` |
the quantile level of interest |

`niter` |
integer: number of iterations to run the chain for. Default 20000. |

`burn_in` |
integer: discard the first burn_in values. Default 100. |

`prop_cov` |
covariance matrix giving the covariance of the proposal distribution. This matrix need not be positive definite. If the covariance structure of the target distribution is known (approximately), it can be given here. If not given, the diagonal will be estimated via the Fisher information matrix. |

`level` |
nominal confidence level for the credible interval |

The function returns the unadjusted and adjusted posterior standard deviation, and unadjusted and adjusted credible intervals for Bayesian censored quantile regression based on asymmetric-Laplace-type working likelihood. The asymmetric-Laplace-type likelihood is based on the objective function of the Powell's estimator in Powell (1986).

A list of the following commponents is returned

estpar: posterior mean of the regression coefficient vector

PSD: posterior standard deviation without adjustment

PSD.adj: posterior standard deviation with adjustment

CI.BAL: credible interval without adjustment

CI.BAL.adj: credible interval with adjustment

sig: estimated scale parameter

MCMCsize: effective size of the chain

Powell, J. L. (1986). Censored regression quantiles. Journal of Econometrics, 32, 143-155.

Yang, Y., Wang, H. and He, X. (2015). Posterior inference in Bayesian quantile regression with asymmetric Laplace likelihood. International Statistical Review, 2015. doi: 10.1111/insr.12114.

1 2 3 4 5 6 7 8 9 10 11 12 |

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.