Open lmorris2 opened 1 month ago
That really is a huge model, given the number of parameters. Do you need the three-way interaction? I'd be tempted to try one that only had second-order terms. Something like
count ~ (age + region + sex)^2 + time
If that doesn't work, I'd try eliminating terms further.
Incidentally, we don't yet have SVD data that can be used for migration, but it's on the backlog. The would allow you to cut down the number of free parameters.
When running the following emigration model (318 regions, 106 ages, 2 sexes, 12 times):
I get the following error:
The same error occurs whether or not I use the "inner-outer" method for fit(), and it also happens if I change the priors on all of the parts involving age to Sp(). Equivalent count ~ age * region + sex + time models run without issue.