ChloeRN / VredfoxIPM

0 stars 0 forks source link

Correct genetic data module #36

Closed ChloeRN closed 1 year ago

ChloeRN commented 1 year ago

There had been some misunderstandings about the genetic data which led to an inappropriate data likelihood being included in the model previously. Specifically, probabilities of being resident vs. immigrants were confused, and it also seems like using a Bernouilli trial directly on the p values that are output by GeneClass 2 may be inappropriate. We have to correct the error, and also compare some different approaches (e.g. Binomial likelihood with a threshold instead of Bernouilli, rescaling p-Values, changing likelihood assumptions in GeneClass 2 etc.).

ChloeRN commented 1 year ago

I have tested and compared many different models and summarised the observations in details in the attached file. immR_ModelTests_Notes.txt

ChloeRN commented 1 year ago

My main conclusions based on the comparisons are as follows:

ChloeRN commented 1 year ago

Moving forward, I suggest the following:

ChloeRN commented 1 year ago

The "final" immigration model comparison for the manuscript Appendix is in the attached pdfs. PosteriorDensities.pdf PosteriorSummaries_TimeSeries.pdf