Shapley Value in LaTeX (\phi_i(v))
- LaTeX command
\phi_i(v)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Shapley value: player i's fair share of v(N), its average marginal contribution over all orderings.
The formula is \phi_i(v) = \sum_{S \subseteq N \setminus \{i\}} \frac{|S|!\,(n-|S|-1)!}{n!}\,(v(S \cup \{i\}) - v(S)). It is the unique allocation satisfying efficiency, symmetry, the null player property and additivity. Machine learning uses it for feature attribution, as in SHAP. Choose between \phi and \varphi deliberately; they look quite different. Inside the set difference, escape braces as \{i\} so they print. Exact computation sums over all 2^{n-1} coalitions per player, so sampling approximations are common in practice. In a symmetric game every player receives v(N)/n.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Shapley Value: $\phi_i(v)$
\[ \sum_{i \in N} \phi_i(v) = v(N) \]
\end{document}Related symbols
- Subgame Perfect
SPE - Cooperative Value
v(S) - Information Set
h - Zero Sum
u_1 + u_2 = 0 - Action
a_i - Minimax
\min_j \max_i
Frequently asked questions
- How do I write Shapley Value in LaTeX?
- Type \phi_i(v) in math mode, for example $\sum_{i \in N} \phi_i(v) = v(N)$. It works in plain LaTeX without loading any package.
- Which package do I need for \phi_i(v)?
- None. \phi_i(v) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \phi_i(v) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\phi_i(v)$ in running text.
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen