{"id":192,"date":"2019-09-23T13:27:21","date_gmt":"2019-09-23T13:27:21","guid":{"rendered":"https:\/\/myscience.eu\/martijn\/?page_id=192"},"modified":"2020-08-19T19:47:05","modified_gmt":"2020-08-19T18:47:05","slug":"quantitative-stuff","status":"publish","type":"page","link":"https:\/\/myscience.eu\/martijn\/index.php\/quantitative-stuff\/","title":{"rendered":"Titbits"},"content":{"rendered":"\n<p><\/p>\n\n\n<p>\n<!--StartFragment--><\/p>\n\n\n<p><strong>My inner nerd, citizen science, teaching and other titbits<\/strong><\/p>\n\n\n\n<p>For some weird reason I really like playing with numbers, doing statistics, population modeling, and computer coding. You can wake me up (almost) any time for a project that involves any (or preferably more) of these topics. Yes, I have learned to embrace my inner nerd.  I mainly code in R  (with a bit of C  and Python) and am particularly interested in the joint analysis of longitudinal data collected on multiple subjects (individuals, populations, species). Most recently, I have spent a lot of time on the use of machine learning tools in the analysis of ecological data and on state space \/ structural equation models to analyze hierarchical multivariate data. <\/p>\n\n\n\n<p><strong>Citizen science <\/strong><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-vertically-aligned-top is-image-fill\"><figure class=\"wp-block-media-text__media\" style=\"background-image:url(https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/avinest-1024x768.jpg);background-position:50% 50%\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/avinest-1024x768.jpg\" alt=\"\" class=\"wp-image-407\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Android app AviNest <\/p>\n<\/div><\/div>\n\n\n\n<p>In 2018 my group developed the <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=nl.avinest&amp;hl=en\">AviNest<\/a> citizen science app. This Android app allows volunteers to enter data on nest of all bird species breeding in the Netherlands on their mobile phone or tablet. Users can enter data on the location (using the phone&#8217;s GPS), habitat and parents of the nest (if banded), and the number of eggs, chicks and fledglings. For some species, the app automatic estimates egg-laying dates based on egg measurements and weights. The app also offers the opportunities to easily share data among volunteers, such groupmembers receive data of the nest visits each person has done on the same nest. Data can be uploaded to the online<a href=\"https:\/\/www.sovon.nl\/nl\/content\/nestkaarten\"> NestKaart<\/a> database, which offers additional inbuilt features for analyses of reproductive success. The App has a <a href=\"https:\/\/groups.google.com\/forum\/#!forum\/avinest\">google forum<\/a> for asking questions, and a manual and instruction videos can be found <a href=\"https:\/\/www.chirpscholekster.nl\/downloads.php\">here<\/a> (in Dutch). AviNest was programmed by <a href=\"https:\/\/nl.linkedin.com\/in\/mario-huizinga-35798830\">Mario Huizinga<\/a> (RingIT) and co-developed by Sovon, with funding from BirdLife Netherlands.<\/p>\n\n\n\n<p>Other citizen science projects involve a website developed by people from my group in 2019 on <a href=\"https:\/\/www.scholeksterophetdak.nl\/\">urban oystercatchers<\/a>, where people can report on  roof-nesting birds and learn how they can help them do well. Resightings of our colour banded birds can be reported <a href=\"https:\/\/submit.cr-birding.org\/\">here<\/a>. And for coordination of citizen scientist we organize an annual <a href=\"https:\/\/www.chirpscholekster.nl\/nieuwsbericht32.php\">volunteer day <\/a>and I admin a <a href=\"https:\/\/www.facebook.com\/groups\/561226187257465\/\">Facebook group<\/a>.  <\/p>\n\n\n\n<p><strong>Statistics: R packages and machine learning<\/strong><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-vertically-aligned-top is-image-fill\" style=\"grid-template-columns:42% auto\"><figure class=\"wp-block-media-text__media\" style=\"background-image:url(https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/Rlogo.jpg);background-position:50% 50%\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"561\" src=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/Rlogo.jpg\" alt=\"\" class=\"wp-image-410\" srcset=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/Rlogo.jpg 724w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2019\/11\/Rlogo-300x232.jpg 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">R packages climwin, hiphop &amp; odprism<\/p>\n<\/div><\/div>\n\n\n\n<p><em>climwin<\/em> is a freely available software package designed in the R statistical environment by Liam Bailey and me. It is used for conducting climate window analyses. There has been a growing interest in understanding how biological systems respond to climatic variation. However, the sensitivity of organisms to climatic perturbations will tend to vary across a year making it necessary to specify a smaller time \u2018window\u2019 within a year over which climatic data is measured and summarised. Often, this choice of climate window occurs with little <em>a priori<\/em> knowledge on a systems climatic sensitivity making such decisions somewhat arbitrary.  <em>climwin<\/em> provides an exploratory approach for climate window analysis that tests and compares all potential climate windows.  The package can be downloaded from <a href=\"https:\/\/cran.r-project.org\/web\/packages\/climwin\/index.html\">CRAN<\/a> and <a href=\"https:\/\/github.com\/LiamDBailey\/climwin\">GitHub<\/a> and has several <a href=\"https:\/\/cran.r-project.org\/web\/packages\/climwin\/vignettes\/climwin.html\">vignettes<\/a> with worked examples, a <a href=\"https:\/\/groups.google.com\/forum\/#!forum\/climwin-r-group\">google forum<\/a> for asking (and answering) questions and accompanying scientific papers [<a href=\"https:\/\/besjournals.onlinelibrary.wiley.com\/doi\/epdf\/10.1111\/2041-210X.12590\">1<\/a>,<a href=\"https:\/\/journals.plos.org\/plosone\/article?id=10.1371\/journal.pone.0167980\">2<\/a>,3]  <\/p>\n\n\n\n<p><em>hiphop<\/em> is toolbox to determine parentage (both paternity and\/or maternity) of offspring using bi-allelic genetic markers such as SNPs. It calculates the number of mismatches at different loci between offspring and any potential dam (mother) and sire (father) combination and compares whether the number of genetic misamtches if more than expected due to mutation and genotyping errors. The method is more powerful than conventional methods and therefore is particularly relevant for species in which parentage has to be distinguished among close relatives (e.g. brothers that all can be potential sires). <\/p>\n\n\n\n<p><em>odprism<\/em> is a toolbox that allows for determining the optimal design and power of random intercept and slope models. It includes functions that allow for easy simulation of datasets with different amounts of among-subject heterogeneity and of number of samples per subject and subjects and automatically calculates the bias, precision and power that can be obtained by analyzing such data using random regression models. The package is no longer updated and is archived at <a href=\"https:\/\/cran.r-project.org\/src\/contrib\/Archive\/odprism\/\">CRAN<\/a>, but some updates were done on <a href=\"https:\/\/github.com\/cran\/odprism\">GitHub<\/a> , see also its accompanying <a href=\"https:\/\/besjournals.onlinelibrary.wiley.com\/doi\/epdf\/10.1111\/j.2041-210X.2011.00160.x\">paper<\/a>. <\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"667\" src=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning-1024x667.jpg\" alt=\"\" class=\"wp-image-584\" srcset=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning-1024x667.jpg 1024w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning-300x195.jpg 300w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning-768x500.jpg 768w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning-1536x1000.jpg 1536w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/01\/SexMachineLearning.jpg 1673w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\"> (<strong>Sex) Machine Learning<\/strong> <\/p>\n<\/div><\/div>\n\n\n\n<p>In many animals boys and girls look quite alike. Especially in birds the genitals are not located on the outside, and there may be little differences in appearance that allow us to distinguish between the sexes. In fact, in bird studies scientists generally rely on taking a tissue sample and perform DNA analysis in the lab to reveal the sex of an individual. We are working on a quicker, cheaper and non-invasive method to separate the boys from the girls using machine learning. We train a machine learning algorithm to use subtle differences in appearance in photos of birds (colour, shape) in combination with additional biometric measures (wing, leg and bill length, body mass) to classify birds from photos into either sex. We train this algorithm with photos of birds of which we have determined the sex in the lab. Subsequently we test how well this algorithm is able to predict the sex in a new dataset of photographed birds. Our aim is to explore how reliable \u2018sex machine learning\u2019 is and whether it can be used on a large variety of species using and develop a freely available software tool. This project is in collaboration with <a href=\"https:\/\/track32.nl\/\">Track32<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"839\" height=\"402\" src=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/02\/2014-04-19-caps-logo-def-01-blauw-caps-pijl.jpg\" alt=\"\" class=\"wp-image-666\" srcset=\"https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/02\/2014-04-19-caps-logo-def-01-blauw-caps-pijl.jpg 839w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/02\/2014-04-19-caps-logo-def-01-blauw-caps-pijl-300x144.jpg 300w, https:\/\/myscience.eu\/martijn\/wordpress\/wp-content\/uploads\/2020\/02\/2014-04-19-caps-logo-def-01-blauw-caps-pijl-768x368.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>In 2013 I took the initiative to bring together colleagues from various institutes to discuss further integration of avian research and different data sources to tackle large societal questions. Not much later the <a href=\"http:\/\/www.avianpopulationstudies.org\/en\">Centre for Avian Population Studies<\/a> was founded, and now CAPS is now the knowledge centre for research on bird populations in the Netherlands, promoting research on demography (numbers, reproduction and survival)  and driving environmental factors of bird populations for effective species conservation and management. Five leading organisations in the fields of ornithology and population studies  collaborate within CAPS: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.sovon.nl\/en\" target=\"_blank\">Sovon Dutch Centre for Field Ornithology<\/a>, the <a rel=\"noreferrer noopener\" href=\"http:\/\/www.vogeltrekstation.nl\/\" target=\"_blank\">Dutch Centre for Avian Migration and Demography<\/a> (Vogeltrekstation), the <a rel=\"noreferrer noopener\" href=\"http:\/\/www.nioo.knaw.nl\/en\/newhome\" target=\"_blank\">Netherlands Institute of Ecology<\/a>, the <a rel=\"noreferrer noopener\" href=\"http:\/\/www.ru.nl\/iwwr\/\" target=\"_blank\">Institute for Water and Wetland Research<\/a> of the Radboud University of Nijmegen and the <a rel=\"noreferrer noopener\" href=\"http:\/\/www.vogelbescherming.nl\" target=\"_blank\">Dutch BirdLife partner<\/a> (Vogelbescherming Nederland).   &nbsp;<\/p>\n\n\n\n<p><strong>Teaching<\/strong><\/p>\n\n\n\n<p>I have taught in courses on biodiversity and on experimental design at the Australian National University, and for over a decade have contributed to the Animal Ecology Research course at the University of Groningen. In addition, I have given various workshops\/master classes in ecological statistics , on topics such as capture-mark-recapture survival analyses, mixed models, climate window analyses, model selection and experimental design and power analyses  (Melbourne, Monash, Groningen University, Australian National University, Netherlands Institute of Ecology) . <\/p>\n","protected":false},"excerpt":{"rendered":"<p>My inner nerd, citizen science, teaching and other titbits For some weird reason I really like playing with numbers, doing statistics, population modeling, and computer coding. You can wake me up (almost) any time for a project that involves any (or preferably more) of these topics. Yes, I have learned to embrace my inner nerd. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/myscience.eu\/martijn\/index.php\/quantitative-stuff\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Titbits&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-192","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/pages\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":32,"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/pages\/192\/revisions"}],"predecessor-version":[{"id":773,"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/pages\/192\/revisions\/773"}],"wp:attachment":[{"href":"https:\/\/myscience.eu\/martijn\/index.php\/wp-json\/wp\/v2\/media?parent=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}