Comments (2)
Hi Francesco
Yeah sorry I imagine it wasn't implemented as a bit of an oversight more than anything. Because I developed stan_jm
as part of a Phd in joint modelling, stan_jm
was treated as somewhat of a first class citizen, whilst stan_mvmer
was more of a building block for stan_jm
and so probably didn't get implemented as comprehensively.
I'm a bit too long out of these details to remember exactly what limitations there might or might not be, but I think you are right in the sense that you should be able to take the fitted model, and then some newly observed data for a new individual, and draw some random effects for the new individual, and predict conditional on those. In terms of implementation, the only suggestion I'd have would be to fork the repo and try to implement it on your own. Sorry! And I'm not sure how easy or realistic that is... e.g. I think you'd have to look at this code and see if you need to modify to draw new random effects conditional only on the longitudinal data and not anything to do with the survival submodel. It might actually be that it doesn't require conditioning on the survival endpoint itself, in which case it might not be too hard to modify. But sorry my head has been too long out of those details to really provide much useful context without diving back into the code...
from rstanarm.
Hi Sam,
Thanks a lot for the very detailed reply. And no need to apologize, I think all packages I have seen (JMBayes, JoineREML) only focus on the joint model case, so I must be the one making weird requests ;)
Thanks also for the lead on where to look in the codes. Unfortunately, I do not have much time atm... but if I ever have the time to try what you suggest, I will update this post.
from rstanarm.
Related Issues (20)
- posterior_predict() fails with newdata in version 2.21.4 for stan_glmer model objects
- Installation failure for `feature/survival`
- `stan_surv` exits with an error because of changes in `||` (R≥4.3) HOT 2
- Reminder to fix version numbers in Makevars files HOT 2
- Installation error HOT 7
- Question on "_NEW_"
- Current CRAN failures and potential removal HOT 3
- help to run stan_surv in rstanarm HOT 2
- Error: One-dimensional unit vector is discrete HOT 2
- Inconsistency of linear predictor values (numerical instability?)
- rstanarm does not support all link functions supported by glm{er}
- Unable to install Rstanarm for Docker Image
- Failure in test suite HOT 1
- `posterior_linpred()` for `stan_gamm4()` errors with 'Matrix' v1.6-4 HOT 9
- Some pp_check plotfuns give an error indicating a bug
- Compilation of 'rstanarm' survival extension failed HOT 7
- I can't install rstanarm from Github
- Segfault from C stack overflow for mips64el and risc64 architectures HOT 14
- Failing to link on Windows with RTools44 HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rstanarm.