Page 1 of 1
Delta method for changing temporal scale of S

Posted:
Thu Feb 19, 2026 7:01 pm
by kquail
I have daily survival estimates from a nest survival model, and I would like to extrapolate these estimates to encompass the full incubation period for a few specific values of a continuous covariate. I see how to use the Delta method to calculate this by hand for a simple model with maybe two levels of a grouping factor, but it gets more complicated for models with more predictors. I understand that covariate.predictions uses the delta method, but I haven't found any clear examples of how to implement my formula S^23. I assume there is an easy way to do this that I just haven't discovered?
My apologies if this should have been added to an existing topic.
Re: Delta method for changing temporal scale of S

Posted:
Thu Feb 19, 2026 10:47 pm
by jlaake
If S is constant over time then calculation for variance is straightforward application of delta method. See deltamethod function in package. S can be a function of a time constant covariate but you just need to compute for each covariate value. If S varies by time then look at deltamethod.special in RMark. Use prod and provide a vector of 23 values of S and their vcv matrix which you can get from covariate.predictions.
Re: Delta method for changing temporal scale of S

Posted:
Fri Feb 20, 2026 12:15 pm
by kquail
Assuming you meant deltamethod in the msm package, that was exactly what I needed! Thanks!
Re: Delta method for changing temporal scale of S

Posted:
Fri Feb 20, 2026 2:19 pm
by jlaake
Yes. The deltamethod.special function uses delta method in MSM and just makes it easier to do for particular functions like sums and products.