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
#rstats #visualization #bayesian #stan #rstanarm #bayesfactors #bridgesampling