Building upon simpler models using getPar0 #167
-
Hello, I am using momentuHMM to analyse the diving behaviour of fin whales, following the example provided on pilot whales. Now I would like to introduce random effects to check their impact and I am wondering what is the best approach to do that. I have seen in previous examples that I should build upon previous models.
I am also trying to test with individual level fixed effects but it is taking ages to run it only using the 'best model', like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This can be as much art as science for complicated models. Either option might work well. I'd suggest you try both and also look into the For the individual-level fixed effects model, one trick is to first fit each track individually and then combine these to get starting values for the individual-level fixed effects model (the |
Beta Was this translation helpful? Give feedback.
This can be as much art as science for complicated models. Either option might work well. I'd suggest you try both and also look into the
retryFits
argument. The key is to monitor the negative log likelihood value, where lower is better (this is printed when using theretryFits
argument or can be accessed viamodel$mod$minimum
(e.g.fitfix$mod$minimum
). If you do a bunch ofretryFits
and at some point the negative log likelihood stops getting lower (and fairly consistently converges to this value thereafter), then this can suggest convergence (but not necessarily to the global maximum). See this {moveHMM} vignette for more on the topic. Also see this paper on the dangers of false converge…