#bridgesampling

2023-08-24

Was going through old repositories; found this nice document on estimating treatment effect of a medicine for a single patient with seizures #rstats :rstats:

It goes from simple to complex:
- #Visualization & summary statistics
- Poisson regression (glm) with a treatment dummy
- Penalized poisson regression to deal with 0s
- Correcting for autocorrelation
- #Bayesian Poisson model with #stan #rstanarm
- Correcting for autocorrelation and #BayesFactors #bridgesampling

github.com/vankesteren/single_

Plot with on the x axis the number of days and on the y axis the number of seizures, with one point per day,

There is a line with an uncertainty ribbon which summarizes the model, showing that seizures are more common in some periods than in other periods.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst