Giter Club home page Giter Club logo

lm2glmm's Introduction

Alex's GitHub Den

I am Alexandre Courtiol, a quantitative wildlife biologist based at IZW Berlin.

For info on my research group, check out www.datazoogang.de

This page is motivated by the fact that most people using GitHub (including me) fail to organise their repositories using a coherent hierarchical system.

Instead all the repos lay at the root, forming a growing mess.

I have thus created this page as a guide to my GitHub den: it indicates what to find where.

I have also included a few repos to which I contributed and which are not stored under my personal GitHub account.

I did this for myself, but perhaps it can be useful for others too (if only as an inspiration).

R packages maintained by me released on CRAN

  • IsoriX & IsoriX_project: isoscape computation and inference of spatial origins using mixed models
  • lay: a simple and efficient implementation of rowwise jobs
  • timevarcorr: computes how the correlation between 2 time-series changes over time

R packages maintained by me but not released on CRAN

  • coronaR & excess_mortality_COVID19: workflow to monitor COVID progress (probably no longer working)
  • dfuzz: to tidy columns of strings (experimental)
  • hyenaR: to wrangle the data from the Ngorongoro Hyena Project (private)
  • inferpref: to infer preferences from mating patterns (private)
  • manyfold: to explore data by folding columns (experimental)
  • packtrack: to monitor use of packages (experimental)

R packages or alternative material reproducing analyses/results of some of my scientific papers

  • accipiteR: for a paper about how Northern goshawks cope with the urban environment
  • gallbladdeR: for a paper about the evolution of gallbladders (private)
  • isoMM: for a paper in prep about isoscapes and mixed models (private)
  • mallaRd: for a paper about the breeding behaviour of mallards in Berlin
  • matingRhinos: for a paper about mate choice and mating success in white rhinos
  • mammalianMI: for a paper about how to quantify maternal investment in mammals
  • rangeRinPA & rangeRinPA_private: for a paper on the number of rangers working in natural protected areas
  • seeadleR_private: for an upcoming paper on the changes in distribution of White-tailed Sea Eagles in Germany
  • SileR: for a paper about survivorship on Asian elephants
  • twinR & twinR-private: for a paper about the relation between twinning rates and fertility in humans
  • vullioud2018: for a paper on dominance in spotted hyenas
  • winteR & winteR_old_private: for a paper on bat hibernation and climate change

R packages maintained by others to which I contributed

Please refer to the original repos to know more about these packages.

Note that I also contributed to other packages not hosted by GitHub (e.g. spaMM).

Debugging material for reporting or fixing issues, or drafting new features

Experimental largely unfinished projects that are not R packages

  • choosiness: an individual based model to study choosiness built (old project with Robert Schwieger)
  • mating_pattern: an algorithm to infer mating preferences (old project with Robert Schwieger)
  • IUCN: an attempt to parse IUCN data (for a group project with students of the Freie University, Berlin)
  • IsoriX_hexsticker: an attempt at creating an hexsticker for IsoriX (private fork)
  • Vullioud_PhD: old material from Colin Vullioud

Teaching material

Consulting work

Miscellaneous

  • awesome-ukraine-support: useful links for ukrainians (fork)
  • courtiol: the repo to modify the page you are reading right now
  • drat: to provide some R packages
  • DZG_website: the website for my group (made with R)
  • judsound: to build an alarm clock & music player with a raspberry pie
  • todo: an attempt at creating a todo list for everything in life (private)

lm2glmm's People

Contributors

catdesk avatar courtiol avatar florianruland avatar liamdbailey avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lm2glmm's Issues

correct sentence

GLM interval slide 60: do not mention bats. Checks similar sentences elsewhere!

Outliers

Results for dfbetas and dffits are somehow a little off for extreme outliers showing that I must not correct with the right SE... To figure it out.
A good example is to focus on the following for testing:
{r} fit_davis <- lm(weight ~ height, data = Davis) influence.measures(fit_davis)$infmat[12, ]

test PI for GLMs

Not sure that PI for binomial and binary make any sense. Check.
Check that it does work for Poisson!

Add example of beta family?

Zimai had a good example.
spaMM does not handle the beta family for the fixed effect, since it implies the estimation of an extra parameter (so not a GLM technically).
glmmTMB does that.

Introduce negative indexing

In Introduction_course.Rmd:
We used negative indexing in our plotting examples (slide 34) but didn't introduce in the Introduction section.

clarify what are demos from what are practical advices

To make it clearer for the students to understand what is there "just" to show them how things work from what they need to do in practice, I could perhaps split slides like that and use some graphical way to make it clear (different background? Different color for the titles?).

breusch pagan

Would it detect difference in variance in the absence of difference in means?
In other words, does it only test mean-variance relationship...?

add cbind(), rbind() to R intro

Since I use these functions often, it would be good to introduce them.
Same for sapply(), replicate() and perhaps other functions that I keep using.

rename "robustness"

It would be better to phrase all slides testing whether tests are correct under the null hypothesis as tests of false positive or something like this rather than as robustness. Still looking for the right terminology...

Restructure LM_introduction

The session takes 2 hours (with no practice) and covers a lot of ground but it is difficult to understand design matrices from the get go. Perhaps I should try to first present predictions informally (as done by hand element per element) and then introduce the design matrices. That would imply restructuring the material...

P-value in summary tables

Check and show in spaMM: summary(..., list(p_value = "Wald"))
but that is a chi2 based test, not a F or t-test using df...

plotting methods

It would be interesting to show different plotting tools in details such as coplot(), interaction.plot(), scatterplot() and scatter3d().

Outliers

This seems useful:

fit_davis <- lm(weight ~ height, data = Davis)
foo <- influence.measures(fit_davis)
foo$infmat[apply(foo$is.inf, 1, sum) > 0, ]

LM intro exercises

Predictions with fit_UK1 -> that this refers to the model in the course is not clear.

reduce package dependencies

There are a huge number of dependencies, and that could be greatly reduced. Perhaps I should absorbe all the datasets used in the package inside it (citing their origin).

Parallelisation with fixed phi

I need to export the dataset on the nodes:
anova(fit_spaMM2, fit_spaMM2_H0, boot.repl = 10, fit_env=list(dat.bcg=dat.bcg) )

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.