# Tag Info

1 vote

### My data is clustered in space, how can I account for that in a GAMM?

What you are describing is called spatial autocorrelation: Observations physically closer to each other are assumed to be more strongly correlated to each other. A common approach is to either: ...
• 12.9k
1 vote

### Modelling spatial autocorrelation with GAMs

The quote Trend surface GAM (Hastie and Tibshirani 1990, Wood2006) does not address the problem of spatial autocorrelation, but merely accounts for trends in the data across larger geographical ...
• 48.8k

### When to choose GAM over GLMM and how to include random effect into GAM

Answer to OP's Original Question This part of the question originally addressed OP's question about overdispersion and conventional residual plots from separate count models. See edit to see response ...
• 15.9k
1 vote

### Issue fitting and plotting GAM with soap film smoother

I have gone through your posted code and have a couple of comments/ideas here: The boundary object that you're supplying does not have the variable f in each ...
1 vote

### Issue fitting and plotting GAM with soap film smoother

One thing I notice here is that the model is not predicting all zeros, there is a hotspot around x = 495000. So it is actually working it is just overestimating in that one spot. You might consider ...

### Asking for clarification on how to interpret the output of a Generalized Additive Model with interaction terms

Q1 The model formula you used fits the effects of interest. You might consider this alternative ...
• 48.8k

### Factor-smooth interactions in generalized additive models

The obvious difference would be that the two separate models wouldn't include the covariances between the two smooths. So there would be no way to statistically compare the two estimated smooths. FYI: ...
• 48.8k
1 vote

### Generalized additive model which interacts with mean of response

Some thoughts, along the lines of @Michael M: If you can assign the fitted prices to a category, you can use that same process, surely (!), to place the observed house prices into the same categories....
• 48.8k
Accepted

### Model checking for generalized additive models

The problem with large data sets is that heterogeneities often become visible. With a location-only model, you are fitting a model that also includes constant "effects" for $p$ and $\varphi$,...
• 48.8k