The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

zinbcdpmm

Bayesian joint model for longitudinal zero-inflated negative binomial (ZINB) and ordinal outcomes with CDPMM random effects (Liang & Du).

贝叶斯联合模型:纵向零膨胀负二项 + 有序多分类,随机效应为中心化 Dirichlet 过程混合模型(CDPMM)。

Install / 安装

GitHub(当前):

# install.packages("remotes")
remotes::install_github("Liang-ShuQing/zinb-ordinal-cdpmm-code", subdir = "zinbcdpmm")

CRAN(包被接受后):

install.packages("zinbcdpmm")

Tiny example / 小例子

library(zinbcdpmm)
set.seed(1)
dat <- simulate_zinb_ordinal(n = 30, nis = 4, scenario = 2, re_dist = "normal")
fit <- fit_zinb_ordinal(dat, chain = 200, burn = 100, thin = 5, G = 4)
print(fit)
summary(fit)

Paper code / 论文代码仓库

Simulation and analysis scripts (this repository): https://github.com/Liang-ShuQing/zinb-ordinal-cdpmm-code

License

MIT © 2026 Shuqing Liang and Jiang Du

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.