# 典范对应分析

典范对应分析（CCA）是一种多元排序方法，它通过将排序轴约束为环境变量的线性组合，把物种组成数据与环境变量联系起来。它回答生态学家经常提出的一个问题：哪些环境梯度最能解释物种组成在样地间的差异？CCA 于 1986 年作为对应分析的扩展发表于《生态学》（Ecology），是用于生态群落数据的第一种典范排序（或称约束排序）方法，并与由其线性衍生的冗余分析（RDA）一起，至今仍是群落生态学中最流行的排序方法之一。<sup>[1](https://doi.org/10.2307/1938672)</sup><sup> • </sup><sup>[2](https://edepot.wur.nl/578137)</sup><sup> • </sup><sup>[3](https://vegandevs.github.io/vegan/reference/cca.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 产出 | 排序轴为环境变量的线性组合，并给出特征值、物种得分和样地得分，绘制于双标图或三标图中<sup>[1](https://doi.org/10.2307/1938672)</sup> |
| 响应模型 | 假定物种沿环境梯度具有钟形（高斯）响应曲线<sup>[1](https://doi.org/10.2307/1938672)</sup> |
| 解释方差 | 每个特征值除以总惯量再乘以 100，即得解释方差百分比；生态数据通常低于 10%<sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup> |
| 显著性检验 | 对模型、单个变量或单条轴进行蒙特卡洛置换检验<sup>[5](https://vegandevs.github.io/vegan/reference/anova.cca.html)</sup> |
| 适用数据 | 含大量零值的组成型计数数据，如物种多度和微生物组数据，适用于长梯度和短梯度<sup>[2](https://edepot.wur.nl/578137)</sup> |
| 主要软件 | CANOCO、R 包 vegan、ade4 和 anacor、Genstat，以及 mia 中的微生物组封装函数<sup>[6](https://edepot.wur.nl/302963)</sup><sup> • </sup><sup>[7](https://genstat.kb.vsni.co.uk/knowledge-base/cca/)</sup><sup> • </sup><sup>[8](https://microbiome.github.io/mia/reference/runCCA.html)</sup> |
| 主要局限 | 卡方距离使稀有物种影响过大；约束过多会使 CCA 退化为无约束 CA<sup>[9](http://www.numericalecology.com/Reprints/Legendre_&_Gallagher.pdf)</sup><sup> • </sup><sup>[10](https://cran.ma.imperial.ac.uk/web/packages/vegan/vignettes/intro-vegan.pdf)</sup> |

## 工作原理

CCA 假定每个物种沿环境梯度具有钟形响应曲线，并具有最适值、耐受度和最大值：<sup>[1](https://doi.org/10.2307/1938672)</sup>

其中 \( E(y_{ik}) \) 是物种 \( k \) 在得分为 \( x_i \) 的样地 \( i \) 的期望多度，\( c_k \) 为最大值，\( u_k \) 为最适值，\( t_k \) 为耐受度。<sup>[1](https://doi.org/10.2307/1938672)</sup> 在约束排序的高斯模型视角下，参数 \( u \)、\( t \) 和 \( c \) 通过实测环境变量的线性组合来估计，而不是直接使用这些变量本身。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC7069295/)</sup> 特尔·布拉克（ter Braak）将 CCA 推导为对这种高斯物种打包模型进行最大似然拟合的近似。<sup>[2](https://edepot.wur.nl/578137)</sup>

从机制上说，CCA 是对应分析（CA）的约束形式。它使用 CA 的卡方转换矩阵 \( Q \) 作为响应数据，这保留了样地间的卡方距离，并带有单峰响应假设；回归步骤使用行和权重 \( p_{i+} = y_{i+}/y_{++} \)，即样地总多度除以总和。<sup>[12](http://www.numericalecology.com/Reprints/Legendre_Ordination_chapter_in_Palaeolimnology_book_2012.pdf)</sup> 等价地，CCA 是对转换后数据的加权冗余分析，其权重为多度表的边际总和。<sup>[2](https://edepot.wur.nl/578137)</sup> 每条轴都是环境变量的线性组合，使物种生态位分离最大；生态位分离表示为物种质心的加权方差；特征值报告该轴上实现的分离程度。<sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup>

CCA 计算两类样地得分：由物种推导的加权平均（WA）得分，以及环境变量线性组合构成的线性组合（LC）得分；这两类得分都可以在双标图中得到合理解释。<sup>[13](https://onlinelibrary.wiley.com/doi/10.1002/env.629)</sup>

## 实施步骤

研究者首先选择物种表，以及基于先验依据选定的一小组环境变量；CCA 需要关于梯度的先验知识，适用于单峰响应模型和卡方距离合理的情形。<sup>[14](https://uw.pressbooks.pub/appliedmultivariatestatistics/chapter/ca-dca-and-cca/)</sup> 在 vegan 的实现中，卡方转换后的数据矩阵对约束变量进行加权线性回归，拟合值再通过奇异值分解进行对应分析。<sup>[3](https://vegandevs.github.io/vegan/reference/cca.html)</sup> 整体模型、单个变量或单条轴的显著性通过 anova.cca 进行置换检验；默认情况下，在偏（条件）阶段之后对残差进行置换；自动模型选择使用 ordistep 和 ordiR2step 等函数。<sup>[5](https://vegandevs.github.io/vegan/reference/anova.cca.html)</sup>

所得图形显示物种点、样地点和环境变量向量，将物种沿环境变量分布的中心可视化；物种和样地通常分开绘制，点可按出现、多度、耐受度或拟合百分比选择。<sup>[1](https://doi.org/10.2307/1938672)</sup><sup> • </sup><sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup>

## 起源

特尔·布拉克于 1986 年在《生态学》（Ecology）上提出 CCA，作为一种用于多元直接梯度分析的新特征向量技术。<sup>[1](https://doi.org/10.2307/1938672)</sup> 该方法源于两个前身：指示物种的加权平均，这是一种估计物种最适值的古老生态学思想；以及相互平均法，即对应分析进入生态学时的名称；CCA 在此基础上加入了回归方法。<sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup> 特尔·布拉克此前已表明，当物种多度服从泊松分布时，CA 近似于高斯排序的最大似然解，这为约束版本奠定了基础。<sup>[1](https://doi.org/10.2307/1938672)</sup> CCA 最初作为希尔（Hill）的 DECORANA 程序的扩展在计算机上实现，CANOCO 1.0 版（1985 年）可执行 CA、去趋势 CA、CCA 和去趋势 CCA。<sup>[6](https://edepot.wur.nl/302963)</sup>

## 变体

**去趋势 CCA（DCCA）** 纳入了去趋势对应分析的去趋势修正；去趋势对应分析由希尔和高奇（Gauch）于 1980 年提出，用于消除弓形效应。<sup>[1](https://doi.org/10.2307/1938672)</sup><sup> • </sup><sup>[15](https://doi.org/10.1007/978-94-009-9197-2_7)</sup> 然而，帕尔默（Palmer）的模拟研究表明，CCA 可能不会受到弓形效应的严重影响，因此通常不建议执行 DCCA。<sup>[16](https://ordination.okstate.edu/robust.htm)</sup>

**偏 CCA** 在约束分析之前移除干扰变量（协变量）的影响；在 vegan 中，公式接口 cca(Y ~ A*B + Condition(C)) 指定以 C 为协变量的偏 CCA。<sup>[6](https://edepot.wur.nl/302963)</sup>

**双约束对应分析（dc-CA）** 由特尔·布拉克、什米劳尔（Šmilauer）和德雷（Dray）于 2018 年在《环境与生态统计》（Environmental and Ecological Statistics）上提出，通过最大化性状与环境变量之间的第四角相关，将 CCA 扩展到性状-环境关系。<sup>[17](https://doi.org/10.1007/s10651-017-0395-x)</sup><sup> • </sup><sup>[2](https://edepot.wur.nl/578137)</sup> **CCA-PLS** 由特尔·布拉克和费尔东斯霍特（Verdonschot）于 1995 年在《水生科学》（Aquatic Sciences）上提出，结合了 CCA 和 PLS2 的强项。<sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup> 在古生态学中，化石组合作为被动对象置于现代组合的 CCA 中，将过去样品投影到现代环境-物种空间。<sup>[12](http://www.numericalecology.com/Reprints/Legendre_Ordination_chapter_in_Palaeolimnology_book_2012.pdf)</sup>

## 应用

特尔·布拉克 1986 年的论文在狩猎蜘蛛、堤坝植被以及沿污染梯度的藻类数据集上演示了该方法。<sup>[1](https://doi.org/10.2307/1938672)</sup> CCA 适合检测预测变量对含大量零值的严格组成型计数数据的影响，例如物种多度和微生物组数据；它对零膨胀不敏感，因为零多度在转移公式中不携带权重。<sup>[2](https://edepot.wur.nl/578137)</sup> 诸如 mia 之类的微生物组包现在提供基于 vegan 的 cca 构建的 CCA 封装函数。<sup>[8](https://microbiome.github.io/mia/reference/runCCA.html)</sup>

## 局限与替代方法

CCA 所保留的卡方距离使稀有物种具有过大的影响力，因为同样的多度差异对常见物种的贡献小于对稀有物种的贡献；费思（Faith）及其同事利用模拟数据，认为它是群落组成数据最差的距离之一；标准建议是将 CCA 限制在采样充分的稀有物种上，或事先移除稀有物种。<sup>[9](http://www.numericalecology.com/Reprints/Legendre_&_Gallagher.pdf)</sup><sup> • </sup><sup>[14](https://uw.pressbooks.pub/appliedmultivariatestatistics/chapter/ca-dca-and-cca/)</sup> 增加环境变量会放松约束：当变量数目与样本单元数目接近时，CCA 会趋近于带有弓形效应的无约束 CA，因此不建议用所有可用变量进行约束。<sup>[10](https://cran.ma.imperial.ac.uk/web/packages/vegan/vignettes/intro-vegan.pdf)</sup><sup> • </sup><sup>[14](https://uw.pressbooks.pub/appliedmultivariatestatistics/chapter/ca-dca-and-cca/)</sup>

CCA 只展示由约束解释的变异，并强烈依赖于所选变量集；它适合明确的先验假设，而探索性问题更适合用 decorana 或 metaMDS 等无约束方法处理。<sup>[3](https://vegandevs.github.io/vegan/reference/cca.html)</sup> 当物种响应近似线性时，PCA 的约束形式 RDA 更为可取；RDA 由范登沃伦伯格（van den Wollenberg）于 1977 年在《心理测量学》（Psychometrika）上从拉奥（Rao）的工具变量主成分重新发明。<sup>[12](http://www.numericalecology.com/Reprints/Legendre_Ordination_chapter_in_Palaeolimnology_book_2012.pdf)</sup><sup> • </sup><sup>[18](https://doi.org/10.1007/bf02294050)</sup> 当生态位是栖息地变量的单峰函数时，PLS2、典型相关分析和 RDA 等线性方法不太适合。<sup>[4](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)</sup> 基于距离的冗余分析（db-RDA）由勒让德尔（Legendre）和安德森（Anderson）于 1999 年在《生态学专论》（Ecological Monographs）上提出；它对所选相似性矩阵（如 Bray-Curtis）的主坐标运行 RDA；它能很好地检验解释表与响应表之间的关系，但不能生成物种-样地-环境双标图，因为物种被原始物种的非线性组合所取代。<sup>[19](https://doi.org/10.1890/0012-9615%281999%29069[0001:dbratm]2.0.co;2)</sup><sup> • </sup><sup>[9](http://www.numericalecology.com/Reprints/Legendre_&_Gallagher.pdf)</sup> 勒让德尔和加拉格尔（Gallagher）的转换为生态学家提供了另一条途径，使基于欧氏距离的方法（如 PCA 和 RDA）可用于含大量零值的群落数据。<sup>[9](http://www.numericalecology.com/Reprints/Legendre_&_Gallagher.pdf)</sup>

CCA 中的置换检验从 Canoco 第 2 版中的预测变量置换，变为后来版本中零假设下残差的响应变量置换。<sup>[2](https://edepot.wur.nl/578137)</sup> 截至 2022 年，Canoco（至 5.12 版）和 vegan 采用残差化响应变量置换，而 ade4 采用预测变量置换；在文库大小差异巨大的宏基因组数据上，这些选择会产生非常不同的 P 值。模拟表明，当多度数据既过度离散，各样地总多度的差异又很大时，残差化响应变量置换可能使第一类错误率严重膨胀，而残差化预测变量置换能以良好功效控制错误率；后者已在 Canoco 5.15 中实现。<sup>[2](https://edepot.wur.nl/578137)</sup> 对多度进行平方根或对数转换后，方法之间的差异变得很小。<sup>[2](https://edepot.wur.nl/578137)</sup>

## References

1. [Cajo J. F. ter Braak (1986). Canonical Correspondence Analysis: A New Eigenvector Technique for Multivariate Direct Gradient Analysis. Ecology.](https://doi.org/10.2307/1938672)
2. [Testing environmental effects on taxonomic composition with canonical correspondence analysis: alternative permutation tests are not equal (ter Braak)](https://edepot.wur.nl/578137)
3. [Constrained Correspondence Analysis and Redundancy Analysis, cca • vegan (official software documentation)](https://vegandevs.github.io/vegan/reference/cca.html)
4. [Canonical correspondence analysis and related multivariate methods in aquatic ecology (ter Braak & Verdonschot 1995, Aquatic Sciences 57(3):255-289, DOI 10.1007/BF00877430)](https://biotoolbox.binghamton.edu/Multivariate%20Methods/Multivariate%20Ordinations/Multivariate%20Ordinations%20Literature/ter%20Braak%20&%20Verdonshot%201995%20CCA.pdf)
5. [Permutation Test for Constrained Correspondence Analysis, Redundancy Analysis and Constrained Analysis of Principal Coordinates, anova.cca • vegan](https://vegandevs.github.io/vegan/reference/anova.cca.html)
6. [History of canonical correspondence analysis (C. J. F. ter Braak, CARME 2011 retrospective)](https://edepot.wur.nl/302963)
7. [CCA procedure (Genstat knowledge base, VSNi)](https://genstat.kb.vsni.co.uk/knowledge-base/cca/)
8. [Canonical Correspondence Analysis and Redundancy Analysis, getCCA • mia (microbiome R package)](https://microbiome.github.io/mia/reference/runCCA.html)
9. [Ecologically meaningful transformations for ordination of species data (Legendre & Gallagher, Oecologia)](http://www.numericalecology.com/Reprints/Legendre_&_Gallagher.pdf)
10. [Vegan: an introduction to ordination (official package vignette)](https://cran.ma.imperial.ac.uk/web/packages/vegan/vignettes/intro-vegan.pdf)
11. [Should ecologists prefer model- over distance-based multivariate methods?](https://pmc.ncbi.nlm.nih.gov/articles/PMC7069295/)
12. [Legendre: Ordination chapter in Palaeolimnology book (2012)](http://www.numericalecology.com/Reprints/Legendre_Ordination_chapter_in_Palaeolimnology_book_2012.pdf)
13. [Site scores and conditional biplots in canonical correspondence analysis (Environmetrics)](https://onlinelibrary.wiley.com/doi/10.1002/env.629)
14. [CA, DCA, and CCA – Applied Multivariate Statistics in R](https://uw.pressbooks.pub/appliedmultivariatestatistics/chapter/ca-dca-and-cca/)
15. [M. O. Hill, H. G. Gauch (1980). Detrended Correspondence Analysis: An Improved Ordination Technique. .](https://doi.org/10.1007/978-94-009-9197-2_7)
16. [Robustness of CCA (Michael Palmer, web resource)](https://ordination.okstate.edu/robust.htm)
17. [Cajo J.  F. ter Braak, Petr Šmilauer, Stéphane Dray (2018). Algorithms and biplots for double constrained correspondence analysis. Environmental and Ecological Statistics.](https://doi.org/10.1007/s10651-017-0395-x)
18. [Arnold L. van den Wollenberg (1977). Redundancy Analysis an Alternative for Canonical Correlation Analysis. Psychometrika.](https://doi.org/10.1007/bf02294050)
19. [DISTANCE-BASED REDUNDANCY ANALYSIS: TESTING MULTISPECIES RESPONSES IN MULTIFACTORIAL ECOLOGICAL EXPERIMENTS (Ecological Monographs, 1999)](https://doi.org/10.1890/0012-9615%281999%29069[0001:dbratm]2.0.co;2)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Multivariate association and dimension reduction › Titles A to Me

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/canonical-correspondence-analysis

English original: https://www.edgepedia.org/canonical-correspondence-analysis
