Skip to content

Methods · Regression · Compositional data

Sparse Log-Contrast Regression (Zero-Sum Lasso on Log Compositions)

Sparse log-contrast regression regresses an outcome on the logarithms of many compositional parts with coefficients forced to sum to zero, which makes the model invariant to the arbitrary total of each sample. A lasso penalty selects the few parts that matter, with the penalty chosen by cross-validation.

희소 로그대비 회귀는 결과를 많은 조성 부분의 로그에 회귀하되 계수의 합을 0으로 묶어, 표본마다 임의로 정해지는 총량에 모형이 영향을 받지 않게 합니다. 라쏘 벌점으로 중요한 소수의 부분을 고르며 벌점 크기는 교차검증으로 정합니다.

Which of 200 bacterial genera in the gut microbiome are associated with BMI?

장내 미생물 200개 속 가운데 어느 것이 BMI와 관련이 있습니까?

The method reports the selected parts with their zero-sum coefficients, the penalty and its cross-validation error and the in-sample R-squared.

When to use Sparse Log-Contrast Regression (Zero-Sum Lasso on Log Compositions)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The zero-sum lasso selected [value] of [value] parts at lambda = [value].

Related methods

How this method is validated

이 방법의 검증 근거

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

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

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 Sparse Log-Contrast Regression (Zero-Sum Lasso on Log Compositions) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and item columns (e.g. questionnaire items)
Price
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
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 Q21167 · Reviewed 2026-10-25