Skip to main content
Log in

Fast and locally adaptive Bayesian quantile smoothing using calibrated variational approximations

  • Original Paper
  • Published:
Statistics and Computing Aims and scope Submit manuscript

Abstract

Quantiles are useful characteristics of random variables that can provide substantial information on distributions compared with commonly used summary statistics such as means. In this study, we propose a Bayesian quantile trend filtering method to estimate the non-stationary trend of quantiles. We introduce general shrinkage priors to induce locally adaptive Bayesian inference on trends and mixture representation of the asymmetric Laplace likelihood. To quickly compute the posterior distribution, we develop calibrated mean-field variational approximations to guarantee that the frequentist coverage of credible intervals obtained from the approximated posterior is a specified nominal level. Simulation and empirical studies show that the proposed algorithm is computationally much more efficient than the Gibbs sampler and tends to provide stable inference results, especially for high/low quantiles.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

References

  • Balke, N.S.: Detecting level shifts in time series. J. Bus. Econ. Stat. 11(1), 81–92 (1993)

    Google Scholar 

  • Blei, D.M., Kucukelbir, A., McAuliffe, J.D.: Variational inference: a review for statisticians. J. Am. Stat. Assoc. 112(518), 859–877 (2017)

    Article  MathSciNet  Google Scholar 

  • Brantley, H.L., Guinness, J., Chi, E.C.: Baseline drift estimation for air quality data using quantile trend filtering. Ann. Appl. Stat. 14(2), 585–604 (2020)

    Article  MathSciNet  Google Scholar 

  • Carvalho, C.M., Polson, N.G., Scott, J.G.: The horseshoe estimator for sparse signals. Biometrika 97(2), 465–480 (2010)

    Article  MathSciNet  Google Scholar 

  • Cobb, G.W.: The problem of the Nile: conditional solution to a changepoint problem. Biometrika 65(2), 243–251 (1978)

    Article  MathSciNet  Google Scholar 

  • Efron, B.: The Jackknife, the Bootstrap and Other Resampling Plans. SIAM (1982)

  • Eilers, P.H., De Menezes, R.X.: Quantile smoothing of array CGH data. Bioinformatics 21(7), 1146–1153 (2005)

    Article  Google Scholar 

  • Faulkner, J.R., Minin, V.N.: Locally adaptive smoothing with Markov random fields and shrinkage priors. Bayesian Anal. 13(1), 225 (2018)

    Article  MathSciNet  Google Scholar 

  • Faulkner, J.R., Magee, A.F., Shapiro, B., et al.: Horseshoe-based Bayesian nonparametric estimation of effective population size trajectories. Biometrics 76(3), 677–690 (2020)

    Article  MathSciNet  Google Scholar 

  • Heng, Q., Zhou, H., Chi, E.C.: Bayesian trend filtering via proximal Markov chain Monte Carlo (2022). arXiv preprint arXiv:2201.00092

  • Kim, S.J., Koh, K., Boyd, S., et al.: \(\ell _1\) trend filtering. SIAM Rev. 51(2), 339–360 (2009)

    Article  MathSciNet  Google Scholar 

  • Kowal, D.R., Matteson, D.S., Ruppert, D.: Dynamic shrinkage processes. J. Roy. Stat. Soc. Ser. B (Stat. Methodol.) 81(4), 781–804 (2019)

    Article  MathSciNet  Google Scholar 

  • Kozumi, H., Kobayashi, G.: Gibbs sampling methods for Bayesian quantile regression. J. Stat. Comput. Simul. 81(11), 1565–1578 (2011)

    Article  MathSciNet  Google Scholar 

  • Makalic, E., Schmidt, D.F.: A simple sampler for the horseshoe estimator. IEEE Signal Process. Lett. 23(1), 179–182 (2015)

    Article  Google Scholar 

  • Nychka, D., Furrer, R., Paige, J., et al.: Fields: tools for spatial data. R package version 9.6 (2017)

  • Nychka, D., Gray, G., Haaland, P., et al.: A nonparametric regression approach to syringe grading for quality improvement. J. Am. Stat. Assoc. 90(432), 1171–1178 (1995)

    Article  Google Scholar 

  • Oh, H.S., Nychka, D., Brown, T., et al.: Period analysis of variable stars by robust smoothing. J. Roy. Stat. Soc.: Ser. C (Appl. Stat.) 53(1), 15–30 (2004)

  • Park, T., Casella, G.: The Bayesian lasso. J. Am. Stat. Assoc. 103(482), 681–686 (2008)

    Article  MathSciNet  Google Scholar 

  • Politsch, C.A., Cisewski-Kehe, J., Croft, R.A., et al.: Trend filtering-I. a modern statistical tool for time-domain astronomy and astronomical spectroscopy. Mon. Not. R. Astron. Soc. 492(3), 4005–4018 (2020)

  • Ramdas, A., Tibshirani, R.J.: Fast and flexible ADMM algorithms for trend filtering. J. Comput. Graph. Stat. 25(3), 839–858 (2016)

    Article  MathSciNet  Google Scholar 

  • Roualdes, E.A.: Bayesian trend filtering (2015). arXiv preprint arXiv:1505.07710

  • Rue, H., Held, L.: Gaussian Markov Random Fields: Theory and Applications. CRC Press, Boca Raton (2005)

    Book  Google Scholar 

  • Sriram, K.: A sandwich likelihood correction for Bayesian quantile regression based on the misspecified asymmetric Laplace density. Stat. Probab. Lett. 107, 18–26 (2015)

    Article  MathSciNet  Google Scholar 

  • Sriram, K., Ramamoorthi, R., Ghosh, P.: Posterior consistency of Bayesian quantile regression based on the misspecified asymmetric Laplace density. Bayesian Anal. 8(2), 479–504 (2013)

    Article  MathSciNet  Google Scholar 

  • Syring, N., Martin, R.: Calibrating general posterior credible regions. Biometrika 106(2), 479–486 (2019)

    Article  MathSciNet  Google Scholar 

  • Tibshirani, R.J.: Adaptive piecewise polynomial estimation via trend filtering. Ann. Stat. 42(1), 285–323 (2014)

    Article  MathSciNet  Google Scholar 

  • Tibshirani, R.J., Taylor, J.: The solution path of the generalized lasso. Ann. Stat. 39(3), 1335–1371 (2011)

    Article  MathSciNet  Google Scholar 

  • Tran, M.N., Nguyen, T.N., Dao, V.H.: A practical tutorial on variational bayes (2021). arXiv preprint arXiv:2103.01327

  • Wakayama, T., Sugasawa, S.: Trend filtering for functional data. Stat 12(1), e590 (2023)

    Article  MathSciNet  Google Scholar 

  • Wakayama, T., Sugasawa, S.: Functional horseshoe smoothing for functional trend estimation. Stat. Sin. 34, 3 (2024)

    Google Scholar 

  • Wand, M.P., Ormerod, J.T., Padoan, S.A., et al.: Mean field variational bayes for elaborate distributions. Bayesian Anal. 6(4), 847–900 (2011)

    Article  MathSciNet  Google Scholar 

  • Wang, Y.X., Sharpnack, J., Smola, A., et al.: Trend filtering on graphs. In: Artificial Intelligence and Statistics, pp 1042–1050. PMLR (2015)

  • Yamada, H.: Trend extraction from economic time series with missing observations by generalized Hodrick–Prescott filters. Economet. Theor. 38(3), 419–453 (2022)

    Article  MathSciNet  Google Scholar 

  • Yan, Y., Kottas, A.: A new family of error distributions for Bayesian quantile regression (2017). arXiv preprint arXiv:1701.05666

  • Yu, K., Moyeed, R.A.: Bayesian quantile regression. Stat. Probab. Lett. 54(4), 437–447 (2001)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the Associate Editor and a reviewer for their valuable comments and suggestions to improve the quality of this article. This work was supported by the JST, the establishment of university fellowships towards the creation of science technology innovation, grant number JPMJFS2129. This work was partially supported by the Japan Society for Promotion of Science (KAKENHI), grant numbers 21K13835 and 21H00699.

Author information

Authors and Affiliations

Authors

Contributions

All authors wrote the main manuscript text.

Corresponding author

Correspondence to Takahiro Onizuka.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary file 1 (pdf 1529 KB)

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Onizuka, T., Hashimoto, S. & Sugasawa, S. Fast and locally adaptive Bayesian quantile smoothing using calibrated variational approximations. Stat Comput 34, 15 (2024). https://doi.org/10.1007/s11222-023-10327-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11222-023-10327-y

Keywords

Navigation