6

I'm trying to typeset an equation that contains the following:

\begin{align*}
\hat{\E[(R_{i}-\hat R_{i})^{2}]} 
\end{align*}

However, this is what I get

Bug?

Is this a bug? Is there any way around it? I'd like the "hat" to be over the whole expression, not just the expectation operator which I've defined as:

\newcommand{\E}{\mathbb{E}}
Red
  • 10,181
user2249626
  • 1,653

1 Answers1

3

You have to use

\widehat{\E[(R_{i}-\hat{R}_{i})^{2}]} 

or if you want a bigger hat see this question.

Red
  • 10,181