GithubHelp home page GithubHelp logo

rosalia's Introduction

rosalia: Exact inference for small binary Markov networks

Santa Rosalia, the patron saint of biodiversity, became a controversial symbol in the 1970's and 1980's for ecological inferences regarding species' interactions. This package, which provides tools from statistical physics for drawing such inferences, is named in her honor.

Installation:

The easiest way to install rosalia is with the devtools package, which can be installed from the R command line with install.packages("devtools").

Once devtools is available, rosalia can be downloaded and installed with devtools::install_github("davharris/rosalia")

rosalia's People

Contributors

davharris avatar

Stargazers

Ondřej Mottl avatar Brendan J. Kelly, MD, MS avatar Shira Salingré avatar Alex Genin avatar Oliver Purschke avatar Laura Melissa Guzman avatar Aswini S avatar

Watchers

 avatar Alex Genin avatar Oliver Purschke avatar

rosalia's Issues

Editor 10: clarify behavior at MLE

Was insufficiently clear about why MLE yields model with "exactly the observed occurence frequencies and co-occurrence frequencies". The answer is that the model matches these sufficient statistics at the MLE.

DESCRIPTION fails to declare an Imports dependency on package progress

In NAMESPACE you have

importFrom(progress,progress_bar)

Hence installing via devtools results in:

Downloading GitHub repo davharris/rosalia@master
from URL https://api.github.com/repos/davharris/rosalia/zipball/master
Installing rosalia
'/home/gavin/R/build/3.2-patched/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore CMD INSTALL  \
  '/tmp/Rtmpx2g1CO/devtools7d27161d2ed3/davharris-rosalia-b6ad42f'  \
  --library='/home/gavin/R/build/3.2-patched/library' --install-tests 

* installing *source* package ‘rosalia’ ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘progress’
ERROR: lazy loading failed for package ‘rosalia’
* removing ‘/home/gavin/R/build/3.2-patched/library/rosalia’
Error: Command failed (1)

Editor 18: relevant literature

One reviewer wanted me to address JSDMs, the other wanted me to address some papers I hadn't seen from Colin Beale's group

Editor 9: prior distributions on alpha and beta

Editor is concerned that my priors are too informative.

One possibility is to use Empirical Bayes, but I'm not sure how that would work with this optimizer.

Need to find a better reference for logistic priors, or use something else. The Gelman paper mimics them with t-distributed priors, which isn't as on-point as it could be.

Reviewer 2-2: good references

The second one looks especially relevant

Aderhold, A, Husmeier, D, Lennon, JJ, Beale, CM & Smith, VA 2012. Hierarchical Bayesian models in ecology: reconstructing species interaction networks from non-homogeneous species abundance data. Ecological informatics, 11, 55-64.

Faisal M.A., Dondelinger F., Husmeier D. & Beale C. 2010. Inferring species interaction networks from species abundance
data: a comparative evaluation of various statistical and machine learning methods. Ecological Informatics, 5, 451-464.

Editor 15: "Markov"

Other names are as bad or worse:

  • "Markov random fields" also have "Markov" in the name.
  • "Boltzmann machine" & "Ising model" also aren't great fits. Boltzmann machines usually have latent variables and Ising models are usually on lattices. Neither of these has much currency outside of machine learning and physics, respectively.

Editor 8: doesn't like my simulations

Wants me to use the same parameters for all simulations. Says that only Bayesians would like my current approach? Need to investigate this further.

Editor 1: re-order methods

  • explicitly state the data needed, model structure, and estimation method
  • estimation versus inference
  • simulations at the end of the methods

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.