I think the first input of Ljung-Box test in SuanShu should be the residuals of an ARMA model. In SuanShu, how do we get the residuals of an ARMA model? I can’t find a corresponding class to do it in SuanShu Javadoc. Can anyone help me? Thank you.