Hi everybody,
I have 2 variables which are measured continuously, "LOP" and "Age"
I would like to split the age into 5 year age bands.
Then, I would like to calculate the mean age and mean LOP within each age band.
(ie, I would like to know the mean age within each Age Band, and its corresponding mean LOP)
Then, I would like to plot each of these, with their corresponding standard errors, and then fit a line of best fit between these points.
I have absolutely no idea how to do this, and I am very lost. Any help from anybody would be extremely appreciated.
Thank you.
I have 2 variables which are measured continuously, "LOP" and "Age"
I would like to split the age into 5 year age bands.
Then, I would like to calculate the mean age and mean LOP within each age band.
(ie, I would like to know the mean age within each Age Band, and its corresponding mean LOP)
Then, I would like to plot each of these, with their corresponding standard errors, and then fit a line of best fit between these points.
I have absolutely no idea how to do this, and I am very lost. Any help from anybody would be extremely appreciated.
Thank you.
Comment