Bayesian nested random-effects model
Hierarchical model with random intercepts for groups and for subgroups nested within them.
베이즈 내포 무선효과 모형 — 집단과 그 안에 내포된 하위 집단에 무선절편을 두는 계층 모형입니다.
Runs Bayesian Hierarchical Model with: nested set to “on”.
기본 방법(Bayesian Hierarchical Model)에 다음 설정을 고정해 실행합니다: nested = on.
Pupils are in classes within schools; how do I fit a Bayesian model with random effects at both levels?
학생이 학교 안의 학급에 속할 때, 두 수준 모두에 무선효과를 둔 베이즈 모형은 어떻게 적합하나요?
Random intercepts are fitted for groups and for subgroups nested within them, so variation is split between the two levels. Behind it is Bayesian Hierarchical Model with nested = true already set and extra_groups supplied by you; checks and report are the same as for Bayesian Hierarchical Model.
When to use Bayesian nested random-effects model
- The design has nested groups, such as classes in schools.
- You want variance components at both levels.
When to use something else
- The factors are crossed rather than nested; the crossed model is the right structure.
- You want to try other settings side by side; open Bayesian Hierarchical Model and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable, a grouping variable and predictor (feature) columns.
- extra groups
Assumptions and requirements
The same as for Bayesian Hierarchical Model:
- Group intercepts are exchangeable and normally distributed.
- Observations are independent within groups given the group effect.
- The outcome family (Gaussian, logistic or Poisson) fits the data.
- Sampler diagnostics show convergence and no divergences.
What the analysis reports
The output of Bayesian Hierarchical Model, with the preset shown in the settings:
- Posterior mean and credible interval of τ (and σ and ICC for Gaussian outcomes)
- Fixed-effect coefficients on the original scale
- Group effects with credible intervals and shrunken group means
- R-hat, effective sample size and divergence count
How this is validated
검증 근거
This variant runs the same engine as Bayesian Hierarchical Model with the settings above fixed, so the evidence is that method’s: automated run tests; no external reference comparison yet. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Bayesian Hierarchical Model와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Bayesian Hierarchical Model
- Bayesian Hierarchical Poisson Model
- Bayesian Hierarchical Model for Continuous Outcomes
- Bayesian Hierarchical Model with Half-Cauchy Prior
- Bayesian negative binomial GLMM
- Bayesian geometric GLMM
- Bayesian gamma GLMM
- Bayesian inverse Gaussian GLMM
- Bayesian exponential GLMM
- Bayesian probit random-intercept model
- Bayesian complementary log-log random-intercept model
- Bayesian crossed random-effects model
- Posterior predictive p-values
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable, a grouping variable and predictor (feature) columns
- Price
- Same as Bayesian Hierarchical Model: 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Automated run tests; no external reference comparison yet, as recorded for Bayesian Hierarchical Model (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.