Does spOccupancy fit basic logistic regression models (without incorporating a detectability process)?

17 views
Skip to first unread message

Javi Fernández-López

unread,
Sep 29, 2025, 5:37:54 PMSep 29
to spocc-spa...@googlegroups.com
Sorry for what might be a somewhat silly question, but I wanted to know whether, just as spAbundance fits GLMMs with NB, Gaussian, Poisson, etc. families without a detectability process, spOccupancy can also do that. I haven’t found any function for this purpose, and I’m not sure if by 'forcing' the Occ functions through priors I could achieve something equivalent.

I was simply hoping to take advantage of the effective machinery in spOccupancy for fitting spatial logistic models.

Best regards, and thanks in advance!

--
Javier Fernández-López
Assistant Professor at Universidad Complutense de Madrid, Spain
Area of Biomathematics, Department of Biodiversity, Ecology and Evolution
https://jabiologo.github.io/web/index.html

Jeffrey Doser

unread,
Oct 1, 2025, 7:08:49 AMOct 1
to Javi Fernández-López, spocc-spa...@googlegroups.com
Hi Javi, 

Thanks for the note. You can fit a spatial logistic model in spOccupancy using the svcPGBinom function. That function is designed to fit spatially varying coefficient models without imperfect detection for binary or binomial data, but if you just want to fit a spatial logistic model, you could set svc.cols = 1. I will mention that there is no function for a non-spatial basic logistic regression model, but of course a Bayesian logistic regression model could be fit very quickly with brms or something of that nature. 

Hope you're doing well!

Jeff

--
You received this message because you are subscribed to the Google Groups "spOccupancy and spAbundance users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spocc-spabund-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/CAKqN%2Bi0Sp0BO3nFW%2Bs_3%2B1aH8FwiaWJsO09DadpNCzpUj8fFyA%40mail.gmail.com.


--
Jeffrey W. Doser, Ph.D.
Assistant Professor
Department of Forestry and Environmental Resources
North Carolina State University
Pronouns: he/him/his

Javi Fernández-López

unread,
Oct 1, 2025, 5:54:13 PMOct 1
to Jeffrey Doser, spocc-spa...@googlegroups.com
Awesome Jeff, thanks a lot and sorry for bothering you!

 Best!
Reply all
Reply to author
Forward
0 new messages