MixSIAR
MixSIAR copied to clipboard
Total Contribution is not near to 100%
Hello! Currently, I'm trying to apportion sulfate sources in aerosol samples based on δ34S value. However, when I add up the proportional contribution of all the sources, I only get the total contribution in the range of 75% - 82%, it is even not near to 99%. I'm not really sure why this is happening. Does anybody have the same experience and how to deal with it? Any advice will be really appreciated. Thank you.
Are you looking at means? Medians? They won't necessarily add to 100%. But every mcmc draw should add to 100%, and you can confirm this by summing rows of ´p.global´, ´p.fac1´, etc.
apply(jags.1$BUGSoutput$sims.list$p.global, 1, sum) # row sums (MCMC draws, across sources) should all be 1
See http://brianstock.github.io/MixSIAR/articles/modify_output.html for directly accessing the MCMC draws.