on-internet
← Community

When applying glmmTMB spatial (exp) covariance structure to cross sectional data should, each group contain unique observations for each location? [closed]

Stack Overflow ·

I need to apply a spatial (exponential) covariance structure to a longitudinal data set containing around 800 unique locations where hourly data were collected from each station for a month (720 hours). To apply spatial covariance structure to this data, I am using the glmmTMB package. I'm a bit confused about the grouping variable in (pos + 0 | group) syntax where pos is created using numFactor() from longitude and latitude. Should I use hour as the grouping variable so that there is only one unique observation per location within the group (pos + 0 | hour)? Or should I ease the condition and

Comments

Sign in or sign up to comment and upvote.

No comments yet.