Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem when internal knots are used in survspline with clock="forward"/"age"/"time" #125

Open
caterinagregorio opened this issue Jul 17, 2024 · 1 comment

Comments

@caterinagregorio
Copy link

caterinagregorio commented Jul 17, 2024

Hello,

Every time I have a transition defined as follows with one or more internal knots and with the clock-forward time scale, the simulation gets stuck. It does not give an error but it keeps going and going.

params_surv(
coefs = coefs,
dist = "survspline",
aux = list(
knots = knots,
scale = "log_cumhazard",
timescale = "log"
))

The problem gets fixed either using a transition model on the clock reset time scale or by using a baseline with no internal knots. Do you have some ideas of what the problem may be or what I am doing wrong?

Best,
Caterina

@caterinagregorio caterinagregorio changed the title Problem when internal knots are used with clock="forward"/"age"/"time" Problem when internal knots are used in survspline with clock="forward"/"age"/"time" Jul 17, 2024
@mclements
Copy link
Collaborator

Caterina: did you construct the model params_surv object using create_params or by hand? If the former: do you get the same object if use create_params?

Note that it would be helpful if you could provide a minimal example -- otherwise this is a little theoretical:).

Kindly, Mark.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants