brianstock / MixSIAR

A framework for Bayesian mixing models in R:
http://brianstock.github.io/MixSIAR/
87 stars 73 forks source link

How to read the results and the plot? #346

Open wlheng7 opened 1 year ago

wlheng7 commented 1 year ago

I apologize in advance for asking some basic questions, but they have been causing me confusion. Over the past week, I have run the wolf pack and lake water cases multiple times using MixSIAR. I have successfully obtained the corresponding graphs and data. However, due to my limited knowledge, I am having difficulty obtaining the specific data I am looking for.

For example, in the wolf pack case, I have attempted to sum up the proportions of the three sources to reach a total of 1, but I am unable to align these values with the peaks in the graph. p.global.Deea=0.603, p.global.MM = 0.297 and p.global. Salmon =0.1. However, I do not know how to read them from the figure.

would like to help me? I have read the many many times but I cannot find the answer. It would greatly help me if you could provide some guidance.

brianstock commented 1 year ago

Are you comparing the same summary statistics with the figure? The peak is the mode, not the mean or median which are reported in the summary stats.

On Mon, Jun 5, 2023, 12:47 PM wlheng7 @.***> wrote:

I apologize in advance for asking some basic questions, but they have been causing me confusion. Over the past week, I have run the wolf pack and lake water cases multiple times using MixSIAR. I have successfully obtained the corresponding graphs and data. However, due to my limited knowledge, I am having difficulty obtaining the specific data I am looking for.

For example, in the wolf pack case, I have attempted to sum up the proportions of the three sources to reach a total of 1, but I am unable to align these values with the peaks in the graph. p.global.Deea=0.603, p.global.MM = 0.297 and p.global. Salmon =0.1. However, I do not know how to read them from the figure.

would like to help me? I have read the many many times but I cannot find the answer. It would greatly help me if you could provide some guidance.

— Reply to this email directly, view it on GitHub https://github.com/brianstock/MixSIAR/issues/346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHDA43UAYIO5WSVYXXBNN3XJW2NFANCNFSM6AAAAAAY2ZEQX4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wlheng7 commented 1 year ago

Are you comparing the same summary statistics with the figure? The peak is the mode, not the mean or median which are reported in the summary stats. Hi, Brian, I'm glad you can reply to me. Yes, I'm trying to compare the output data with the peak plot, but I didn't find a very precise comparison. What should I do if I want to draw a box and whisker plot? Can I find another software to do it from the exported data? should I use data like this?

                       Mean    SD  2.5%    5%   25%   50%   75%

Epsilon.1 1.037 0.385 0.503 0.545 0.761 0.956 1.248 Epsilon.2 0.438 0.168 0.193 0.213 0.316 0.408 0.534 Region.SD 1.349 0.911 0.135 0.189 0.727 1.187 1.734 Pack.SD 1.393 0.508 0.549 0.620 1.023 1.363 1.720 p.global.Deer 0.603 0.134 0.395 0.403 0.511 0.564 0.736 p.global.Marine Mammals 0.297 0.096 0.126 0.143 0.227 0.267 0.385 p.global.Salmon 0.100 0.107 0.008 0.009 0.021 0.043 0.198 ..

Liheng

wlheng7 commented 1 year ago

Are you comparing the same summary statistics with the figure? The peak is the mode, not the mean or median which are reported in the summary stats. On Mon, Jun 5, 2023, 12:47 PM wlheng7 @.> wrote: I apologize in advance for asking some basic questions, but they have been causing me confusion. Over the past week, I have run the wolf pack and lake water cases multiple times using MixSIAR. I have successfully obtained the corresponding graphs and data. However, due to my limited knowledge, I am having difficulty obtaining the specific data I am looking for. For example, in the wolf pack case, I have attempted to sum up the proportions of the three sources to reach a total of 1, but I am unable to align these values with the peaks in the graph. p.global.Deea=0.603, p.global.MM = 0.297 and p.global. Salmon =0.1. However, I do not know how to read them from the figure. would like to help me? I have read the many many times but I cannot find the answer. It would greatly help me if you could provide some guidance. — Reply to this email directly, view it on GitHub <#346>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHDA43UAYIO5WSVYXXBNN3XJW2NFANCNFSM6AAAAAAY2ZEQX4 . You are receiving this because you are subscribed to this thread.Message ID: @.>

Currently, I've run through all the cases, but I'm still not sure which one I should follow to prepare my data. My question is: The river water is a mixture of three end-members: precipitation, groundwater, and glacier meltwater. I just need to simply calculate the contribution ratio of precipitation, groundwater, and glacier meltwater to the river water. Which case should I prepare the data for? Thank you very much for being able to help me. Should I use the Geese Example? Thank you a lot~

Liheng