Hello,
I'm currently looking at ageing in survival and I want to compare the fit of several relationships between age and survival.
When looking at an age model (all age classes treated independently), the common pattern appears, with a slight increase of survival until a threshold followed by a decline.
I've fitted a quadratic model and different single-threshold models with slope before of after the threshold.
However, I'm not able to fit a model with different slopes (and intercept) around an age threshold (a roof-shape model, or broken stick as you like).
I've tried the following:
[i + a(2_9)*x(3)] + [i + a(10_17)*x(5)] (a(1) being fitted apart)
but it provides results not different from
[i + a(2_9)*x(3) + a(10_17)*x(5)]
that is to say, a single intercept is forced for the two slopes and I end up with two increasing slopes. While the second one should be clearly negative.
I cannot manage to get a beta for an additional intercept or (better actually) to force the intercept of the second slope to be equal to a(9).
Many thanks
ah ! just one more question: is it possible yet to fit non-linear functions, such as a logistic between survival and any given external covariates?
Alex