Dear Arianna, and hello Jeff,
couple of comments here and a question to Jeff.
First of all, I am confused by much of what Arianna says:
· what do you mean with "a WAIC relatively significant from the ecological point of view" ? The WAIC is a measure of how well the model would predict a new data set that is similar to your data set. It is used for helping you to decide whether you should take one or the other model for learning about the process that generated your data. But it cannot be significant and it does not have anything to do with ecology.
· Then, by "Bayesian p-value within range" you probably mean that this measure of goodness of fit is not more extreme than 0.05 – 0.95 ?
· But then you say "a model with significant Bayesian p-value" … what do you mean by this ? The thing with a goodness of fit (GoF) test is just than one hopes that it ends up NOT significant. So, what you seem to suggest is a problem is actually what we all pray for when we conduct a GoF test.
· And what is a "significant occupancy formula" ? I presume you mean a model with terms in the occupancy submodel that have 95% Bayesian credible intervals that do not contain 0 and hence can be considered as being "significant" in an analogy to the non-Bayesian version of a significance test based on a 95% confidence interval ? --- But there is no guarantee that any of your covariates is significant. Perhaps you are unlucky and your covariates simply are not related strongly with spatial variation in occupancy ? So, I don't see what the "issue" is you are talking about.
· Then, you say that you have problems with GoF for the non-wild study area, with p-values < 0.1. So how bad are the p-values ? For better or (rather for) worse, people often take 0.05 as a threshold for a significant GoF test and so you might get away with yours.
· A GoF test such as the one you conducted yields a single-number answer to the question of "Does my model fit the data?". A much better approach and one which may help you recognize how you can improve your model is to ask "Where does my model not fit?" For this, you can looks at residuals of your model (see here). You can plot them in space and against any covariate you can come up with. This may perhaps show that most of the lack of fit identified by the GoF test is due to certain patterns in the data that your current model does not explain in a satisfactory way. Then, you can perhaps explain them in a new model with a suitable additional covariate.
Finally, and this contains (at the bottom) also a question to Jeff: Normally, I'd fit a single model to both of your data sets and accommodate the differences between the wild and non-wild areas by adding a factor 'Area' in the analysis that codes for this contrast. If you fit a model with a main effect of 'Area' and with its interactions with all covariates, then you get exactly the same analysis as when you fit the same models to both data sets separately. But the advantage is that you can directly compare the parameters to see whether they differ between the two areas. And if they don't, then you can drop the associated term in the model and in this way share the information across the areas and get more efficient estimates.
This is so for the occupancy and the detection formula, but not for the spatial model, which would then still be assumed to be identical for both areas. This may not make sense (e.g., occupancy may be correlated over a wider distance in one than in the other area). So, might it not be useful to add the option to spOccupancy to do some limited modeling of the spatial part of a model as well ?
Good luck and thanks --- Marc
--
You received this message because you are subscribed to the Google Groups "spOccupancy and spAbundance users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spocc-spabund-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/f0e8e414-ce38-40a6-a851-4813fdcedcacn%40googlegroups.com.
I’m also looking forward to Jeff’s thoughts, especially on your point about potential differences in spatial autocorrelation between the areas. Perhaps the distance between the areas plays a role? In my case, as you can see from the map, they are relatively close—around 100 km apart—but this is definitely something I’m very interested in exploring further.
Thanks again for the insights!
Arianna Vicari
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/881f7233-6780-49ba-a502-e503fe3eac55n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/CAP5oAEouyMfVO1FQA1twAkjNFadCOb%2BzJN19j3PTjQRHsDO2bQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/f1109bb2-f592-43e9-8fd1-e73f83f5dbe7n%40googlegroups.com.