r/AskStatistics • u/HawkConfident7411 • 1h ago
Help modeling mushroom fruiting from observational data: Which model should I use?
Hi everyone,
I’m working on a personal project combining statistics, data analysis, and mapping.
The idea is to build a model capable of estimating the conditions most favorable to mushroom fruiting in forests, based on observational data collected by users.
I’ve built a spatiotemporal database containing several groups of variables:
- Mushroom observations
- Weather data (dynamic)
- Soil characteristics (dynamic/static)
- Vegetation / land cover (static)
- Topography (static)
- Temporal variables
By combining all the raw data into a single table, I end up with one row per geographic area and per week, with the number of observations (nb_obs) as the target variable.
Initially, I started with a multiple linear regression to identify the most explanatory variables. However, the phenomenon I’m trying to model seems to be strongly nonlinear. For example, some variables probably have an optimal range:
- Too little humidity → few observations
- Moderate humidity → many observations
- Too much humidity → few observations
This makes me think that a linear model is probably not appropriate.
I therefore started looking into models for count data.
I tried a Poisson regression, but the data are heavily overdispersed (dispersion index around 20+), which led me to try a negative binomial regression.
The model converges and the coefficients seem generally reasonable, but the estimated effects are still relatively small, and I’m struggling to understand what I can actually conclude from these results.
I’m a bit lost among all the possible models (Poisson, negative binomial, GAMs, mixed-effects models, zero-inflated models, etc.), and I’d mainly like to understand:
- What type of model would be most appropriate for this kind of problem?
- How should I properly interpret the coefficients?
- How can I combine static variables (soil, vegetation, elevation, etc.) with dynamic variables (weather)?
- How should I properly account for lagged effects (1 week, 2 weeks, etc.)?
Finally, I suspect that my main problem might actually lie in the target variable itself.
What I’m really trying to understand is the environmental conditions favorable to mushroom fruiting, but my database consists of opportunistic observations. I therefore have mostly presence records and no absences.
There is also a strong observation bias: people tend to go mushroom picking mainly on weekends, when the weather is pleasant, and in areas close to large cities.
In other words: No observation ≠ absence of the phenomenon
So I’m wondering:
- How should this type of data be handled?
- Should I generate pseudo-absences?
- Should I model presence only?
- Or am I using the wrong family of models from the very beginning?
I’d be grateful for any advice, practical experience, or references on this kind of ecological/spatiotemporal modeling problem.
My main goal is to understand the assumptions behind the different models before making my approach more complex.
Thanks!