Git Product home page Git Product logo

cophylogeny_simulations's People

Contributors

rmcminds avatar

Watchers

 avatar  avatar

cophylogeny_simulations's Issues

model codiversification in stan using hmms

modeling shifts in variance ultimately doesn't model the generative behavior of codiversification. the generative behavior is discrete: once codiv starts, it is a binary question at each generation: which offspring receive which descendant. playing with variance is weird partially because the inheritance of the increased variance is tied to the location effect: variance goes to zero in one offshoot, but variance increases in the other.

problem with codiv in stan is modeling latent discrete states. need to marginalize over them, so math is not as naive as simply declaring latent continuous variables and using them in the model directly. fortunately, modeling latent discrete states is exactly what is done with a hidden markov model, which has a guide to stan implementation.

https://mc-stan.org/docs/2_29/stan-users-guide/hmms.html

https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1008030

https://aclanthology.org/W13-2263.pdf

https://link.springer.com/content/pdf/10.1007%2F978-0-387-70898-0_8

https://link.springer.com/chapter/10.1007/978-0-387-70898-0_8

https://hal.inria.fr/hal-00830078/document

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.