Much scientific and statistical modeling invovles taking some specified mathematical formalism and implementing it computationally. The types of implementations included range from network formation models to algorithms for calculating efficient market equilibria.
Below are a few of the models I’ve created. Their source codes are available at my GitHub page .
Bounded Confidence Model of Opinion Dynamics
The Hegselmann-Krause bounded confidence model explores opinion dynamics within a population, where individuals adjust their opinions based on the weighted average of others whose opinions fall within a specified confidence level. This model captures the essence of how interactions between individuals, limited by a defined confidence threshold, lead to the emergence of consensus, polarization, or fragmentation in a social system over successive time steps.