Replies: 1 comment 2 replies
-
Hi @DEHewitt, thanks for that helpful description. My main question is: If an animal switches to a movement state ( If that is the case, it sounds like perhaps you are more interested in some kind of Hidden Markov Model to try and estimate when each crab has 'switched' to a migratory state. Would this be correct, or am I on the wrong track here? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI @nicholasjclark,
Picking up from our conversation in #39 - I am wanting to account for temporal autocorrelation in a time series of crab movements. We expect that these crabs are moving downstream to spawn in the ocean and want to model the influence of water temperature and the lunar cycle on this.
Each individual was tagged with an acoustic transmitter within a river system and monitored using fixed-position receivers. The tags transmit randomly every 2-5 minutes and the receivers have an approximate detection radius of 200-300 m (i.e., 0.1 km2 listening area), and for the most part these crabs aren't fast swimmers. Based on the timeseries of detections I have classified movements as (where
y
indata
denotes the movements):y == 0
)y == 1
)y == 0
)We tagged crabs in two different size classes (i.e., below or above their legal harvest size) and over 4 different tagging trips (Nov, Jan, Feb, Mar). Where I see an issue with autocorrelation arising is that once an individual started moving downstream they did so relatively rapidly (for a crab). So, there is an initial
y == 1
when the crab switched to migratory behaviour, which we hypothesize is driven by covariates at that time, followed by a series of othery == 1
that may still depend on those covariates but also depend on the fact that the crab has 'decided' to migrate. If I were to fit a model withmgcv
, it'd look like this:The other (secondary) issue is that since the crabs move slow relative to the detection area of the receivers is that sometimes a crab will be moving downstream (
y == 1
), but it will record multiple detections on the same receiver (y == 0
) since it doesn't get out of the detection range quick enough - this strikes me as an observation model issue... maybe it could also be dealt with by doing some data-wrangling / thinning (but I am trying to adopt an ethos of finding a model to fit the data rather than making the data fit the model). In either case, one issue at a time may be wisest.Thanks for taking the time to read this and help (if possible).
Cheers,
Dan
Beta Was this translation helpful? Give feedback.
All reactions