I fought with my LαTεX compiler this morning as it did not want to deal with my code: looking on forums for incompatibilities between beamer and algorithmic, and adding all kinds of packages, to no avail. Until I realised one \STATE was missing: (This is connected with my AMSI public lecture on simulation, obviously!) Filed 

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).