https://denizakdemir.github.io/posts/portfolio-optimization/
Portfolio Optimization Using Mixed Models - Stats-IQ