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

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

However, this is what I get


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:


You have to use


or if you want a bigger hat see this question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.