This post shows how to use rjags R package to estimate Nelson-Siegel yield curve model based using a Bayesian MCMC in a compact way.
R, Python, Financial Econometrics, Term Structure, Macro-Finance, Machine & Deep Learning
Showing posts with label Bayesian. Show all posts
Showing posts with label Bayesian. Show all posts
Bayesian Estimation by using rjags R Package
This post shows how to use rjags R package to perform Bayesian MCMC estimation. As an example, we just select a multiple linear regression but rjags can handle lots of highly non-linear models so that it can be extended to various modelings including hierarchical models.
Bayesian Linear Regression with Gibbs Sampling using R code
Sang-Heon Lee
This article explains how to estimate parameters of the linear regression model using the Bayesian inference. Our focus centers on user-friendly intuitive understanding of Bayesian estimation. From some radical point of view, we regard the Bayesian model as the average of multiple models generated with slightly different parameter set. We derive posterior distributions of parameters and perform estimation and simulation via Gibbs sampling using R code.
Subscribe to:
Posts (Atom)