Phylogenetic Comparative Regression (PGLS, Pagel's lambda, Independent Contrasts)
Phylogenetic comparative regression relates traits across species with generalized least squares using a Brownian covariance from the phylogeny, estimating Pagel's lambda, Blomberg's K and independent-contrast slopes.
계통 비교 회귀는 계통수에서 얻은 브라운 운동 공분산으로 일반화최소제곱 회귀를 적합해 종 간 형질 관계를 추정하고, Pagel 람다·Blomberg K·독립대비 기울기를 함께 제공하는 방법입니다.
Is brain size related to body mass across 60 primate species once we account for their shared evolutionary history?
영장류 60종에서 공통 진화 역사를 고려한 뒤에도 뇌 크기와 몸무게가 관련이 있나요?
Build the expected trait covariance among species from shared branch lengths of the phylogeny and fit the regression by generalized least squares, estimating Pagel's lambda to scale how much the tree matters. Independent contrasts give the same slope under Brownian motion, and Blomberg's K measures phylogenetic signal in the trait.
When to use Phylogenetic Comparative Regression (PGLS, Pagel's lambda, Independent Contrasts)
- Your observations are species related by a known phylogeny with branch lengths.
- You want regression coefficients that account for shared ancestry.
- You want to quantify phylogenetic signal in a trait.
When to use something else
- Traits evolve with strong stabilising selection toward optima; use an Ornstein-Uhlenbeck model.
- There is substantial within-species variation or measurement error; use a model that includes it.
Assumptions and requirements
- Traits evolve by Brownian motion, optionally rescaled by lambda.
- Tree topology and branch lengths are known without error.
- One value per species with residuals normally distributed.
What the analysis reports
- PGLS coefficients with SEs, t tests and CIs
- Pagel's lambda with profile CI and tests of lambda = 0 and 1
- Blomberg's K with permutation p
- Regression through the origin on independent contrasts
How to report it
PGLS across [n] species (Pagel lambda = [value], 95% CI [value] to [value]) estimated b = [value] for [predictor] (SE = [value], t([df]) = [value], p = [value]).
Related methods
- Generalized Least Squares
- Phylogenetic Diversity and Community Structure
- Linear Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
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 Phylogenetic Comparative Regression (PGLS, Pagel's lambda, Independent Contrasts) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns 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
- 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.