Comments (7)
from hmsc.
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.
from hmsc.
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.
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.
from hmsc.
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)
- HSMC usage to infer microbial communities? [discussion] HOT 1
- Spatial random variable with 9,738 coordinates causes R to crash HOT 2
- Interpretation of model coefficients in a multivariate poisson GLM with spatial random effect
- incorrect number of dimensions HOT 3
- Can not predict at the same coordinates used to train the model
- Missing help for `importPosteriorFromHPC` function
- Error in cross validation: missing value where TRUE/FALSE needed
- predict with Yc instead of constructGradient to avoid "Error: vector memory exhausted (limit reached?)" ?
- Interpretation of `predictEtaMean` / `predictEtaMeanField` arguments of the predict function
- In cor(lbeta[[i]][k, ], lmu[[i]][k, ]) : the standard deviation is zero HOT 2
- Unexpected trace plots for alpha parameters of a GPP model HOT 4
- Error in `importPosteriorFromHPC` for GPP/Hmsc-hpc models with `alignPost = TRUE` HOT 1
- Spatial Model running extremely slow HOT 6
- Error while converting Hmsc model object to JSON: `Error in rcpp_to_json(x, unbox, digits, numeric_dates, factors_as_string, : negative length vectors are not allowed` HOT 3
- im getting this error in running the Uhlig code
- Question about making predictions when using a hurdle approach
- Inconsistency in spatial model variance partitioning
- Issue with constructGradient() Function in HMSC Package HOT 1
- The use of `setPriors` in `computePredictedValues` function HOT 1
- sampling bias correction in Hmsc (Is it possible to provide a weight to sampling units) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hmsc.