# 占据模型

占据模型是一种生态学中使用的层次统计模型，用于估计某物种占据一个样点的概率，同时单独估计该物种存在时被探测到的概率。数据是存在—缺失记录，通常来自对许多样点各自进行的重复访问。模型解决的核心问题是：一个物种可能在其真正占据的样点上未被探测到：除非探测概率为1，否则未探测到并不意味着不存在。<sup>[1](https://www.usgs.gov/publications/estimating-site-occupancy-rates-when-detection-probabilities-are-less-one)</sup>若忽略不完美探测，从原始调查计数中估计出的量是占据概率与探测概率的乘积，而非占据概率本身，因为这两个过程相互混杂。<sup>[2](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0099571&type=printable)</sup>

| 关键事实 | 详情 |
|---|---|
| 估计量 | 占据概率 \( \psi \)，根据重复探测/未探测数据，经探测概率 \( p \) 校正<sup>[1](https://www.usgs.gov/publications/estimating-site-occupancy-rates-when-detection-probabilities-are-less-one)</sup> |
| 核心结构 | 潜状态 \( z_i \sim \mathrm{Bernoulli}(\psi_i) \)；观测 \( y_{ij} \mid z_i \sim \mathrm{Bernoulli}(z_i p_{ij}) \)<sup>[3](https://ecoverser.github.io/unmarked/reference/occu.html)</sup> |
| 关键假设 | 季节内闭合性、调查相互独立、无未建模的探测异质性、无假阳性<sup>[4](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12100)</sup> |
| 调查努力 | 当每次访问的探测概率超过0.5时，建议至少进行三次重复访问<sup>[5](https://syanco.github.io/CECAM_2019_Occupancy_Workshop/MacKenzie%20and%20Royle%202005.pdf)</sup> |
| 标准软件 | PRESENCE，以及R包 unmarked（occu、colext）和 spOccupancy<sup>[6](https://www.mbr-pwrc.usgs.gov/software/doc/presence.pdf)</sup><sup> • </sup><sup>[7](https://www.stat.math.ethz.ch/CRAN/web/packages/unmarked/refman/unmarked.html)</sup> |
| 主要失效模式 | 闭合性违反、假阳性（即使占探测的<5%）、稀疏数据、依赖丰度的探测<sup>[4](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12100)</sup> |

## 工作原理

该模型有两个相互关联的子模型。生态学子模型描述每个样点未被观测到的占据状态：\( z_i \sim \mathrm{Bernoulli}(\psi_i) \)，其中 \( \psi_i \) 是样点 \( i \) 被占据的概率。观测子模型描述调查：\( y_{ij} \mid z_i \sim \mathrm{Bernoulli}(z_i p_{ij}) \)，因此只有当样点被占据时才可能探测到，每次访问的探测概率为 \( p_{ij} \)。<sup>[3](https://ecoverser.github.io/unmarked/reference/occu.html)</sup> \( \psi \) 和 \( p \) 通常都通过logit连接对协变量建模：占据用环境变量，探测用调查努力、天气或观察者变量。<sup>[8](https://www.biodiversity-science.net/EN/10.17520/biods.2025386)</sup>

似然由各样点和各次调查的探测历史构建。在PRESENCE记法中，四次访问中如1001这样的探测历史的概率为 \( \psi \cdot p_1 \cdot (1-p_2) \cdot (1-p_3) \cdot p_4 \)，而从未探测到该物种的概率为 \( \psi \prod_{t}(1-p_t) + (1-\psi) \)；对所有样点取乘积并最大化。<sup>[6](https://www.mbr-pwrc.usgs.gov/software/doc/presence.pdf)</sup> 重复访问使两个参数可分离：各次访问中探测与未探测的模式识别出 \( p \)，进而校正全零历史所占比例。<sup>[8](https://www.biodiversity-science.net/EN/10.17520/biods.2025386)</sup>

模型假设占据状态在一个季节内闭合，重复调查相互独立，探测异质性已被建模，且物种未被误识别或误探测；违反这些假设会使估计量产生偏差并高估精度。<sup>[4](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12100)</sup>

## 如何实施

实践者首先设计调查：一组样点，每个样点在种群闭合的一个季节内被访问若干次。三次访问是常见的最低要求，探测概率低时需更多次。<sup>[5](https://syanco.github.io/CECAM_2019_Occupancy_Workshop/MacKenzie%20and%20Royle%202005.pdf)</sup>

拟合通常在PRESENCE或unmarked中完成。PRESENCE按照2002年模型估计被占据面积比例，并以其动态扩展模型估计季节间的定殖 \( \gamma \) 和局部灭绝 \( \varepsilon \) 参数；协变量通过设计矩阵进入。<sup>[6](https://www.mbr-pwrc.usgs.gov/software/doc/presence.pdf)</sup> 在R包unmarked中，`occu`用双右侧公式（`~ detform ~ occform`）分别对探测和占据拟合单季模型，默认使用logit连接，采用C++、原生R或TMB引擎；`colext`拟合动态模型，其中首年占据、定殖、灭绝或存活以及探测作为样点、年度样点和观测协变量的函数。<sup>[3](https://ecoverser.github.io/unmarked/reference/occu.html)</sup><sup> • </sup><sup>[9](https://ecoverser.github.io/unmarked/articles/colext.html)</sup>

设计指南建议，当每次访问的探测概率 \( p > 0.5 \) 时，至少进行 \( K = 3 \) 次重复调查，\( p \) 较小时则更多；在 \( p \) 恒定时，移除设计比标准设计更高效。<sup>[5](https://syanco.github.io/CECAM_2019_Occupancy_Workshop/MacKenzie%20and%20Royle%202005.pdf)</sup> 努力分配与努力数量同样重要：当 \( \psi \approx 0.4 \) 且 \( p \approx 0.3 \) 时，调查200个样点两次得到标准误0.11，而调查80个样点五次得到0.07，将同样的野外工作重新分配到每个样点更多次访问可带来36%的精度提升。<sup>[5](https://syanco.github.io/CECAM_2019_Occupancy_Workshop/MacKenzie%20and%20Royle%202005.pdf)</sup>

## 起源

单季模型是一种基于似然的方法，用于在探测概率低于1时估计样点占据。<sup>[1](https://www.usgs.gov/publications/estimating-site-occupancy-rates-when-detection-probabilities-are-less-one)</sup> 一个密切相关的框架由安德鲁·J·泰尔（Andrew J. Tyre）及其同事于2003年在《生态学应用》（Ecological Applications）上独立开发，用于估计假阴性错误率；麦肯齐（MacKenzie）后来的综述称这些方法密切相关但不够灵活。<sup>[10](https://doi.org/10.1890/02-5078)</sup><sup> • </sup><sup>[11](https://www.uvm.edu/~tdonovan/Occupancy%20Exercises/Exercise13/MacKenzie_2005.pdf)</sup>

动态多季模型增加了定殖和局部灭绝，由达里尔·I·麦肯齐（Darryl I. MacKenzie）及其同事于2003年在《生态学》（Ecology）上发表；它要求以类似波洛克稳健设计的方式收集数据，该设计是肯尼思·H·波洛克（Kenneth H. Pollock）于1982年在《野生动物管理杂志》（Journal of Wildlife Management）描述的捕获—重捕抽样设计。<sup>[12](https://doi.org/10.1890/02-3090)</sup><sup> • </sup><sup>[13](https://doi.org/10.2307/3808568)</sup> J·安德鲁·罗伊尔（J. Andrew Royle）和詹姆斯·D·尼科尔斯（James D. Nichols）于2003年在《生态学》上发表了一个将探测异质性与丰度联系起来的模型，<sup>[14](https://doi.org/10.1890/0012-9658%282003%29084[0777:eafrpa]2.0.co;2)</sup> 而J·安德鲁·罗伊尔和马克·凯里（Marc Kéry）于2007年在《生态学》上为动态占据模型给出了贝叶斯状态空间表述。<sup>[15](https://doi.org/10.1890/06-0669.1)</sup>

## 变体

**单季与动态。** 单季模型估计一个 \( \psi \) 和一个探测过程；动态模型增加季节间定殖 \( \gamma \) 和局部灭绝 \( \varepsilon \)，且不假设过程平稳。<sup>[12](https://doi.org/10.1890/02-3090)</sup>

**多状态。** 该框架被扩展到多个状态变量，例如繁殖与否、疾病状态或丰度类别，并通过多季估计来估计状态转移概率。<sup>[16](https://pubs.usgs.gov/publication/5220746)</sup>

**假阳性与异质性模型。** J·安德鲁·罗伊尔和威廉·A·林克（William A. Link）于2006年在《生态学》上发表了一个允许假阴性和假阳性错误的广义样点占据模型；当假阳性参数为0时，它退化为2002年模型。<sup>[17](https://doi.org/10.1890/0012-9658%282006%2987[835:gsomaf]2.0.co;2)</sup>

**丰度扩展。** 动态N-占据模型由萨姆·罗斯曼（Sam Rossman）及其同事于2016年在《生态学》上发表，仅从探测/未探测数据估计种群统计率和局部丰度。<sup>[18](https://doi.org/10.1002/ecy.1598)</sup>

## 应用

2003年动态模型用北加利福尼亚（northern California）的北斑点鸮（Northern Spotted Owl）监测数据和明尼苏达（Minnesota）的虎纹钝口螈（tiger salamander）数据进行了示例。<sup>[19](https://webharvest.gov/peth04/20041015201650/http:/armi.usgs.gov/MacKenzie_et_al_2003.pdf)</sup> 2002年论文将单季模型应用于来自32个马里兰（Maryland）湿地的无尾类鸣叫调查数据（Frogwatch USA），估计美洲蟾蜍（American toad）占据率为0.49，比观测比例高44%，春蛙（spring peeper）占据率为0.85，而观测值为0.83。<sup>[1](https://www.usgs.gov/publications/estimating-site-occupancy-rates-when-detection-probabilities-are-less-one)</sup> unmarked的动态模型小插图以瑞士繁殖鸟类调查（MHB）的交嘴雀（crossbill）数据为例。<sup>[9](https://ecoverser.github.io/unmarked/articles/colext.html)</sup> 动态N-占据模型被应用于俄勒冈（Oregon）沿海26年的横斑林鸮（barred owl）探测/未探测数据。<sup>[20](https://zipkinlab.org/wp-content/uploads/2021/08/Rossman-et-al.-2016_Ecology.pdf)</sup>

## 局限与替代方法

**假设失效。** 低假阳性率会造成严重问题：在所有探测中低于5%时，标准动态占据模型会高估占据、定殖和灭绝，并产生虚假的协变量关系，<sup>[4](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12100)</sup> 一项蛙类调查实验发现约8%的记录探测为假阳性。<sup>[21](https://bgerber123.github.io/publications/Gerber%20et%20al%20Mark%20Book.pdf)</sup> 未建模的探测异质性会导致占据被低估。<sup>[6](https://www.mbr-pwrc.usgs.gov/software/doc/presence.pdf)</sup> 闭合性违反可在操作上加以限制；在一个陆生蝾螈系统中，将重复调查限制在3—4周的主要时期内进行4次，可将偏差最小化。<sup>[22](https://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=1294&context=usgsnpwrc)</sup>

**稀疏数据与可识别性。** 估计方程在 \( \psi = 1 \) 处总有一个边界解，该解将所有样点视为被占据，而对稀疏数据拟合会产生不稳定的拟合概率。<sup>[23](https://pmc.ncbi.nlm.nih.gov/articles/PMC3542396/)</sup> 当探测依赖丰度时，拟合概率的偏差可能与完全忽略探测所造成的偏差量级相近，并且不会在大样本中消失。<sup>[23](https://pmc.ncbi.nlm.nih.gov/articles/PMC3542396/)</sup> 假阳性模型存在可识别性问题，对识别过程设置信息性贝叶斯先验可以减轻这些问题。<sup>[24](https://peercommunityjournal.org/articles/10.24072/pcjournal.511/)</sup>

**替代方法。** N-混合模型从类似数据中估计丰度而非占据；在繁殖鸟模拟中，即使很小的闭合性违反也会使丰度估计偏差超过20%，而当探测概率较高（达到或超过0.65）时，朴素模型通常比N-混合模型偏差更小。<sup>[25](https://www.sciencedirect.com/science/article/pii/S1470160X21008359)</sup>

**近期进展。** 单季占据模型现在可以被表述为潜高斯模型（Latent Gaussian models）并用INLA拟合，从而无需MCMC即可给出空间、时空和平滑时间随机效应，不过INLA支持的探测协变量很少，且随机效应仅能在占据子模型中使用。<sup>[26](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.14422)</sup> 空间占据软件包括spOccupancy，由杰弗里·W·多瑟（Jeffrey W. Doser）及其同事于2022年在《生态学与进化方法》（Methods in Ecology and Evolution）上发表，用于单物种、多物种和集成空间模型。<sup>[27](https://doi.org/10.1111/2041-210x.13897)</sup>

## References

1. [Estimating site occupancy rates when detection probabilities are less than one (MacKenzie et al. 2002, Ecology 83:2248-2255; USGS record, with excerpts from the full-text PDF copy at uvm.edu)](https://www.usgs.gov/publications/estimating-site-occupancy-rates-when-detection-probabilities-are-less-one)
2. [Ignoring Imperfect Detection in Biological Surveys Is Bad (rebuttal / simulation study, PLOS One)](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0099571&type=printable)
3. [unmarked::occu, Fit the MacKenzie et al. (2002) Occupancy Model (software documentation)](https://ecoverser.github.io/unmarked/reference/occu.html)
4. [Advances and applications of occupancy models (Methods in Ecology and Evolution)](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.12100)
5. [Designing occupancy studies: general advice and allocating survey effort (MacKenzie & Royle 2005, Journal of Applied Ecology)](https://syanco.github.io/CECAM_2019_Occupancy_Workshop/MacKenzie%20and%20Royle%202005.pdf)
6. [Program PRESENCE ver 12.17 documentation](https://www.mbr-pwrc.usgs.gov/software/doc/presence.pdf)
7. [unmarked package reference manual (CRAN)](https://www.stat.math.ethz.ch/CRAN/web/packages/unmarked/refman/unmarked.html)
8. [Hierarchical occupancy models as solutions to challenges in biodiversity assessment (Biodiversity Science, 2025)](https://www.biodiversity-science.net/EN/10.17520/biods.2025386)
9. [Dynamic occupancy models in unmarked (colext vignette)](https://ecoverser.github.io/unmarked/articles/colext.html)
10. [Andrew J. Tyre and colleagues (2003). IMPROVING PRECISION AND REDUCING BIAS IN BIOLOGICAL SURVEYS: ESTIMATING FALSE‐NEGATIVE ERROR RATES. Ecological Applications.](https://doi.org/10.1890/02-5078)
11. [MacKenzie 2005, ANZJS, reviewing the 2002 method and precursors](https://www.uvm.edu/~tdonovan/Occupancy%20Exercises/Exercise13/MacKenzie_2005.pdf)
12. [Darryl I. MacKenzie and colleagues (2003). ESTIMATING SITE OCCUPANCY, COLONIZATION, AND LOCAL EXTINCTION WHEN A SPECIES IS DETECTED IMPERFECTLY. Ecology.](https://doi.org/10.1890/02-3090)
13. [Kenneth H. Pollock (1982). A Capture-Recapture Design Robust to Unequal Probability of Capture. Journal of Wildlife Management.](https://doi.org/10.2307/3808568)
14. [ESTIMATING ABUNDANCE FROM REPEATED PRESENCE–ABSENCE DATA OR POINT COUNTS (Ecology, 2003)](https://doi.org/10.1890/0012-9658%282003%29084[0777:eafrpa]2.0.co;2)
15. [J. Andrew Royle, Marc Kéry (2007). A BAYESIAN STATE-SPACE FORMULATION OF DYNAMIC OCCUPANCY MODELS. Ecology.](https://doi.org/10.1890/06-0669.1)
16. [Dynamic models for problems of species occurrence with multiple states (MacKenzie, Nichols, Seamans, Gutierrez, 2009, Ecology 90(3):823-835)](https://pubs.usgs.gov/publication/5220746)
17. [GENERALIZED SITE OCCUPANCY MODELS ALLOWING FOR FALSE POSITIVE AND FALSE NEGATIVE ERRORS (Ecology, 2006)](https://doi.org/10.1890/0012-9658%282006%2987[835:gsomaf]2.0.co;2)
18. [Sam Rossman and colleagues (2016). Dynamic N‐occupancy models: estimating demographic rates and local abundance from detection‐nondetection data. Ecology.](https://doi.org/10.1002/ecy.1598)
19. [MacKenzie et al. 2003, Estimating site occupancy, colonization, and local extinction when a species is detected imperfectly (Ecology 84:2200-2207)](https://webharvest.gov/peth04/20041015201650/http:/armi.usgs.gov/MacKenzie_et_al_2003.pdf)
20. [Dynamic N-occupancy models: estimating demographic rates and local abundance from detection-nondetection data (Rossman et al., Ecology 2016)](https://zipkinlab.org/wp-content/uploads/2021/08/Rossman-et-al.-2016_Ecology.pdf)
21. [Chapter 21 – Single-species occupancy models (Gerber et al., Mark book chapter)](https://bgerber123.github.io/publications/Gerber%20et%20al%20Mark%20Book.pdf)
22. [Improving species occupancy estimation when sampling violates the closure assumption (USGS/NPWRC repository)](https://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=1294&context=usgsnpwrc)
23. [Fitting and Interpreting Occupancy Models (Welsh et al., PLOS ONE)](https://pmc.ncbi.nlm.nih.gov/articles/PMC3542396/)
24. [Using informative priors to account for identifiability issues in occupancy models with identification errors (Peer Community Journal)](https://peercommunityjournal.org/articles/10.24072/pcjournal.511/)
25. [Bias in estimated breeding-bird abundance from closure-assumption violations (Ecological Indicators)](https://www.sciencedirect.com/science/article/pii/S1470160X21008359)
26. [Spatio-temporal occupancy models with INLA (Belmont et al., 2024, Methods in Ecology and Evolution)](https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.14422)
27. [Jeffrey W. Doser and colleagues (2022). spOccupancy: An R package for single‐species, multi‐species, and integrated spatial occupancy models. Methods in Ecology and Evolution.](https://doi.org/10.1111/2041-210x.13897)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/occupancy-model

English original: https://www.edgepedia.org/occupancy-model
