Chris Jackson

Results 61 comments of Chris Jackson
trafficstars

I'm not aware of any way of placing covariates on ancillary parameters in survreg, but it's not my package. Also I think the "location/scale" setup that survreg uses would be...

Thanks for the report. I'll clarify the documentation in help(hmm-dists). I agree it would be nice to support variables here, but I think some tricky "computing on the language" would...

It looks like the hazard is decreasing for a large portion of the follow-up, so the best fitting shape parameter is negative, and positive shape parameters give zero likelihood. I...

Could you use the estimates from the models that work to initialise the models that don't work? For example using the estimates from scale="hazard" to initialise models with scale="normal". It...

For semi-Markov models, in general, you can get any summary statistic via simulation (`sim.fmsm`). This is how I'd generally prefer to specify a flexible multistate model - I think it's...

You can include repeated observations from the same individual in `flexsurvreg`, just as you did by removing `id` when calling `aftreg`. This is still a valid model, but the limitation...

Thanks for the clarification. `flexsurvreg()` currently has no notion of subject IDs. If the data are supplied in counting process format (e.g. `Surv(start,stop,status)`) then it will use the corresponding covariate...

I'm having second thoughts about implementing this. The likelihood for time-dependent covariates would be easy enough to implement. But the question remains what to do about prediction. Simply estimating coefficients...

In each row of the dataset, flexsurv will use a cumulative hazard obtained by assuming the hazard is constant between time zero and `start`. Individual `id`s are ignored. As you...

Thanks for spotting, I think https://github.com/chjackson/flexsurv/commit/7978e4cfa5bdbef05616385356fb5df9f4bc2c66 fixes this?