Bayesian truncated negative binomial regression
Bayesian NB2 regression for counts observed only inside given truncation limits.
베이즈 절단 음이항 회귀 — 주어진 절단 한계 안에서만 관측된 계수 자료를 위한 베이즈 NB2 음이항 회귀입니다.
Runs Bayesian Hurdle Count Regression with: truncated set to “on”; dist set to “negbin”.
기본 방법(Bayesian Hurdle Count Regression)에 다음 설정을 고정해 실행합니다: truncated = on; dist = negbin.
Hospital stays are recorded only for patients with at least one day and vary widely; how do I fit a Bayesian count model?
입원 일수가 1일 이상인 환자만 기록되고 편차가 큰데, 베이즈 계수 모형을 어떻게 적합하나요?
The NB2 likelihood is renormalised over the truncation limits, so overdispersion and truncation are handled together. Behind it is Bayesian Hurdle Count Regression with truncated = true, dist = negbin already set and lower, upper supplied by you; checks and report are the same as for Bayesian Hurdle Count Regression.
When to use Bayesian truncated negative binomial regression
- Counts are truncated at known limits and overdispersed.
- You want posterior summaries and credible intervals.
When to use something else
- Variance is close to the mean; the truncated Poisson is simpler.
- You want to try other settings side by side; open Bayesian Hurdle Count Regression and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
- lower
- upper
Assumptions and requirements
The same as for Bayesian Hurdle Count Regression:
- Independent observations
- Log-linear mean for positive counts and logit-linear probability of a positive count
- Truncated Poisson equidispersion, or the NB2 variance mu + alpha mu^2 when dist = negbin
What the analysis reports
The output of Bayesian Hurdle Count Regression, with the preset shown in the settings:
- Posterior summaries, odds ratios and rate ratios for each part
- Overdispersion alpha for the negative binomial version
- Probability of zero and expected count at the predictor means
- Dispersion check and MCMC diagnostics
How this is validated
검증 근거
This variant runs the same engine as Bayesian Hurdle Count Regression with the settings above fixed, so the evidence is that method’s: compared with independent computations. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Bayesian Hurdle Count Regression와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Bayesian Hurdle Count Regression
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Bayesian Hurdle Count Regression: 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations, as recorded for Bayesian Hurdle Count Regression (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.