This package implements Bayesian safety signal detection as proposed by Brock et al. (2023) using the Turing.jl framework.
Install this package with:
using Pkg
Pkg.add("SafetySignalDetection")
Please have a look at the Introduction vignette to get started.
Please have a look at the API documentation.
Testing the package:
julia> ] # Go to the package mode
(v1.10) pkg> activate .
(SafetySignalDetection) pkg> test
Local rendering of the documentation:
- Install
LiveServer
in your global environment. - Install your local package (
pkg> add /path/to/package
)
Afterwards each time:
(v1.10) pkg> activate docs # Backspace to come back to julia mode
julia> using SafetySignalDetection, LiveServer
julia> servedocs()
Then click on the local website link. When you modify the documentation, the server automatically recompiles the docs and updates the local website.
- Developing Julia Packages: https://julialang.org/contribute/developing_package/
- Examples for testing Turing models: https://github.com/TuringLang/Turing.jl/blob/master/test/mcmc/hmc.jl