Choosing a linear model to take into account multiple observations from the same individuals I’m looking at how temperature varies across age. Can you help me to choose the most appropriate linear model to this analysis?
I’ve got multiple measures from 1 individual per age (13 in total), and in two cases only (11yo and 15yo) I've got 2 pieces of data from 2 individuals. This's an example of how my dataset looks like:
  temperature  id   age  
1      20       A     15
2      22       A     15 
3      21       D     15
4      20       B     10
5      19       B     10
6      19       C     9

I could calculate the mean and use a univariate test but what if I want to take into account the multiple observations per individual?

A mixed model is not indicated here, because you have only 3 individuals, so we would be asking the software to estimate a variance for a normally distributed variable (since random effects are assumed to be normally distributed) from only 3 observations of it.
A more appropriate model would be:
temperature ~ age + id

This will take account of the multiple measures within id
Edit: Gordon is right - see comment below - this approach will not work. id and age are collinear so you can't put them in the same model and instead you will need to take the average temperature for each id
