Calculate Jaccard index from a Multi Species Occupancy Model

posts related to the RPresence library, which may not be of general interest to users of 'classic' PRESENCE.

Calculate Jaccard index from a Multi Species Occupancy Model

Postby Scaphinotus » Thu Sep 11, 2025 3:41 pm

Hello,

I'm working with multi-species occupancy models in RPresence and have fit models with species-specific detection covariates for insects and birds. This allowed me to estimate species richness for my sites after accounting for imperfect detection. The estimated number of species from my best model increased for insects quite a bit (the most speciose site went from 128 species to 162 species) but stayed relatively similar to our sampled data for birds. The R^2 between the sampled richness and msom-estimated richness is 0.998 for insects and 0.996, so I think this implies that our original sampling effort is representive, but I've continued our analysis with the estimated species richness values to better estimate effect sizes.

I'm looking to extend these models to our community-level analyses and use Jaccard's index to measure similarities between sites, but I am unsure how to add the 'undetected' species to my presence/absence matrix. The conditional occupancy (psi) for most species is very low (<0.10), with only a few species reaching psi_c values of 0.20-0.25, so I'm not sure I can confidently say that a species was there and simply went undetected. I've seen this type of implementation done in JAGS and other software but it's quite technical and a bit tough to follow. I am wondering if there is a solution I can implement in RPResence or if anyone has advice on how to predict the species presence/absence matrix that incorporates these occupancy estimates.

Thanks.
Scaphinotus
 
Posts: 2
Joined: Thu Sep 11, 2025 1:41 pm

Re: Calculate Jaccard index from a Multi Species Occupancy M

Postby jhines » Tue Sep 16, 2025 7:13 pm

I'm not sure I understand what you're trying to do. With species richness, you can get an estimate of the number of species at a site, but not which species are actually there. You only get probabilities of occupancy for each species. For the index, you would need to know which species are there, so you can get the intersection and union of species for the index.

I suppose you could use the occupancy probabilities to simulate a bunch of datasets using the model estimates, calculate which species are occupying the site for each simulation, then compute a Jaccard's index. Then, report the mean and std.err. of the distribution of indices.
jhines
 
Posts: 633
Joined: Fri May 16, 2003 9:24 am
Location: Laurel, MD, USA

Re: Calculate Jaccard index from a Multi Species Occupancy M

Postby Scaphinotus » Wed Sep 17, 2025 2:50 pm

Thanks for your reply, John. This was something a reviewer requested and I was similarly confused. If we end up going this route, I will try the simulations as you suggested.

Thanks!
Scaphinotus
 
Posts: 2
Joined: Thu Sep 11, 2025 1:41 pm


Return to RPresence

Who is online

Users browsing this forum: No registered users and 1 guest