Skip to content

Instantly share code, notes, and snippets.

View joonro's full-sized avatar

Joon Ro joonro

View GitHub Profile
@joonro
joonro / b_gibbs_lm.md
Last active August 1, 2024 16:45 — forked from jtrive84/b_gibbs_lm.md
Gibbs Sampling for Bayesian Linear Regression

Gibbs Sampling for Bayesian Linear Regression

MCMC methods can be used to estimate linear regression models. In what follows, we derive the distributional forms and algorithms associated with two Gibbs sampling approaches: the full conditionals approach and the composition method.

The dataset is available here and represents refrigerator price as a function of available features. Our objective is to estimate PRICE as a function of ECOST, FSIZE, SHELVES and FEATURES, where:

  • PRICE: Response, cost of refrigerator.
@joonro
joonro / 0_reuse_code.js
Created November 27, 2013 05:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console