Giter VIP home page Giter VIP logo

paleots_test's Introduction

paleoTS_test

DOI

Examine paleoTS model selection performance with time series length

Introduction

Hohmann et al 2023 (DOI: 10.1101/2023.12.18.572098), supplementary code (DOI: 10.5281/zenodo.10390267) found unexpected behavior in the model selection performance of the paleoTS package, version 0.5.3 (CRAN.R-project.org/package=paleoTS) when including Ornstein-Uhlenbeck processes in the set of modes of evolution tested for. Here, this behavior is examined using the simulation tools implemented in the paleoTS package.

The code simulates stasis and undirected random walks, and examines how AICc weights for different modes of evolution (stasis, (un)directed random walk) change with time series length.

Authors

Niklas Hohmann (maintainer)
Utrecht University
email: n.h.hohmann [at] uu.nl
Web page: www.uu.nl/staff/NHohmann
ORCID: 0000-0003-1559-1838

Melanie Hopkins
American Museum of Natural History
Web page: www.amnh.org/research/staff-directory/melanie-j-hopkins
ORCID: 0000-0002-3580-2172

Melanie Hopkins provided the original code, which was modified by Niklas Hohmann. For detailed author contributions please inspect the git history.

Requirements

R (version >= 4) and the RStudio IDE

Usage

In RStudio, open the file paleoTS_test.Rproj. This will open the RProject of the same name, and install the renvpackage (if not already installed). Then, execute

renv::restore()

in RStudios console to install all required dependencies, including paleoTS version 0.5.3. Now the environment is set up, and you can run the analysis using

source("code/test.paleots.R")

Results of the analysis are already stored in the repository under figs/. You can inspect the code in the file code/test.paleots.R.

License

Apache 2.0, see LICENSE file for full license text.

Repository structure

  • code : folder for code
    • test.paleots.R : R script examining paleoTS model selection with time series length
  • figs : folder for figures
    • test_stasis_with_ou.jpeg : AICc weights under stasis model with increasing time series length, including OU in the tested modes
    • test_stasis_without_ou.jpeg : AICc weights under stasis model with increasing time series length, not including OU in the tested modes
    • test_urw_with_ou.jpeg : AICc weights under undirected random walk (URW) model with increasing time series length, including OU in the tested modes
    • test_urw_without_ou.jpeg : AICc weights under undirected random walk (URW) model with increasing time series length, not including OU in the tested modes
  • renv : folder for renv package
  • .Rprofile : R session info
  • .gitignore : untracked files
  • LICENSE : Apache 2.0 license text
  • README.md : readme file
  • paleoTS_test.Rproj : RProject file
  • renv.lock : lock file for renv package

Citation

Please use the doi given at the beginning of this document to cite this repository.

Funding information

Funded by the European Union (ERC, MindTheGap, StG project no 101041077). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. European Union and European Research Council logos

paleots_test's People

Contributors

niklashohmann avatar

Watchers

 avatar  avatar  avatar  avatar

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.