• Home
  • CV
  • Notes
  • Vis 📊
Categories
All (24)
decision-making (1)
Misc (1)
misc (2)
Music (2)
Musings (1)
Psychophysics (1)
Statistics (8)
statistics (1)
vis (1)

Notes

🚧 (Mostly) Under construction 🚧

Creating custom distribution in PyMC

The old tutorial in the official documentation is meant for PyMC31. The latest version of PyMC uses a different way, but we will nevertheless use the Generalized Poisson…
2 min

Prior predictive checks

Checking my understanding of prior predictive checks and the Wiener process model

1 min

Paper Pairings

Misc

Papers that read well in pairs/groups (and why).

Mar 10, 2026
1 min

US National Park Visits

misc
vis
As part of 2025 International Love Data Week, I participated in the Northwestern Visualization Contest.
Jan 24, 2026
6 min

Bayesian and Frequentist A/B Testing

Statistics

Some notes on A/B Testing, the frequentist and Bayesian approaches, and their differences.

Jan 20, 2026
6 min

PDFs and CDFs of statistical distributions

Statistics
Playing with Observable JS to see how different parameters affect PDF and CDFs of interest.
Jan 16, 2026
4 min

Hierarchical modeling with PyMC and brms

To bridge the gap between R-based research and Python-based deployment, I compared an end-to-end Bayesian workflow using PyMC + ArviZ against the brms + tidybayes + ggplot2 s…
Dec 19, 2025
12 min

Plotting with PyMC and Arviz

This post is about trying to answer a simple question: to what extent does existing functionalities of pymc and arviz implement what can be done in tidybayes …?
Dec 18, 2025
2 min

Signal Detection Theory (with PyMC)

Reimplemented the analysis code of Old Wine in a New Bottle

Dec 17, 2025
1 min

(Bayesian) difference in differneces

Statistics

Some notes on difference in differences.

Dec 15, 2025
2 min

A Model by Many Names (and Notations and Formulae)

Statistics

A deep dive into the various mathematical notation systems and R packages for fitting multilevel hierarchical models

Dec 1, 2025
16 min

Poisson Disk Sampling

Some notes on Poisson disk sampling.

Nov 19, 2025
2 min

Tips and Tricks for Typst Formatting

The wrap-it package on typst1 allows one to wrap text around images. The syntax is usually something like
Nov 18, 2025
3 min

Notes on Drift Diffusion Models

statistics
decision-making

Some preliminary notes on the drift diffusion model.

Nov 5, 2025
10 min

Automatically update job application stages via Apps Script

misc
I used to manually key into a google sheets to keep track of the jobs that I applied to across companies. With the help of Apps Script life got a lot easier.
Oct 23, 2025
5 min

Drift Diffusion Models

Statistics

Notes related to drift diffusion models.

Oct 22, 2025
6 min

The ubiquity of exploration vs exploitation

Musings

Some musings.

Oct 17, 2025
1 min

Notes on color palettes

Some notes on color palettes

Oct 15, 2025
1 min

Skewed Generalized T Distribution and Skewed T Distribution

Statistics

Some notes on the skewed (generalized) T distribution.

Oct 14, 2025
8 min

On Creativity

Music

Notes related to definitions of creativity and measures of creativity, both human and AI.

Oct 14, 2025
2 min

Just Noticeable Difference

Psychophysics
Formally, Just Noticeable Difference (JND) can be defined as the magnitude of change in a stimulus necessary for it to be perceived as different from another stimulus, or as…
Oct 14, 2025
1 min

SDT, ROC and Calibration

Statistics
Suppose we want to perform binary classification on some data.
Oct 14, 2025
1 min

Simple Mixture Models with brms and stan

Statistics

Fitting mixture models using brms and stan, using the old faithful eruptaion data as an example.

Oct 13, 2025
5 min

Creating music with GM package

Music

Experimenting with the GM R package to create music.

Oct 6, 2025
1 min
No matching items

© 2024 Sheng Long

 

This website is built with , , Quarto, fontawesome, iconify.design, and faviconer.