Statistical models for longitudinal analysis of single and mixed species infections