Coder Social home page Coder Social logo

Comments (7)

ovaskain avatar ovaskain commented on August 16, 2024

from hmsc.

cabuelow avatar cabuelow commented on August 16, 2024

Thank-you for taking a look at the scripts - I appreciate it. Also, my apologies, I should have clarified that the I am only struggling to obtain convergence for the alpha parameter. The effective sample sizes and potential scale reduction factors for the beta and omega parameters are fine.

I have placed an image of the MCMC trace and posterior density plots for the alpha parameters on the github repo: https://github.com/cabuelow/waterbird-multivar-glm

The posterior density plots seem to suggest that the scale of spatial autocorrelation is close to 0 - could this contribute to poor convergence on this parameter? Also, if the scale of the spatial effect is in fact near 0, would it be appropriate to exclude a spatial random effect from the final model?

from hmsc.

ovaskain avatar ovaskain commented on August 16, 2024

from hmsc.

cabuelow avatar cabuelow commented on August 16, 2024

Thanks Otso, that's very helpful. I went ahead and ran the 4 chains 10 times longer, but unfortunately one of the chains for factor 1 is still stuck at zero. For the purposes of this analysis, it is not of great importance that we quantify the probability of the spatial signal. Would you recommend keeping the spatial random effect as is, despite non-ideal mixing? Or would it be best to try an alternative approach to account for spatial-autocorrelation?

from hmsc.

jarioksa avatar jarioksa commented on August 16, 2024

I think the idea of giving extra weight (0.5) to zero is to allow suggesting "no spatial dependence" instead of having tiny and unimportant near-zero values which actually were better interpreted as "no spatial dependence".

from hmsc.

ovaskain avatar ovaskain commented on August 16, 2024

from hmsc.

cabuelow avatar cabuelow commented on August 16, 2024

Thanks so much, it's been very helpful being able to get such quick answers to questions while using hmsc, and I'm really enjoying learning how to fit jsdm's with this package. I'll keep the spatial random effect in the model above.

from hmsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.