Life at the edge: achieving prediction from environmental variability and biological variability