InflGame.kernels (InflGame.kernels)#
Module contents#
kernels (InflGame.kernels)#
Pre-made influence kernels from the paper including Gaussian, Multi-variate Gaussian, Dirichlet, and Matt Jones’ kernel.
Dirichlet Influence Kernel#
Mathematical Definitions:#
The Dirichlet influence kernel is defined as:
- where:
\(\alpha\) is the vector of parameters for the Dirichlet distribution, defined by the param function.
\(b\) is the bin point.
\(\beta(\alpha)\) is the beta function.
Gaussian Influence Kernel#
Mathematical Definitions:#
The Gaussian influence kernel is defined as:
- where:
\(x_i\) is the position of agent \(i\)
\(b\) is the bin point
\(\sigma_i\) is the parameter for agent \(i\)
Jones Influence Kernel#
This influence kernel is from the work of Mathew Jones et al in their paper “Polarization, abstention, and the median voter theorem” (paper).
Mathematical Definitions:#
The Jones influence kernel is defined as:
- where:
\(x_i\) is the position of agent \(i\)
\(b\) is the bin point
\(P_i\) is the parameter for agent \(i\)
Multi Variate Gaussian Influence Kernel#
Mathematical Definitions:#
The multivariate Gaussian influence kernel is defined as:
- where:
\(x_i\) is the position of agent \(i\)
\(b\) is the bin point
\(\Sigma_i\) is the covariance matrix for agent \(i\)
Beta Influence Kernel#
Mathematical Definitions:#
The Beta influence kernel is parameterized by mode (m) and concentration (phi):
- where:
\(x_i\) is the position (mode) of agent \(i\)
\(b\) is the bin point
\(\alpha = x_i(\phi - 2) + 1\)
\(\beta = (1 - x_i)(\phi - 2) + 1\)
\(\phi\) is the concentration parameter for agent \(i\) (must be > 2)
\(B(\alpha, \beta)\) is the Beta function