octree
ToolsTemplatesSymbols
Get Started
octree

Free LaTeX tools and templates for everyone.

Menu

  • Learn
  • About
  • Templates
  • Tools
  • Symbols

Learn

  • Learn LaTeX
  • Learn TikZ
  • Learn PGFPlots
  • View all tutorials →

Tools

  • Image to LaTeX
  • Excel to LaTeX
  • TikZ Generator
  • Image to TikZ
  • LaTeX Preview
  • Markdown to LaTeX
  • Citation Generator
  • AI LaTeX Generator
  • View all tools →

Templates

  • Research Paper
  • PhD Thesis
  • Beamer Presentation
  • Academic CV
  • Cover Letter
  • Lab Report
  • NeurIPS 2026
  • ICML 2026
  • View all 71 templates →

Symbols

  • Greek Letters
  • Math Operators
  • Arrows
  • Relations
  • Set Theory
  • Calculus
  • Logic
  • Linear Algebra
  • Browse all 37 categories →

Open Source

  • Octree Editor
  • Tools & Templates
  • Marketing & Blogs
  • View all repositories →

Socials

  • Instagram
  • LinkedIn
  • TikTok
  • X
  • Reddit
  • Discord

© 2026 Octree. All rights reserved.

Back to Symbols

Probability & Statistics

Probability, expectation, variance, and distributions.

Probability and statistics symbols in LaTeX

Probability notation starts with the probability operator. LaTeX ships \Pr, which typesets an upright “Pr” with operator spacing, while most papers use blackboard bold \mathbb{P} for probability and \mathbb{E} for expectation, as in \mathbb{E}[X]. Conditional probability uses the vertical bar \mid, which gets the right spacing where a plain | does not: P(A \mid B). A random variable’s distribution is written with \sim, for example X \sim \mathcal{N}(\mu, \sigma^2), and \propto says a density is proportional to something.

Variance and covariance are not built in, so write them as operators: \operatorname{Var}(X) and \operatorname{Cov}(X, Y) from amsmath, or declare them once in the preamble with \DeclareMathOperator{\Var}{Var}. The parameters themselves are Greek letters: \mu, \sigma, \rho, \lambda and \theta, with estimates marked by \hat{\theta} and sample means by \bar{x}. Binomial coefficients come from amsmath’s \binom{n}{k}, chi-squared is \chi^2, and independence is usually \perp or the double symbol \perp\!\!\!\perp.

Load \usepackage{amsmath, amssymb} for \mathbb, \operatorname and \binom. For the full alphabet see our guide to Greek letters and math symbols and the page on math functions and operators.

Loading...