As of January 2016 I work for Intergrated Statistics under contract to National Oceanic and Atmospheric Administration’s Northeast Fisheries Science Centre in Woods Hole, Massachusetts (as a member of the Protected Species Branch). I am also a Guest Investigator at the Woods Hole Oceanographic Institution (WHOI) working with Michael Moore. I am also an honorary research fellow at the University of St Andrews. I primariy work on estimating abundance of large whales in the North Atlantic via visual and acoustic methods (see next paragraph).

Previous to that (2013-2015) I was a research fellow (postdoc) within the Research Unit for Wildlife Population Assessment (RUWPA) at the University of St Andrews where I work on building software and methods for calculating the abundances of biological populations (put simply: I count animals, using statistics and computers). My main interests are models for detection (accounting for how observers might miss seeing animals, usually involving their distance) and building spatial models (where are the animals, and how do they relate to biological factors like vegetation cover and sea depth?).

Before that (2012-2013) I was a postdoc at the Department of Natural Resources Science at the University of Rhode Island. There I worked on developing spatial distribution maps of seabirds off the coast of Rhode Island as well as developing statistical methods for spatial data. I worked with Scott McWilliams, Peter Paton and Kris Winiarski.

Previous to that (2011-2012) I was a postdoctoral research fellow working at the Centre for Research into Ecological and Environmental Modelling at the University of St Andrews.

From 2008-2011(12) I undertook a PhD at the University of Bath where I was investigating smoothing over complex regions under the supervision of Simon Wood. You can download (and even read) my thesis should that interest you. We published a paper in Environmental and Ecological Statistics with some of these results, which is significantly shorter.

I have a first class (MMath) degree in statistics from the University of St Andrews, where I spent my summers ~~eating cake~~ working at CREEM.

I spend some time in Woods Hole, MA (but I’m enjoying travelling around the USA; code) and in St Andrews, Scotland. I spend my spare time goofing around with computers, cooking, playing board games, beer, building electronic things, running and taking photos.

**NOTE ABOUT E-MAILING ME**: If you mail me to ask a question about distance sampling (and I deem it of general interest) I will post your *anonymised* (address and data removed) question and my answer to the distance sampling mailing list. If you **do not** want this to happen, please say so (though your e-mail will likely go to the bottom of my todo list).

**ADDITIONAL NOTE ABOUT E-MAILING ME**: I get a lot of queries about software, which I tend to reserve for Thursdays. If you don’t hear from me on a Thursday, it’ll probably be a week before you have another chance. Sorry!

I write software. A lot of the software involves the package Distance, a Windows program for analysing distance sampling data. I’m part of a team of about 5 people around the world who develop the software. My work is mainly on the R components.

Most of my ongoing projects can be found on my github profile. Here is a (rough) list of software I’ve developed or helped develop.

**Note that as of August 2016 I no longer maintain** `Distance`

**,** `mrds`

**or** `dsm`

**on CRAN, but I am still involved in their development.**

`Distance`

An R package (not to be confused with the Windows program) that allows one to perform simple distance sampling analyses. This is basically just a more user friendly version of `mrds`

…

`dsm`

An R package for spatial modelling of distance sampling data (following the approach of Buckland & Hedley, 2004). As part of my (first) postdoc at CREEM, I re-wrote most of the previous implementation (by Eric Rexstad and Louise Burt) and included new features (see poster and paper below).

`mrds`

An R package that allows you to perform more complex analyses of distance sampling data (including things like double observer studies, to account for imperfect detection on the transect line). Jeff Laake was the package maintainer until 2014 and I have now taken over, having contributed code since starting on the team in 2005.

`mmds`

An R package for performing distance analyses using mixture model detection functions. This formulation allows you to avoid non-monotonically decreasing detction functions, which usually cause bias in analyses. (The package is based on ideas from this paper by me and Len Thomas.)

`Distance2`

An R package that is a re-write of mrds, mmds and Distance to give a nicer user interface and more flexibility. This package is under development, so shouldn’t be used for serious analysis at the moment.

`msg`

A way of performing smoothing (using splines in a generalized additive model framework) over a geographical region with a complex shape (for example peninsulae or coastlines). The github page has an example of how to use `msg`

. This is an implementation of the methods I developed as part of my PhD.

`soap_checker`

A small script to check whether a soap film smoother boundary, knots and data make sense.

Other smaller (and/or sillier) things can be found on my other software page.

I have made a map of where users of the above software are from. You can see the map here.

I’m putting together a “textbook” on distance sampling and density surface modelling (spatially-explicit distance sampling) online. You can look at my progress here. I welcome any comments or suggestions via email or (preferably) github.

Course materials from the course “Spatial models for distance sampling data” given at Duke University, NC, 27-30 October 2015 are available on the distance sampling website or on github.

Materials for an `mgcv`

course I ran with Gavin Simpson, Eric Pedersen and Noam Ross at the Ecological Society of America annual meeting 2016 in Fort Lauderdale, FL are available on the course website.

Materials for a very similar `mgcv`

course I ran at the Marine Mammal Laboratory at NOAA’s Alaska Fisheries Science Center (sic) (based on the above course) in October 2016 in Seattle, WA are available here.

Mannocci, M, J Roberts, DL Miller, P Halpin. Extrapolating cetacean densities beyond surveyed regions to qualitatively assess human impacts on populations in the high seas. *Accepted at Conservation Biology*.

Dellabianca, NA, GJ Pierce, AR Rey, G Scioscia, DL Miller, MA Torres, MN Paso Viola, RNP Goodall and ACM Schiavini. Spatial models of abundance and habitat requirements of Commerson’s and Peale’s dolphin in southern Patagonian waters. *Accepted at PLOS ONE*.

Reiss, PT, DL Miller, P Wu and W Hua. Penalized nonparametric scalar-on-function regression via principal coordinates. *Accepted at Journal of Computational and Graphical Statistics*. DOI Preprint.

Dias, FS, DL Miller, TA Marques, J Marcelino, MC Caldeira, JO Cerdeira, MN Bugalho (2016). Conservation zones promote oak regeneration and shrub diversity in certified Mediterranean oak woodlands. Accepted for publication in *Biological Conservation* 195, 226-234. DOI. PDF. Appendix A. Appendix B.

Miller, DL and L Thomas (2015). Mixture models for distance sampling detection functions. *PLOS ONE*. DOI. (Open Access!)

Miller, DL and SN Wood (2014). Finite area smoothing with generalized distance splines. *Environmental and Ecological Statistics* DOI. PDF. Appendix. Software implementation as package `msg`

, above.

Winiarski, KJ, ML Burt, EA Rexstad, DL Miller, CL Trocki, PWC Paton and SR McWilliams (2014). Integrating aerial and ship surveys of marine birds into a combined density surface model: A case study of wintering Common Loons. *The Condor*. 116(2):149–161. DOI. PDF (with appendix).

Winiarski, KJ, DL Miller, PWC Paton and SR McWilliams (2013). Spatial conservation prioritization of marine bird distribution models to improve guidance for siting of offshore wind energy developments. *Biological Conservation* 169, 79-88. DOI. PDF. Appendix.

Winiarski, KJ, DL Miller, PWC Paton and SR McWilliams (2013). A spatially-explicit model of wintering common loons: conservation implications. *Marine Ecology Progress Series* 492:273–283. DOI. PDF. Appendix. git repository with knitr document for the analysis.

Miller, DL, ML Burt, EA Rexstad and L Thomas (2013). Spatial models for distance sampling data: recent developments and future directions. *Methods in Ecology and Evolution*. DOI (Open Access!). PDF. Appendices: A, B, C, D. **Updated Appendix A available here**.

Marra, G, DL Miller and L Zanin (2011). Modelling the spatiotemporal distribution of the incidence of resident foreign population. *Statistica Neerlandica*. 66(2), pp. 133-160. DOI; PDF.

Miller, DL, E Rexstad, L Thomas, L Marshall and, JL Laake. Distance Sampling in R. *Submitted to the Journal of Statistical Software*. Preprint.

Cholewiak, D, DL Miller, SP Brady, P Corkeron, G Davis, D Risch, SM Van Parijs. Relative abundance and distribution of North Atlantic right whales in Stellwagen bank via acoustic methods.

Miller, DL and MV Bravington. Shortcomings of Horvitz-Thompson-like estimators for large-scale cetacean abundance estimation.

Miller, DL and EF Becker. Modelling black and brown bear abundance in Alaska.

Miller, DL and N Kelly. Combatting edge effects in spatial smoothing.

Bravington, MV, S Hedley and DL Miller. Estimating variance in density surface models.

Integrating data from multiple sources to improve species distribution models. Talk at the International Statistical Ecology Conference, Seattle, July 2016. (Sources and data)

Recent advances in spatial modelling of distance sampling surveys. Talk at CSIRO Marine Laboratory, Hobart, Tasmania, 19 April 2016.

Where the whale-things are?. Talk at University of Melbourne, Melbourne, Victoria, 15 April 2016 slide source & data.

Spatial models integrating two survey platforms. Talk at NOAA NEFSC Visual and Passive Acoustic Data Integration Modeling Workshop, Woods Hole, MA, 15 September 2015.

Recent advances in spatial modelling of distance sampling surveys. Talk at The Ecological Society of America Annual Meeting 2015 (session OOS4: Advances in Modeling Wildlife Abundance), Baltimore, MD, 10 August 2015.

useR! 2015 highlights, CREEMcrackers (joint with Rob Schick), University of St Andrews, Scotland, 31 July 2015.

Recent advances in spatial modelling of distance sampling surveys. Talk at Royal Statistical Society Highlands Local Group, Aberdeen, Scotland, 16 July 2015.

Building ecological models bit-by-bit. Talk at useR! 2015, Aalborg, Denmark, 1 July 2015.

Distance sampling and detection function modelling in Distance and Spatial modelling of distance sampling surveys. Two talks at The British Trust for Ornithology, Thetford, UK, 25 June 2015.

Recent advances in spatial modelling of distance sampling survey. Talk at Universidade de Lisboa, Portugal, 11 June 2015.

Density surface models. Talk given to Cornell Lab of Ornithology, Cornell University, 5 September 2014.

Mixture models detection functions. North Carolina State University, 27 August 2014.

Funtimes (and fundates) with `lubridate`

(code). St Andrews R user group talk, July 2014.

Specifying GAMs & GAMMs with `mgcv`

, CREEMcrackers, University of St Andrews, Scotland, July 2014.

Strategies for correlated covariates in distance sampling, International Statistical Ecology Conference, Montpellier, France, July 2014.

Density surface modelling. Talk given to the Marine Geospatial Ecology Lab, Duke University, 11 February 2014.

Functional programming in R. St Andrews R user group talk, December 2013.

Dealing with spatial autocorrelation in DSMs. Informal talk to the Research Unit for Wildlife Population Assessment, July 2013. (code.)

`dsm`

version 2 - what’s new?. Informal talk to the Research Unit for Wildlife Population Assessment, December 2012.

Combatting edge effects in spatial smoothing. International Statistical Ecology Conference, July 2012, Sundvolden, Norway.

Using multidimensional scaling with Duchon splines for reliable finite area smoothing. useR! 2011, Warwick, UK. (also given at: Recent advances in spatial statistics in ecology, University of St Andrews, 2011; ISEC 2010, University of Kent, and more. This is the most recent version.)

Using mixture models for distance sampling detection functions. NCSE Summer meeting 2011, University of Bath, UK. (Again, I’ve given this a bunch of times, this is the most recent version.)

Convenient analysis of numerous distance sampling data sets in R International Statistical Ecology Conference, July 2014, Montpellier, France. (Joint with Eric Rexstad and Lindesay Scott-Hayward.)

Spatial density surface estimation from distance sampling surveys International Statistical Ecology Conference, July 2012, Sundvolden, Norway.

Coming soon in Distance International Statistical Ecology Conference, July 2012, Sundvolden, Norway. (Entirely Laura Marshall’s work, but I stood next to it and talked to people so it seems sensible to include it here.)

**E-mail:** dave [at] ninepointeightone [dot] net

A tintype taken of me by Andy Martin. January 2015, Sunderland, UK.