Regression on Compositional Predictors (Pivot Coordinates) with Isotemporal Substitution
When predictors are parts of a whole, such as time spent sleeping, sitting and moving in a day, they cannot change independently. This regression uses pivot log-ratio coordinates, so each part's coefficient measures its effect relative to the other parts, and isotemporal substitution predicts how the outcome changes when a fixed amount of time is moved from one part to another.
예측변수가 하루 중 수면, 좌식, 신체활동 시간처럼 전체의 부분이면 서로 독립적으로 바뀔 수 없습니다. 이 회귀는 피벗 로그비 좌표를 써서 각 부분의 계수가 나머지 부분에 대한 상대 효과를 뜻하게 하고, 등시간 대체로 한 부분의 시간을 다른 부분으로 옮길 때 결과가 얼마나 달라지는지 예측합니다.
Is replacing 15 minutes of sitting with moderate-to-vigorous activity associated with lower body fat?
앉아 있는 시간 15분을 중고강도 활동으로 바꾸면 체지방이 줄어드는 것과 관련이 있습니까?
The method gives an overall F test of the composition, the relative effect of each part with its confidence interval, and the predicted outcome change with a confidence interval for every one-to-one reallocation at the average composition.
When to use Regression on Compositional Predictors (Pivot Coordinates) with Isotemporal Substitution
- Predictors sum to a fixed total (time use, diet shares, budget shares)
- Effects of reallocating between parts are of interest
- Covariates are to be adjusted for
When to use something else
- The composition is the outcome: use Log-Ratio Regression for Compositional Outcomes
- Only descriptive log-ratio summaries are needed: use Compositional Data Analysis (Log-Ratio Methods)
Assumptions and requirements
- Strictly positive parts
- Linear model on the log-ratio scale with usual OLS assumptions
- Reallocations stay within the observed range
What the analysis reports
- Overall F test and R-squared
- Part-wise relative effects with CI
- Isotemporal substitution table
How to report it
The composition was associated with the outcome (F([value], [value]) = [value], p = [value]); moving 15 minutes from sitting to activity changed the predicted outcome by [value].
Related methods
- Log-Ratio Regression for Compositional Outcomes
- Compositional Data Analysis (Log-Ratio Methods)
- Multiple Linear Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-9.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-9).
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 Regression on Compositional Predictors (Pivot Coordinates) with Isotemporal Substitution on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and item columns (e.g. questionnaire items)
- 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
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.