Publications by Brian Callander

BDA3 Chapter 14 Exercise 3

09.02.2019

BDA3 Chapter 14 Exercise 3 Posted on 10 February, 2019 by Brian Tags: bda chapter 14, solutions, quadratic form, qr decomposition Category: bda3 Here’s my solution to exercise 3, chapter 14, of Gelman’s Bayesian Data Analysis (BDA), 3rd edition. There are solutions to some of the exercises on the book’s webpage. \(\Decla...

2366 sym

CIS Primer Question 1.5.2

09.02.2019

CIS Primer Question 1.5.2 Posted on 10 February, 2019 by Brian Tags: CISP chapter 1, solutions, simpson's reversal, product decomposition Category: causal_inference_in_statistics_primer Here are my solutions to question 1.5.2 of Causal Inference in Statistics: a Primer (CISP). I’ll use different indexing to make the notation...

3960 sym R (1644 sym/7 pcs) 4 tbl

CIS Primer Question 3.2.1

09.02.2019

CIS Primer Question 3.2.1 Posted on 10 February, 2019 by Brian Tags: CISP chapter 3, solutions, ace, risk difference, simpson's reversal Category: causal_inference_in_statistics_primer Here are my solutions to question 3.2.1 of Causal Inference in Statistics: a Primer (CISP). Here are the parameters we’ll use. Note that they...

2073 sym R (1951 sym/7 pcs) 4 tbl

CIS Primer Question 3.3.3

13.02.2019

CIS Primer Question 3.3.3 Posted on 14 February, 2019 by Brian Tags: CISP chapter 3, solutions, backdoor criteria Category: causal_inference_in_statistics_primer Here are my solutions to question 3.3.3 of Causal Inference in Statistics: a Primer (CISP). \(\DeclareMathOperator{\do}{do}\) The drug you have been assigned determin...

1551 sym 2 img

CIS Primer Question 3.3.2

13.02.2019

CIS Primer Question 3.3.2 Posted on 14 February, 2019 by Brian Tags: CISP chapter 3, solutions, lord's paradox, simpson's paradox Category: causal_inference_in_statistics_primer Here are my solutions to question 3.3.2 of Causal Inference in Statistics: a Primer (CISP). Part a The following DAG is a possible casual graph repres...

1435 sym 2 img

CIS Primer Question 3.3.1

13.02.2019

CIS Primer Question 3.3.1 Posted on 14 February, 2019 by Brian Tags: CISP chapter 3, solutions, backdoor criteria Category: causal_inference_in_statistics_primer Here are my solutions to question 3.3.1 of Causal Inference in Statistics: a Primer (CISP). Part a and b For the causal effect of \(X\) on \(Y\), every backdoor path ...

2166 sym

CIS Primer Question 3.4.1

14.02.2019

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 Inference in Statistics: a Primer (CISP). \(\DeclareMathOperator{\do}{do}\) If we can only ...

2652 sym R (2291 sym/7 pcs) 5 tbl

BDA3 Chapter 1 Exercise 3

30.03.2019

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 Analysis (BDA), 3rd edition. There are solutions to some of the exercises on the book’s webpage. \(\DeclareMathOperator...

12709 sym R (2512 sym/11 pcs) 7 tbl

Pareto-NBD Customer Lifetime Value

05.04.2019

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 more frequenty, some less. There are a few things you might like to know about these customers, such as w...

10260 sym R (3291 sym/9 pcs) 4 img 5 tbl

BDA3 Chapter 1 Exercise 9

12.04.2019

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 Data Analysis (BDA), 3rd edition. There are solutions to some of the exercises on the book’s webpage. \(\DeclareMathOpera...

3860 sym R (2396 sym/4 pcs) 2 tbl