-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in rcpp_mSpline with Cox model #1143
Comments
Thanks. Will investigate. |
Hi Paul, can you give me a rough idea when you're likely to look at this? I am planning a project and if a fix is a few months off, then I'll consider another approach. Thank you again. |
@paul-buerkner I can start digging into it this afternoon and let you know what I find |
thank you!
Andrew Johnson ***@***.***> schrieb am Fr., 7. Mai 2021,
02:38:
… @paul-buerkner <https://github.com/paul-buerkner> I can start digging
into it this afternoon and let you know what I find
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCW2AG3K6B2YRY2CFE6GRLTMMZAHANCNFSM43EYGA4A>
.
|
So the problem is that the brms-set default boundary knots don't match the automatically chosen internal knots by Fortunately, you have full control over the knots and boundary knots via the library(brms)
dt<-data.frame(y=c(rep(10,100),3,5,7), c=c(rep(1,100),0,0,0))
bhaz <- list(Boundary.knots = c(0, 150))
brm(y | cens(c) ~ 1, data = dt, family = brmsfamily("cox", bhaz = bhaz)) where |
I think the error occurs if the variation in the response @andrjohns thank you for offering you help on this. I appreciate it a lot. I had scheduled checking out some brms bugs anyway and was reminded by this issue, so I jumped right into it before other TODOs take over again. |
Thanks Paul! That explanation makes sense to me. I will watch out for the commits and test when ready. |
should be fixed now. :-) |
I get an error when setting up a Cox model, apparently in setting up the spline baseline hazard, e.g.
Thanks for your help and thank you for brms!
The text was updated successfully, but these errors were encountered: