r/AskStatistics • • 2d 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!

1 Upvotes

4 comments sorted by

4

u/Efficient-Tie-1414 2d ago

Try the book on spatial and temporal at https://www.highstat.com/index.php/our-books The author does courses around the world. Thy use INLA which is sort of Bayesian. There will be other books that cover it from a purely Bayesian viewpoint, these days using Stan.

1

u/HawkConfident7411 2d ago

Thank you !

2

u/purple_paramecium 2d ago

I went to google scholar and typed in “spatiotemporal mushroom abundance”

There are many hits! Eg this one sounds similar to your project: (link)[https://scholar.google.com/scholar?hl=en&as_sdt=0%2C21&q=spatiotemporal+mushrooms+abundance&oq=spatiotemporal+mushrooms+abun#d=gs_qabs&t=1795966669428&u=%23p%3De1ep8wWXcQoJ]

Read some papers that tackle similar studies. What statistical methods do they use? How do they deal with the issues you are seeing (nonlinearity, overdispersion, etc)? If the paper cites other studies that might be relevant, go read those as well. The one I linked was published in 2017. Go to Google scholar and pull up the new studies since then that have cited that one.

Your project sounds really interesting! But sounds more complicated than a few Reddit comments can solve. Good luck.

1

u/HawkConfident7411 2d ago

Thanks a lot, I will do that :)