Re: [unmarked] how to express psi, col, ext if no correlation with variables

35 views
Skip to first unread message

Marc Kery

unread,
Oct 3, 2023, 2:42:43 AM10/3/23
to unmarked
Dear James,

in exactly the same way as you would do it when fitting some linear model to normally-distributed data such as body mass, with R function lm().

"Non-correlation" = constant parameter = intercept-only model = '1' in the model formula.

Best regards  ---- Marc


From: unma...@googlegroups.com <unma...@googlegroups.com> on behalf of James Shelley <jamessh...@gmail.com>
Sent: Tuesday, October 3, 2023 02:14
To: unmarked <unma...@googlegroups.com>
Subject: [unmarked] how to express psi, col, ext if no correlation with variables
 
Hi,

I have a question relating to a multi-year fish presence/absence dataset that I am fitting a dynamic occupancy model to. I'd like to see if the percentage of days where beneficial flows have occurred in each primary sampling period relate to changes in each species' occupancy dynamics. There is also a variable describing barriers to migration. I have used 'year' as a detection covariate. 

The best fit model to my data is one where occupancy is not correlated with any of my variables (see attached image), but colonisation and extinction are. I was wondering how I express a non-correlation in the model formula?

Thanks very much for your time. It's much appreciated.

Regards,
James

dynamic_occ_m1 <- colext(
  # Psi depends on initial Autumn flow conditions
  psiformula = ~?,
  # colonization depends on change in flow and barrier conditions
  gammaformula = ~springflow_time + summerflow_time + barrier_time,
  # extinction  depends on change in Autumn flow conditions
  epsilonformula = ~autumflow_time,
  # Detection varies with year
  pformula = ~year,
  data = Tupong_unmarkedMultFrame,
method = "BFGS",
  control=list(maxit=1000, trace=TRUE, REPORT=1))


Screenshot 2023-10-03 095651.jpg


Thanks in advance for your time. It's much appreciated.

Regards,
James

--
*** 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 on the web visit https://groups.google.com/d/msgid/unmarked/db197bcc-ac43-4325-abc5-f4dfcb22a7edn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages