Author: Zhang, Lulu
Title: A Bayesian comparison in Stan and NIMBLE by trimmed mean regression
Advisors: Jiang, Binyan (AMA)
Liu, Catherine (AMA)
Degree: M.Phil.
Year: 2021
Subject: Bayesian statistical decision theory
Computer science -- Mathematics
Hong Kong Polytechnic University -- Dissertations
Department: Department of Applied Mathematics
Pages: viii, 83 pages : color illustrations
Language: English
Abstract: The Bayesian statistical paradigm has successful applications across various research fields, including medicine, machine learning, artificial intelligence, and more. Motivated by the arising impact of Bayesian computing, the thesis compares two contemporary Bayesian specialized computational tools, Stan and NIMBLE. Both have remained under active development, although they are enjoying the merit of freeing the practitioners and analysts from complicated statistical posterior inference by automating the construction of samplers. The comparison between Stan and NIMBLE is focused on the samplers. Their performances are illustrated by the implementation of weakly informative and informative Bayesian estimation under the trimmed mean regression model by numerical studies, respectively. The informative estimation requires a resampling scheme. We replace Stan with R in comparison since resampling is problematic in Stan. We assess performance of Bayesian inference in both parameter estimation and MCMC diagnostics, for the comparison among Stan, NIMBLE, and R program. We conclude that, both Bayesian computing tools can automate posterior approximation accurately and conveniently compared with pure R programming by parameters hand-tuning plus mathematical derivation. RStan is efficient in parallel computing but needs contrivance tackling discrete parameters owning to Hamiltonian Monte Carlo sampling. NIMBLE aims to serving users who are accustomed to R software but less efficient.
Rights: All rights reserved
Access: open access

Files in This Item:
File Description SizeFormat 
5906.pdfFor All Users12.57 MBAdobe PDFView/Open


Copyright Undertaking

As a bona fide Library user, I declare that:

  1. I will abide by the rules and legal ordinances governing copyright regarding the use of the Database.
  2. I will use the Database for the purpose of my research or private study only and not for circulation or further reproduction or any other purpose.
  3. I agree to indemnify and hold the University harmless from and against any loss, damage, cost, liability or expenses arising from copyright infringement or unauthorized usage.

By downloading any item(s) listed above, you acknowledge that you have read and understood the copyright undertaking as stated above, and agree to be bound by all of its terms.

Show full item record

Please use this identifier to cite or link to this item: https://theses.lib.polyu.edu.hk/handle/200/11415