Small sample size and the number of covariates

1,013 views
Skip to first unread message

Joanna Wu

unread,
Mar 9, 2015, 8:40:04 PM3/9/15
to unma...@googlegroups.com
Hi all,

I'm currently in the phase of study design and want to understand whether there is a general rule of thumb for how many covariates you can analyze given n sample size. We will likely have a small number of sites, <20, that will be visited 3 times in one year. Any thoughts on how many covariates, if any, we might be able to look at? How can this change if we were to boost the number of sites?

Thanks,
Joanna

Kery Marc

unread,
Mar 10, 2015, 4:54:17 AM3/10/15
to unma...@googlegroups.com

Dear Joanna,

 

Generally, I would use similar rules of thumb as for regression modeling (e.g., 5-20 data points per parameter), but:

-          Remember that there are two n's in hierarchical models as say a site-occ model: one for sites and one for observations. Hence, you have much more information to estimate covariates that act on p than covariates that act on psi

-          You should perhaps have more sites per parameter for site-specific covariates in psi than according to any regression rules (e.g., 5-20 or whatever you choose), because you are estimating a regression on these covariates of an on- or only partially observed thing: the true presence/absence

 

One of the best ways of answering the "how many" questions such as yours is always to use simulation: simulate data sets of different size, analyse them with different numbers of covariates and save the estimates. Repeat for 1000 times and see how things vary as a function of sample size etc.

 

Kind regards  --- Marc

--
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.
For more options, visit https://groups.google.com/d/optout.

Joanna Wu

unread,
Mar 16, 2015, 7:20:08 PM3/16/15
to unma...@googlegroups.com
Dear Marc,

Thanks very much for your response. That is a great suggestion to do some simulation to figure out sample sizes. However, I am a beginner to Unmarked. Can you point me to any links or examples of how to do this in R that is relevant to site covariates?

Best,
Joanna

Kery Marc

unread,
Mar 17, 2015, 6:51:46 AM3/17/15
to unma...@googlegroups.com

Dear Joanna,

 

attached is a modified book draft chapter that shows how you can simulate occupancy data. Hopefully you can go from there.

 

Regards  --- Marc

 

 

 

______________________________________________________________
 
Marc Kéry
Tel. ++41 41 462 97 93
marc...@vogelwarte.ch
www.vogelwarte.ch

Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland
______________________________________________________________

***   Hierarchical modeling books   ***
(1) Kéry (2010): Introduction to WinBUGS for Ecologists, Academic Press; see www.mbr-pwrc.usgs.gov/pubanalysis/kerybook 
(2) Kéry & Schaub (2012): Bayesian Population Analysis using WinBUGS, Academic Press; see www.vogelwarte.ch/bpa
(3) Kéry & Royle (2015): Applied hierarchical models in ecology, Academic Press.

***   Hierarchical modeling workshops:
www.phidot.org/forum/viewforum.php?f=8

***   Hierarchical modeling Google Group mailing lists   ***
(1) unmarked: for questions specific to the R package unmarked
(2) hmecology: for material covered in Royle & Dorazio (2008), Kéry & Schaub (2012), Kéry & Royle (2015); see groups.google.com/forum/?hl=en#!forum/hmecology

Data simulation with occupancy models.docx

Joanna Wu

unread,
Mar 17, 2015, 2:15:03 PM3/17/15
to unma...@googlegroups.com
Thanks very much!
-Joanna
Reply all
Reply to author
Forward
0 new messages