Detailed introduction and examples of the ARMA model