Statistical power to detect a decline in occupancy - number of sites, repeat visits etc

37 views
Skip to first unread message

Storm Borum

unread,
Apr 10, 2026, 10:40:21 AM (6 days ago) Apr 10
to unmarked
Hello all, 

As part my master's thesis I want to be able to give a recommendation for a monitoring program for my study species. I am therefore trying to figure out how to compare statistical power of different survey efforts to detect declines in occupancy between surveys so I can say "minimum X sites and Y repeat visits are needed to detect a Z% decline in occupancy over 10 years" and weigh effects of doing more sites vs visits. 

Can someone advise me how to do this? So far, I have only been able to find code examples for power to detect a covariate effect. I have detection probability and occupancy estimates from a pilot study (20 sites, 5 repeats) but none of my covariates are significant. 

I am quite new to r so any help is appreciated!


Jordan Green

unread,
Apr 10, 2026, 10:46:43 AM (6 days ago) Apr 10
to unma...@googlegroups.com
Hi Storm,

I would start by looking at Guillera-Arroita et al 2012 (which I’ve attached a link to). 

The paper focuses on this very question and provides some helpful functions in R to simulate various combinations of sites and visits to assess the power to detect differences in occupancy over a defined time frame.


Cheers,
Jordan

--
*** Three hierarchical modeling email lists ***
(1) unmarked (this list): for questions specific to the R package unmarked
(2) SCR: for design and Bayesian or non-bayesian analysis of spatial capture-recapture
(3) HMecology: for everything else, especially material covered in the books by Royle & Dorazio (2008), Kéry & Schaub (2012), Kéry & Royle (2016, 2021) and Schaub & Kéry (2022)
---
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/unmarked/5badd86e-6b2c-4a49-b50a-3443b8c45651n%40googlegroups.com.

Ken Kellner

unread,
Apr 10, 2026, 11:03:58 AM (6 days ago) Apr 10
to unmarked
In addition to the Guillera-Arroita paper, there's also an unmarked vignette discussing power analysis in case you haven't seen it


Also in our unmarked demo paper from a couple years ago, we do a power analysis to detect a declining trend over time. However we frame it in terms of power to detect a certain yearly decline rather than a total decline over a multi-year period, which isn't quite the same thing as you are proposing. The code and data we used are linked in the paper.


Ken

Marc Kery

unread,
Apr 10, 2026, 11:34:33 AM (6 days ago) Apr 10
to unmarked
Dear Storm,

power analysis in practice always means to repeatedly use simulated data with a known effect present. Then you can tally up the proportion that a significance test "finds" this known effect: this proportion is the power.

Adding to what Jordan and Ken say, attached is a set of slides on data simulation from a course last year, along with the R code to do a power analysis for a trend for the occupancy's "sister model", the Nmix. That may also help you to get started.

Best regards  --- Marc



From: unma...@googlegroups.com <unma...@googlegroups.com> on behalf of Ken Kellner <con...@kenkellner.com>
Sent: Friday, April 10, 2026 17:03
To: unmarked <unma...@googlegroups.com>
Subject: Re: [unmarked] Statistical power to detect a decline in occupancy - number of sites, repeat visits etc
 
Slides_Joy_of_data_simulation.pdf
DataSimulation_Ex3_power.R
Reply all
Reply to author
Forward
0 new messages