I'd like to add superscript on summation symbol, but I get an error message:
Please, use `\mathaccent` for accents in math mode. I can't use ^ symbol to add superscript.
Here is the code:
\begin{equation}
y & = \beta_{0}+\sumˆ{2}_{j=1}\beta_{j}X_{j}+\sum\sum_{i<j}\beta_{ij}X_{i}X{j}+\sum_{j=1}\beta_{jj}X_{j}\textsuperscript{2}
\label{equation1}
\end{equation}
\textsuperscript
is not valid in math mode. And the&
is out of place.\sideset
command fromamsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally viatexdoc amsldoc
at a command prompt.