Closed smishr closed 1 year ago
All the tests from GLM.jl
should be adopted here for CRRao.jl
.
Models | Completion |
---|---|
Linear Regression | 100% |
Logistic Regression | 100% |
Poisson Regression | 100% |
NegBinom Regression | 100% |
Models | Gauss Prior | Ridge Prior | Laplace Prior | T Prior | Cauchy Prior |
---|---|---|---|---|---|
Linear Regression | |||||
Logistic Regression | |||||
Poisson Regression | |||||
NegBinom Regression |
The purpose of Bayesian MCMC-based inference is to simulate from the posterior distribution.
Suppose we want to simulate from linear regression with Gaussian prior.
1) We implement the model in stan and simulate 10000 samples using rstan
or pystan
, and save it as csv file
2) We implement the same model in Turing and simulate 10000 sample using CRRao and Turing.
3) Run Kolmogorov-Smirnov test between CRRao sample and rstan. If the test fail to reject - that means CRRao is doing correct job
@ajaynshah @mousum-github