feature/car
Open
@imadmali is already working on this.
Since Jul 17, 2017.
feature
- Dominant language
- R
- Stars
- 401
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
Starting an issue to track the feature/car branch which introduces the conditional autoregressive (CAR) class of spatial models into rstanarm.
Currently it looks like,
┌─── stan_besag.R ────┐
user ───────┤─── stan_bym.R ─────├──── stan_spatial.fit.R ──── spatial.stan
└─── stan_bym2.R ─────┘
stan_besag.Ris the intrinsic conditional autoregressive (ICAR) model (i.e. just a GMRF with a sum-to-zero constraint.)stan_bym.Ris a CAR model which involves a convolution between the GMRF and noise.
Stuff to implement for the models above,
- Stan model
- QR Decomposition
- Centering covariates
-
Optimize/VB - Print/Summary
- Methods
- Likelihoods (gauss/binom/pois/neg_binom/gamma)
- Priors
- Prior summary
- Stanreg
- Posterior predict and pp_check
- Loo
- Documentation
- Vignette(s)
- Tests
- All sparse matrix operations should use the Matrix package
- Drop INLA dependency (currently required to compute
scaling_factorinstan_bymwithINLA::inla.qinv)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.