Abstract
Repeated social interactions with conspecifics and/or heterospecifics during early development may drive the differentiation of behavior among individuals. Competition is a major form of social interaction and its impacts can depend on whether interactions occur between conspecifics or heterospecifics and the directionality of a response could be specific to the ecological context that they are measured in. To test this, we reared tungara frog tadpoles (Engystomops pustulosus) either in isolation, with a conspecific tadpole or with an aggressive heterospecific tadpole, the whistling frog tadpole (Leptodactylus fuscus). In each treatment, we measured the body size and distance focal E. pustulosus tadpoles swam in familiar, novel and predator risk contexts six times during development. We used univariate and multivariate hierarchical mixed effect models to investigate the effect of treatment on mean behavior, variance among and within individuals, behavioral repeatability and covariance among individuals in their behavior between contexts. There was a strong effect of competition on behavior, with different population and individual level responses across social treatments. Within a familiar context, the variance in the distance swam within individuals decreased under conspecific competition but heterospecific competition caused more variance in the average distance swam among individuals. Behavioral responses were also context specific as conspecific competition caused an increase in the distance swam within individuals in novel and predator risk contexts. The results highlight that the impact of competition on among and within individual variance in behavior is dependent on both competitor species identity and context.