Box-Cox linear mixed model
Estimates the power transformation of a positive outcome by profile likelihood in a random-intercept model.
Box–Cox 선형 혼합모형 — 무선절편 모형에서 양수 결과의 거듭제곱 변환 λ를 프로파일 우도로 추정합니다.
Runs Hierarchical Linear Modeling (HLM) with: boxcox set to “on”.
기본 방법(Hierarchical Linear Modeling (HLM))에 다음 설정을 고정해 실행합니다: boxcox = on.
My clustered outcome is positive and skewed; which power transformation makes a random-intercept model fit best?
군집 구조가 있는 양수이면서 치우친 결과에서, 무선절편 모형이 가장 잘 맞는 거듭제곱 변환은 무엇인가요?
The Box–Cox power λ is estimated by profile maximum likelihood in a random-intercept model, with a 95% profile interval and a likelihood ratio test of λ = 1 (Gurka et al. 2006), and the fixed effects are reported on the transformed scale. Behind it is Hierarchical Linear Modeling (HLM) with boxcox = true already set; checks and report are the same as for Hierarchical Linear Modeling (HLM).
When to use Box-Cox linear mixed model
- The outcome is strictly positive and the residuals are skewed.
- You want a data-based choice between no transformation, the log and other powers.
When to use something else
- The model has random slopes or the outcome includes zeros or negative values; this option covers positive outcomes in random-intercept models only.
- You want to try other settings side by side; open Hierarchical Linear Modeling (HLM) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable, a cluster ID and predictor (feature) columns.
Assumptions and requirements
The same as for Hierarchical Linear Modeling (HLM):
- Normally distributed residuals at each level
- Random effects independent of predictors
- Correctly specified fixed and random effects
- Enough clusters to estimate between-cluster variance
What the analysis reports
The output of Hierarchical Linear Modeling (HLM), with the preset shown in the settings:
- Fixed-effect coefficients with standard errors
- Variance components
- Intraclass correlation coefficient (ICC)
- AIC and BIC (REML and ML) and likelihood-ratio tests: all fixed effects, the random intercept (boundary-corrected), and a random slope when specified
How this is validated
검증 근거
This variant runs the same engine as Hierarchical Linear Modeling (HLM) with the settings above fixed, so the evidence is that method’s: results cross-checked against r. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Hierarchical Linear Modeling (HLM)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Hierarchical Linear Modeling (HLM)
- Mixed model Type III F tests (between-within df)
- Mixed model Type III F tests (residual df)
- Mixed model with empirical (sandwich) SEs
- Random-effect predictions (BLUPs)
- Variance component Wald Z and confidence limits
- Mixed model AICC, CAIC and HQIC
- Mixed model influence diagnostics
- Mixed model LS-means
- Mixed model contrasts and estimates
- Mixed model with fixed variance components
- Linear mixed model with multiple random slopes
- Three-level random-intercept model
- Mixed model with independent random-effects covariance
- Mixed model with exchangeable random-effects covariance
- Mixed model with identity random-effects covariance
- Random-intercept model with AR(1) residuals
- Mixed model with Satterthwaite degrees of freedom
- Mixed model with Kenward-Roger degrees of freedom
- Intraclass correlation with confidence interval
- Model-implied within-cluster correlation matrix
- Mixed model with factor-analytic random-effect covariance
- Mixed model with AR(1) random-effect covariance
- Mixed model with group-specific residual variances (varIdent)
- Mixed model with power variance function (varPower)
- Mixed model with exponential variance function (varExp)
- Mixed model with CR2 cluster-robust SE and Satterthwaite df
- Conditional AIC for mixed models
- Exact restricted LRT for a zero variance component
- Partial R-squared for fixed effects (R2 beta)
- Slope-variance ICC (ICC beta)
- Prior-regularised (MAP) mixed model
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable, a cluster ID and predictor (feature) columns
- Price
- Same as Hierarchical Linear Modeling (HLM): 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
- Results cross-checked against R, as recorded for Hierarchical Linear Modeling (HLM) (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.