psborrow2
psborrow2 copied to clipboard
psborrow2: Bayesian Dynamic Borrowing Simulation Study and Analysis
Proof of concept for an implementation of piecewise constant (exponential) hazard. Had to do some messy things in `make_model_string_parameters.R`, so that needs some thinking ```r # Non Bayesian piecewise model...
1. Linking #' Please use one of `borrowing_hierarchical_commensurate()`, `borrowing_none()`, or `borrowing_full()` instead. #' Please use one of [borrowing_hierarchical_commensurate()], [borrowing_none()], or [borrowing_full()] instead. 2. Back-ticks #' @return data.frame with simulation results....
Hi, I have a few thoughts about improving the vignette [data_simulation.Rmd](https://github.com/Genentech/psborrow2/blob/main/vignettes/data_simulation.Rmd) file for your consideration. - [ ] add some texts to explain how to convert median survival time to...
eg tests requiring `flexsurv` or `vdiffr` should probably skip if those are not available
Let's publish psborrow2 in [J. Open Source Software](joss.theoj.org)
While I still like the overall approach of our string interpolation by classes (`Outcome`, `Borrowing`, `Treatment`, `Covariate`), I think `Outcome` and `Borrowing` are much more related than we had anticipated...
- [ ] PEM - [ ] power prior - [ ] remove JAGs dependency - [ ] list all models
@mattsecrest Please have a look at the overall idea :) This code creates a borrowing type for case weights. If any weights were specified in the outcome object they will...