Git Product home page Git Product logo

wrightscape's Introduction

DOI

wrightscape

A fast C code implementation of maximum likelihood calculations for a multi-peak OU process with independent alpha, sigma, and theta parameters for each peak on phylogenetic trees (an extension of the ouch model). Includes R package wrapper as interface to C code. Likelihood calculation presented in http://www.carlboettiger.info/files/phylo-covariance.pdf, later the basis for: Jeremy M. Beaulieu, Dwueng-Chwuan Jhwueng, Carl Boettiger and Brian O’Meara, (2012). Modeling Stabilizing Selection: Expanding the Ornstein-Uhlenbeck Model of Adaptive Evolution, Evolution 66 (8) 2369-2383. doi:10.1111/j.1558-5646.2012.01619.x

File overview

regimes.c: Test the regimes data structure Modify to handle a single regime Implement a transition density calculation where transitions occur at nodes alone <<< Pagel & Meade, Huelsenbeck papers -- what about transitions at nodes?

linear.c: BM not really subset of OU, as alpha = 0 not acceptible OU calculation. Modify the OU model to handle appropriately small alpha with Taylor Expansion or as BM

max likelihood: Implement and test maximum likelihood searches over parameters against existing methods

mcmc.c: Start implementing a basic MCMC solver!

matrix_method.c: nonlinear transition densities?
Test the stationary distribution?

Error handling

This should probably be done mostly at the R level, enforcing the strict formats and conventions of the input (i.e. if not doing regimes, all states should be listed at 0. States must be numbered incrementally from 0 to n-1, where n is the number of regimes present.)

STEPPING STONES

  • Recursive Joint Prob method using BM, compare to analyticals
  • Bayesian OU vs BM in RJMCMC
  • Use Pagel's BayesTraits run to "paint tree" with uncertainty, then repeat OUCH analysis with uncertainty in branch color

wrightscape's People

Contributors

cboettig avatar

Stargazers

JT5D avatar Daniel Mietchen avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

wrightscape's Issues

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.