Skip to content

Methods · Multilevel models · Longitudinal mixed models

Broken-Stick Model for Irregular Longitudinal Data

The broken-stick model describes each subject's trajectory as straight lines joined at a fixed set of break ages. A linear mixed model with linear B-spline (hat) functions at the breaks and correlated random coefficients is fitted by restricted maximum likelihood, so every subject gets a predicted value at every break age even when measured at irregular times.

꺾은막대 모형은 각 대상의 궤적을 정해 둔 꺾는 시점에서 이어지는 직선들로 나타냅니다. 꺾는 시점마다 선형 B-스플라인 기저와 상관된 무선 계수를 둔 선형 혼합모형을 제한최대우도로 적합하므로, 측정 시점이 불규칙해도 모든 대상이 모든 꺾는 시점에서 예측값을 얻습니다.

Children were weighed at irregular ages; what are each child's predicted weights at 0, 3, 6, 9 and 12 months?

아이들의 체중을 불규칙한 나이에 쟀을 때, 각 아이의 0, 3, 6, 9, 12개월 예측 체중은 얼마입니까?

The method returns the mean curve at the break ages with confidence intervals, the between-subject SD and correlation of the break values, the residual SD, the explained variance and a table of subject-specific predicted values at every break.

When to use Broken-Stick Model for Irregular Longitudinal Data

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A broken-stick model with breaks at [value] fitted [value] measurements of [value] children; it explained [value]% of the variance with a residual SD of [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • R cross-check. 17 reported values agree with R (lme4::lmer, splines::bs, lme4) within a tolerance of 1e-3; the largest observed difference is 2e-7.

    R 교차 검증. R(lme4::lmer, splines::bs, lme4) 대조: 보고 값 17개가 허용오차 1e-3 안에서 일치합니다(관측된 최대 차이 2e-7).

  • Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (19 values) agree with R (psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) within 1e-6. This covers the supporting tables, not the main estimates.

    보조 표 R 대조. R(psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 19개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Broken-Stick Model for Irregular Longitudinal Data on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a time variable and a unit (entity) ID
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Results cross-checked against R
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q51032 · Reviewed 2026-10-25