Coder Social home page Coder Social logo

ctmcdive's Introduction

I am a Research Fellow in Statistics at the University of St Andrews. I work on ecological problems, e.g., estimating the size of wild animal populations, quantifying how populations change over time, or finding out how animals move around.

I am actively developing software to implement my research methods, e.g. r-glennie/openpopscr and r-glennie/moveds.

Full details on my current research projects can be found at www.richardglennie.co.uk.

I can be contacted by email [email protected] or on twitter @richard_glennie if you'd like to discuss a research project. If you have any questions or issues with code in my repositories (which is without warranty) then please open an issue in the corresponding github repository.

ctmcdive's People

Contributors

pjbouchet avatar r-glennie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ctmcdive's Issues

degrees of freedom calculation

Is it right? Should the random effects be taken into account too? (This didn't matter when only one smooth, with one basis size was being compared, I think, but does now multiple smooths with varying basis sizes are allowed.)

Plot/predict for intensity

At the moment, we predict/plot for duration which is more understandable, but it is useful for checking model fit to plot/predict on intensity scale. Extreme durations are not unusual for CTMC but can make the fit look poor even when the intensity is well estimated.

make formulae more general

Currently syntax to specify the formulae is:

# setup model 
forms <- list(surface ~ 1, 
              dive ~ 1)

# fit model 
mod <- FitCTMCdive(forms, dat, model = "sd", print = TRUE)

where model takes the values: "s", "d", "sd"/"ds", or "iid".

Would like to have something more like:

# setup model 
forms <- list(surface ~ s(time, bs="ts", k=10), 
              dive ~ 1)

# fit model 
mod <- FitCTMCdive(forms, dat, print = TRUE)

Package license

In the DESCRIPTION, the license is listed as: "MIT + License" but there is no LICENSE file present. Should this just be MIT licensed?

Summary for kappa

Adapt summary function so that it outputs kappa estimate. Also, print() does not seen to be working.

Package installation on Mac

Minor issues when installing CTMCdive v0.0.2 on Mac OS v10.15.7 running R v.4.0.3:

Issues:

  • CTMCdive requires Matrix v1.3.2, leading to errors related to version mismatching when another version of Matrix is installed.
  • Matrix v1.3.2 appears to only be compatible with XCode Command Line Tools for Mac (v.11.5).

Fix:

sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.0.3 tools_4.0.3    yaml_2.2.1

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.