JohansenRankTest.selected_rank#
- JohansenRankTest.selected_rank(*, alpha=0.05, statistic='trace')[source]#
First rank the sequence fails to reject.
- Parameters:
- Return type:
- Returns:
The chosen rank, or
k_endogif every null is rejected, which is the finding that the system is stationary in levels and does not want a vector error-correction representation at all.- Raises:
SpecificationError – If the level or the statistic is unrecognized.