\documentclass{article}

\begin{document}

\[ Y = \bar{X} \]

\end{document}
