Skip to content

Using mixtures and missing covariates values #51

Answered by bmcclintock
virginiaIorio asked this question in Q&A
Discussion options

You must be logged in to vote

It's difficult to determine what's going on here based on the detail provided. But it sounds like you manually changed the ID column from 'trip_ID' to 'seal_ID' in the momentuHMMData object (returned by prepData) before fitting with fitHMM, which will produce nonsense results as it will treat the trips for each individual as if they were from a single contiguous track. I suspect this is causing the error in the viterbi function, but I cannot diagnose this without a minimal reproducible example.

Before deciding whether or not to pursue individual-level random effects, I might suggest you check out this preprint. Instead of mixtures, an alternative option would be to use 'seal_ID' as a cova…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bmcclintock
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #46 on January 26, 2021 04:40.