Skip to content

Speeding up a model with a lot of data #125

Answered by seananderson
seananderson asked this question in Q&A
Discussion options

You must be logged in to vote

silent = FALSE just gives you progress info during fitting, which can be helpful to monitor progress on big models, but won't speed things up.

The biggest thing to speed things up is to use a coarser mesh. Also, some random field structures will be faster than others. Adding spatiotemporal fields will be much slower than just spatial fields. Depending what you’re doing, sometimes reml = TRUE is faster, but I wouldn’t use that for index standardization, if that’s what you’re doing.

A large number of extra_time slices will slow things down.

With > 500k observations, you could also consider gridding your data and changing the family accordingly. E.g. instead of binomial, grid the data, use t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seananderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant