The LaTeX command for independent is \mathrel{\perp\!\!\!\perp} (statistically independent).
\mathrel{\perp\!\!\!\perp}Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \mathrel{\perp\!\!\!\perp} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
Notation varies between fields: whichever form of \mathrel{\perp\!\!\!\perp} you choose, define it once with \newcommand and reuse it.
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}\xrightarrow{d}\xrightarrow{p}\xrightarrow{a.s.}\overset{\text{iid}}{\sim}Statistics and probability symbols in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \mathrel{\perp\!\!\!\perp} in math mode; it needs no extra package. For example, $\mathrel{\perp\!\!\!\perp}$.
None: \mathrel{\perp\!\!\!\perp} is built into LaTeX, so no extra package is required.