Statistical approaches for hidden variables in ecology. (2022)