Of course! Last year I wanted to answer the question โwhen can I retire based on my stack size?โ So I developed this interactive notebook.
The +40% CAGR is based on a lookback period of 4 years of price data. The model attempts to fit the erratic price movement to a log scale by finding the line that captures the middle 80% of data points.
All the math is explained and/or linked to in the notebook: