Blog Archives

SR2 Chapter 3 Hard

April 4, 2020
By
SR2 Chapter 3 Hard

SR2 Chapter 3 Hard Posted on 5 April, 2020 by Brian Tags: statistical rethinking, solutions, grid approximation, posterior predictive check, posterior predictive distribution, map, binomial, hpdi Category: statistical-rethinking-2 Here’s my solutions to the...

Read more »

SR2 Chapter 3 Medium

April 4, 2020
By
SR2 Chapter 3 Medium

SR2 Chapter 3 Medium Posted on 5 April, 2020 by Brian Tags: statistical rethinking, solutions, grid approximation, posterior probability, posterior predictive probability, hpdi, binomial Category: statistical-rethinking-2 Here’s my solution to the medium exercises...

Read more »

SR2 Chapter 2 Hard

February 29, 2020
By

SR2 Chapter 2 Hard Posted on 1 March, 2020 by Brian Tags: statistical rethinking, solutions, conditional probability, counting, bayes rule, pandas Category: statistical-rethinking-2 Here’s my solution to the hard exercises in chapter...

Read more »

SR2 Chapter 2 Medium

February 28, 2020
By
SR2 Chapter 2 Medium

SR2 Chapter 2 Medium Posted on 29 February, 2020 by Brian Tags: statistical rethinking, solutions, conditional probability, counting, grid approximation Category: statistical-rethinking-2 Here’s my solutions to the medium exercises in chapter 2 of...

Read more »

Speeding up Bayesian sampling with map_rect

August 8, 2019
By
Speeding up Bayesian sampling with map_rect

Speeding up Bayesian sampling with map_rect Posted on 9 August, 2019 by Brian Tags: stan, map_rect, within-chain parallelisation, threading, ordinal regression Category: map_rect Fitting a full Bayesian model can be slow, especially with...

Read more »

Hierarchical Customer Lifetime Value

May 4, 2019
By
Hierarchical Customer Lifetime Value

Hierarchical Customer Lifetime Value Posted on 5 May, 2019 by Brian Tags: customer lifetime value, recency frequency, hierarchical model, centred parameterisation, non-centred parameterisation, prior-predictive distribution, stan, e-bfmi, energy Category: customer_lifetime_value In a previous post,...

Read more »

BDA3 Chapter 1 Exercise 9

April 12, 2019
By

BDA3 Chapter 1 Exercise 9 Posted on 13 April, 2019 by Brian Tags: bda chapter 1, solutions, simulation, poisson process Category: bda3 Here’s my solution to exercise 9, chapter 1, of Gelman’s Bayesian...

Read more »

Pareto-NBD Customer Lifetime Value

April 5, 2019
By
Pareto-NBD Customer Lifetime Value

Pareto-NBD Customer Lifetime Value Posted on 6 April, 2019 by Brian Tags: customer lifetime value, pareto-nbd, smc Category: customer_lifetime_value Suppose you have a bunch of customers who make repeat purchases - some...

Read more »

BDA3 Chapter 1 Exercise 3

March 30, 2019
By

BDA3 Chapter 1 Exercise 3 Posted on 31 March, 2019 by Brian Tags: bda chapter 1, solutions, hardy-weinberg principle Category: bda3 Here’s my solution to exercise 3, chapter 1, of Gelman’s Bayesian Data...

Read more »

CIS Primer Question 3.4.1

February 14, 2019
By

CIS Primer Question 3.4.1 Posted on 15 February, 2019 by Brian Tags: CISP chapter 3, solutions, front door criteria, front door adjustment Category: causal_inference_in_statistics_primer Here are my solutions to question 3.4.1 of Causal...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)