The LaTeX command for converges in probability is \xrightarrow{p}.
\xrightarrow{p}Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.
| Command | Package | Use it when |
|---|---|---|
\xrightarrow{p} recommended | amsmath | The arrow stretches to fit its label. |
\xrightarrow{\mathbb{P}} | amsmath, amssymb | With a blackboard-bold P, as in many probability texts. |
\overset{p}{\to} | amsmath | Label set over a fixed-length arrow. |
\stackrel{p}{\to} | none | Same idea with no package at all. |
Write \xrightarrow{p} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. This symbol needs the amsmath package, so add \usepackage{amsmath} to your preamble.
$X_n \xrightarrow{p} X$Open this example in the live preview: it renders as you type, with no compiler and no signup.
\mathbb{E}\mathbb{P}\operatorname{Var}\operatorname{Cov}\operatorname{Cor}\mathds{1}\mathcal{N}\mathrel{\perp\!\!\!\perp}\xrightarrow{d}\xrightarrow{a.s.}\overset{\text{iid}}{\sim}Statistics and probability symbols in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \xrightarrow{p} in math mode after adding \usepackage{amsmath} to your preamble. For example, $X_n \xrightarrow{p} X$.
It comes from the amsmath package: add \usepackage{amsmath} to your preamble.
Use \xrightarrow{d} for convergence in distribution and \xrightarrow{\text{a.s.}} for almost sure convergence (both need amsmath).