Posts by Category

data science

Time series with varying intercepts

10 minute read

I’ve done time-series data with time-to-event models and would like to explore modeling with mixed effects models. I’ll take an interative approach, in the s...

Follow-up after getting causal estimates

1 minute read

Notes for Chapter 5 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Longitudinal Survey Designs

7 minute read

Notes for Chapter 4 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Cross-Sectional Survey Designs

7 minute read

Notes for Chapter 3 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Experimental Survey Designs

3 minute read

Notes for Chapter 2 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha.

Cause and effect

6 minute read

I’m basically a fan-boy of Richard McElreath’s Statistical Rethinking. That’s no secret. But I thought it would be prudent to learn more about causal inferen...

LKJCorr and LKJCov in pymc

9 minute read

While continuing to deep dive on covariance priors following my prior post, I investigated implementations in pymc. I played around with the LKJcorr and LKJc...

Escaping the Devil’s Funnel

7 minute read

Multi-level models are great for improving our estimates. However, the intuitive way these kinds of models are specified (which goes by the unhelpful name “c...

Correlated data, different DAGs

5 minute read

One of the lessons from Statistical Rethinking that really hit home for me was the importance of considering the data generation process. Different datasets ...

Running models forwards and backwards

7 minute read

The value of simulations is highighted by Dr. McElreath throughout his textbook and by van de Schoot and colleagues. I didn’t entirely appreciate its value u...

Exploring modeling failure

20 minute read

In my last post, I gave an example of a multilevel model using a binomial generalized linear model (GLM). The varying intercept model helped illustrate pa...

Multilevel modeling with binomial GLM

14 minute read

I’ve been on a journey learning multilevel models and Bayesian inference through Richard McElreath’s Statistical Rethinking book. The concepts of shrinkage a...

PyMC linear regression part 1: PyMC objects

12 minute read

I previously wrote about my discovery of Statistical Rethinking. The book’s title could not be more spot-on–it’s helped me look at statistics in a different ...

Bayes-ball part 2: a more realistic prior

8 minute read

I meant to post this some time ago, but I have been busy. But with the baseball example I am using, it is only fitting that I post this now, just after this ...

Histograms and recursion in SQL

10 minute read

A few weeks ago, while making a histogram in a SQL query, I discovered that some solutions out there do not include bins with 0 counts. This bugged me so I f...

F-in statistics!

9 minute read

I recently read this passage in the section on multiple linear regression from the fantastic book Introduction to Statistical Learning:

PostgreSQL and Jupyter notebooks

1 minute read

PostgreSQL is one of the most popular variants of SQL. It is common to use PostgreSQL with pgadmin but I am not a big fan of their UI. By contrast, interacti...

Iterators in Python

3 minute read

One of the things about Python that I haven’t fully appreciated are the use of iterators. I’ll go over some iterators that are a part of base Python and then...

Heads or tails?

5 minute read

Seems like every statistics class starts off with a coin toss. It’s simple enough for me. Some fancy teachers might start right off the bat and get into the ...

Back to Top ↑

statistics

Time series with varying intercepts

10 minute read

I’ve done time-series data with time-to-event models and would like to explore modeling with mixed effects models. I’ll take an interative approach, in the s...

Follow-up after getting causal estimates

1 minute read

Notes for Chapter 5 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Longitudinal Survey Designs

7 minute read

Notes for Chapter 4 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Cross-Sectional Survey Designs

7 minute read

Notes for Chapter 3 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha. I’m using this series of posts to take some notes.

Experimental Survey Designs

3 minute read

Notes for Chapter 2 of Causal Inference with Survey Data on LinkedIn Learning, given by Franz Buscha.

Cause and effect

6 minute read

I’m basically a fan-boy of Richard McElreath’s Statistical Rethinking. That’s no secret. But I thought it would be prudent to learn more about causal inferen...

LKJCorr and LKJCov in pymc

9 minute read

While continuing to deep dive on covariance priors following my prior post, I investigated implementations in pymc. I played around with the LKJcorr and LKJc...

Escaping the Devil’s Funnel

7 minute read

Multi-level models are great for improving our estimates. However, the intuitive way these kinds of models are specified (which goes by the unhelpful name “c...

Correlated data, different DAGs

5 minute read

One of the lessons from Statistical Rethinking that really hit home for me was the importance of considering the data generation process. Different datasets ...

Running models forwards and backwards

7 minute read

The value of simulations is highighted by Dr. McElreath throughout his textbook and by van de Schoot and colleagues. I didn’t entirely appreciate its value u...

Exploring modeling failure

20 minute read

In my last post, I gave an example of a multilevel model using a binomial generalized linear model (GLM). The varying intercept model helped illustrate pa...

Multilevel modeling with binomial GLM

14 minute read

I’ve been on a journey learning multilevel models and Bayesian inference through Richard McElreath’s Statistical Rethinking book. The concepts of shrinkage a...

PyMC linear regression part 1: PyMC objects

12 minute read

I previously wrote about my discovery of Statistical Rethinking. The book’s title could not be more spot-on–it’s helped me look at statistics in a different ...

Bayes-ball part 2: a more realistic prior

8 minute read

I meant to post this some time ago, but I have been busy. But with the baseball example I am using, it is only fitting that I post this now, just after this ...

F-in statistics!

9 minute read

I recently read this passage in the section on multiple linear regression from the fantastic book Introduction to Statistical Learning:

Heads or tails?

5 minute read

Seems like every statistics class starts off with a coin toss. It’s simple enough for me. Some fancy teachers might start right off the bat and get into the ...

Back to Top ↑

SQL

Histograms and recursion in SQL

10 minute read

A few weeks ago, while making a histogram in a SQL query, I discovered that some solutions out there do not include bins with 0 counts. This bugged me so I f...

PostgreSQL and Jupyter notebooks

1 minute read

PostgreSQL is one of the most popular variants of SQL. It is common to use PostgreSQL with pgadmin but I am not a big fan of their UI. By contrast, interacti...

Back to Top ↑

education

Improving my writing

6 minute read

Introduction I have identified writing well as a skill I will prioritize. This improved skill will benefit both smaller forms I have taken for granted (like...

Back to Top ↑

coding

Vectorization with np.dot and broadcasting

4 minute read

Vectorization and broadcasting are tricks I have used sparingly and absent-mindedly if at all. However, it is a critical skill for algorithmic code to run ef...

Iterators in Python

3 minute read

One of the things about Python that I haven’t fully appreciated are the use of iterators. I’ll go over some iterators that are a part of base Python and then...

Back to Top ↑

neuroscience

Back to Top ↑

linear algebra

Vectorization with np.dot and broadcasting

4 minute read

Vectorization and broadcasting are tricks I have used sparingly and absent-mindedly if at all. However, it is a critical skill for algorithmic code to run ef...

Back to Top ↑