I want to write a simple single line equation of this kind: a = b + c = d + e + f. However, when I try to add the second identity ( = ), everything on its right side does not appear in the results. Following a piece of code here I used the &= for either the second identity or both the first and the second. Still I am doing something wrong.
Here follows the code I am trying to use
\begin{equation}
\hat{{\varphi}_{it} (i_{it}, k_{it})} &= \hat{y_{it}} - \hat{{\beta}_{l}} l_{it} - \hat{{\vartheta}_{1}} X_{it} - \hat{{\vartheta}_{2}} Z_{it} &= \hat{{delta_{0}} + \sum{\sum{{\delta}_{ij} k_{t}^{i} i_{t}^{j}}} - \hat{{\beta}_{l}}l_{it} - \hat{{\vartheta}_{1}} X_{it} - \hat{{\vartheta}_{2}} Z_{it}
\end{equation}
I get the 3 following error messages exactly, attributed to the line after the command \end{equation}:
Paragraph ended before \mathaccent\/ was complete
Missing $ inserted
Display math should end with $$

\documentclassand end with\end{document}. – bodo Feb 25 '14 at 11:55&(equation is not an alignment environment) – David Carlisle Feb 25 '14 at 12:04