I need to use APA 6e referencing for Elsevier Journal, Here is the code, I don't know why I encounter errors. I'm not using \documentclass{apa6e}
as I need to retain format of Elsevier article.
\documentclass[preprint,12pt,authoryear]{elsarticle}
\usepackage[natbibapa]{apacite}
\journal{Expert Systems with Applications}
\begin{document}
\title{Recurrent neural network and a hybrid model for prediction of stock returns}
\bibliographystyle{apacite}
\bibliography{myrefers}
\end{document}
Best Answer
The errors are caused by the fact that
elsarticle
loads thenatbib
package unconditionally, and this is incompatible withapacite.sty
. A minimal document demonstrating this iswhich produces the same error
as in your situation.
A small example correctly using citations in
elsarticle
would be: