David Lawrence Miller

(pseudorandom) Gratuitous picture of myself

some image

(refresh for more silly photos)

Professional stuff

I’m Principal Researcher in Statistical Methodology Biomathematics and Statistics Scotland (approximately “head of stats”) with a joint appointment at the UK Centre for Ecology & Hydrology.

I work on all kinds of statistical problems. I’m currently getting interested in aphids amongst other stuff. I’ve spent a lot of time thinking about smooth models (in the generalized additive modelling framework) and counting animals, but I’m open to other stuff too.

Previously: I worked as a research fellow at the Centre for Research into Ecological & Environmental Modelling and the School of Mathematics & Statistics at the University of St Andrews. While there I worked on improving spatial models for cetacean abundance and distribution with funding from the US Navy’s Living Marine Resources programme (see bottom half of page 8 of Summer 2017 LMR News and page 4 onwards of the Summer 2022 LMR News for some info).

Previously, previously: I’ve worked for NOAA’s Northeast Fisheries Science Center (sic) in Woods Hole, MA, the University of Rhode Island and CSIRO in Hobart, Tasmania.

Less professional stuff

I was interviewed by Uses This about how I use a computer to get work done.

I’ve made a few Twitter bots, which you an read about on my bots page.

I wrote an extremely stupid Wordle clone, called Primel which asks you to guess a 5 digit prime number.

Publications

Not actually in print

From 2008-2011(12) I undertook a PhD at the University of Bath where I investigated 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.

In “print”

  • Jacobson, Eiren K., Mark V. Bravington, Rebecca L. Taylor, Irina S. Trukhanova, David L. Miller, and William S. Beatty. 2026. “Combining Individual and Close‐kin Mark–Recapture to Design an Effective Wildlife Population Survey.” Ecology 107 (6): e70377. PDF DOI
  • Clark-Wolf, T.j., David L. Miller, Hannah Drake, David A. Fifield, Jean-François Rail, Ewan D. Wakefield, Sabina I. Wilhelm, Sarah N.P. Wong, and Carina Gjerdrum. 2025. “Using Model-Based Distance Sampling to Estimate Decadal Population Change in Northern Gannets (Morus Bassanus) across Periods Spanned by Different at-Sea Survey Methods.” Ibis, ahead of print. PDF DOI
  • Miller, David L. 2025. “Modelling Phenology Using Ordered Categorical Generalized Additive Models.” arXiv:2508.07789. Preprint, arXiv, August 11. PDF DOI
  • Ebert, Philip A., David L. Miller, David A. Comerford, and Mark Diggins. 2025. “End User and Forecaster Interpretations of the European Avalanche Danger Scale: A Study of Avalanche Probability Judgments in Scotland.” Risk Analysis, ahead of print. PDF DOI
  • Miller, David L. 2025. “Bayesian Views of Generalized Additive Modelling.” Methods in Ecology and Evolution 16 (3): 446–55. PDF DOI
  • Miller, David L., Ken Newman, and Thomas Cornulier. 2025. “Adding Structure to Generalized Additive Models, with Applications in Ecology.” arXiv:2508.07915. Preprint, arXiv, September 10. PDF DOI
  • Delisle, Zackary J., David L. Miller, and Robert K. Swihart. 2023. “Modelling Density Surfaces of Intraspecific Classes Using Camera Trap Distance Sampling.” Methods in Ecology and Evolution 14 (5): 1287–98. PDF DOI
  • Miller, David L., and Nat Kelly. 2023. Guidelines for Model-Based Estimation. SC/69A/ASI/20. International Whaling Commission Scientific Committee. PDF
  • Camp, Richard J., David L. Miller, Stephen T. Buckland, and Steve J. Kendall. 2023. “Accounting for Spatial Habitat and Management Boundaries When Estimating Forest Bird Population Distribution and Density: Inferences from a Soap Film Smoother.” PeerJ 11 (June): e15558. PDF DOI
  • Carter, Matt I. D., Lars Boehme, Michelle A. Cronin, Callan D. Duck, W. James Grecian, Gordon D. Hastie, Mark Jessopp, Jason Matthiopoulos, Bernie J. McConnell, David L. Miller, Chris D. Morris, Simon E. W. Moss, Dave Thompson, Paul M. Thompson, and Debbie J. F. Russell. 2022. “Sympatric Seals, Satellite Tracking and Protected Areas: Habitat-Based Distribution Estimates for Conservation and Management.” Frontiers in Marine Science 9 (June). PDF DOI
  • Robbins, James R., Phil J. Bouchet, David L. Miller, Peter G. H. Evans, James Waggitt, Alex T. Ford, and Sarah A. Marley. 2022. “Shipping in the North-East Atlantic: Identifying Spatial and Temporal Patterns of Change.” Marine Pollution Bulletin 179 (June): 113681. DOI
  • Jacobson, Eiren K., E. Elizabeth Henderson, David L. Miller, Cornelia S. Oedekoven, David J. Moretti, and Len Thomas. 2022. “Quantifying the Response of Blainville’s Beaked Whales to U.S. Naval Sonar Exercises in Hawaii.” Marine Mammal Science 38 (4): 1549–65. PDF DOI
  • Miller, David L., Elizabeth A. Becker, Karin A. Forney, Jason J. Roberts, Ana Cañadas, and Robert S. Schick. 2022. “Estimating Uncertainty in Density Surface Models.” PeerJ 10 (August): e13950. PDF DOI
  • Becker, Elizabeth A., Karin A. Forney, David L. Miller, Jay Barlow, Lorenzo Rojas-Bracho, Jorge Urbán R, and Jeff E. Moore. 2022. “Dynamic Habitat Models Reflect Interannual Movement of Cetaceans Within the California Current Ecosystem.” Frontiers in Marine Science 9 (May): 829523. PDF DOI
  • Bravington, Mark V., David L. Miller, and Sharon L. Hedley. 2021. “Variance Propagation for Density Surface Models.” Journal of Agricultural, Biological and Environmental Statistics, ahead of print, February 23. PDF DOI
  • Wakefield, Ewan D., David L. Miller, Sarah L. Bond, Fabrice le Bouard, Paloma C. Carvalho, Paulo Catry, Ben J. Dilley, David A. Fifield, Carina Gjerdrum, Jacob González-Solís, Holly Hogan, Vladimir Laptikhovsky, Benjamin Merkel, Julie A.O. Miller, Peter I. Miller, Simon J. Pinder, Tânia Pipa, Peter M. Ryan, Laura A. Thompson, Paul M. Thompson, and Jason Matthiopoulos. 2021. “The Summer Distribution, Habitat Associations and Abundance of Seabirds in the Sub-Polar Frontal Zone of the Northwest Atlantic.” Progress in Oceanography 198: 102657. PDF DOI
  • Miller, David L., David A. Fifield, ED Wakefield, and Douglas B. Sigourney. 2021. “Extending Density Surface Models to Include Multiple and Double-Observer Survey Data.” PeerJ 9 (e12113): 18. PDF
  • Bouchet, Phil J., David L. Miller, Jason J. Roberts, Laura Mannocci, Catriona M. Harris, and Len Thomas. 2020. “Dsmextra: Extrapolation Assessment Tools for Density Surface Models.” Methods in Ecology and Evolution 11 (11): 1464–69. PDF DOI
  • Camp, Richard J., David L. Miller, Len Thomas, Stephen T. Buckland, and Steve J. Kendall. 2020. “Using Density Surface Models to Estimate Spatio-Temporal Changes in Population Densities and Trend.” Ecography, ahead of print. PDF DOI
  • Becker, Elizabeth A., Karin A. Forney, David L. Miller, Paul C. Fiedler, Jay Barlow, and Jeff E. Moore. 2020. Habitat-Based Density Estimates for Cetaceans in the California Current Ecosystem Based on 1991–2018 Survey Data. NOAA Technical Memorandum NMFS-SWFSC-638. NOAA Southwest Fisheries Science Center. PDF
  • Miller, David L., Richard Glennie, and Andrew E. Seaton. 2019. “Understanding the Stochastic Partial Differential Equation Approach to Smoothing.” Journal of Agricultural, Biological and Environmental Statistics, ahead of print, September 19. PDF DOI
  • Pedersen, Eric J., David L. Miller, Gavin L. Simpson, and Noam Ross. 2019. “Hierarchical Generalized Additive Models in Ecology: An Introduction with Mgcv.” PeerJ 7 (May): e6876. PDF DOI
  • Bouchet, Phil J., David L. Miller, Jason J. Roberts, Laura Mannocci, Catriona M. Harris, and Len Thomas. 2019. From Here and Now to There and Then: Practical Recommendations for Extrapolating Cetacean Density Surface Models to Novel Conditions. Nos. 2019–1. CREEM Technical Report. University of St Andrews. PDF
  • Miller, David L., Eric Rexstad, Len Thomas, Laura Marshall, and Jeffrey L. Laake. 2019. “Distance Sampling in R.” Journal of Statistical Software 89 (1). PDF DOI
  • Dias, Filipe S., José F. C. Wenceslau, Tiago A. Marques, and David L. Miller. 2019. “Density and Distribution of Western Chimpanzees around a Bauxite Deposit in the Boé Sector, Guinea‐Bissau.” American Journal of Primatology 81 (9). PDF DOI
  • van der Hoop, Julie M., Margaret L. Byron, Karlina Ozolina, David L. Miller, Jacob L. Johansen, Paolo Domenici, and John F. Steffensen. 2018. “Turbulent Flow Reduces Oxygen Consumption in the Labriform Swimming Shiner Perch, Cymatogaster Aggregata.” Journal of Experimental Biology 221 (11): jeb168773. PDF DOI
  • Langrock, Roland, Timo Adam, Vianey Leos-Barajas, Sina Mews, David L. Miller, and Yannis P. Papastamatiou. 2018. “Spline-Based Nonparametric Inference in General State-Switching Models.” Statistica Neerlandica 72 (3): 179–200. PDF DOI
  • Miller, David L., and Mark V. Bravington. 2017. When Can Abundance Surveys Be Analysed with “Design-Based” Methods? SC/67A/ASI. International Whaling Commission. PDF
  • Reiss, Philip T., David L. Miller, Pei-Shien Wu, and Wen-Yu Hua. 2017. “Penalized Nonparametric Scalar-on-Function Regression via Principal Coordinates.” Journal of Computational and Graphical Statistics 26 (3): 569–78. PDF DOI
  • Mannocci, Laura, Jason J. Roberts, David L. Miller, and Patrick N. Halpin. 2017. “Extrapolating Cetacean Densities to Quantitatively Assess Human Impacts on Populations in the High Seas: Cetacean Densities in the High Seas.” Conservation Biology 31 (3): 601–14. PDF DOI
  • Dellabianca, Natalia A., Graham J. Pierce, Andrea Raya Rey, Gabriela Scioscia, David L. Miller, Mónica A. Torres, M. Natalia Paso Viola, R. Natalie P. Goodall, and Adrián C. M. Schiavini. 2016. “Spatial Models of Abundance and Habitat Preferences of Commerson’s and Peale’s Dolphin in Southern Patagonian Waters.” PLoS ONE 11 (10): e0163441. PDF DOI
  • Dias, Filipe S., David L. Miller, Tiago A. Marques, Joana Marcelino, Maria C. Caldeira, J. Orestes Cerdeira, and Miguel N. Bugalho. 2016. “Conservation Zones Promote Oak Regeneration and Shrub Diversity in Certified Mediterranean Oak Woodlands.” Biological Conservation 195: 226–34. PDF DOI
  • Miller, David L., and Len Thomas. 2015. “Mixture Models for Distance Sampling Detection Functions.” PLoS ONE 10 (3): e0118726. PDF
  • Winiarski, Kristopher J., M. Louise Burt, Eric Rexstad, David L. Miller, Carol L. Trocki, Peter W. C. Paton, and Scott R. 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–61. PDF DOI
  • Miller, David L., and Simon N. Wood. 2014. “Finite Area Smoothing with Generalized Distance Splines.” Environmental and Ecological Statistics 21 (4): 715–31. PDF DOI
  • Winiarski, Kristopher J., David L. Miller, Peter W. C. Paton, and Scott R. McWilliams. 2014. “A Spatial Conservation Prioritization Approach for Protecting Marine Birds given Proposed Offshore Wind Energy Development.” Biological Conservation 169: 79–88. PDF DOI
  • Winiarski, Kristopher J., David L. Miller, Peter W. C. Paton, and Scott R. McWilliams. 2013. “Spatially Explicit Model of Wintering Common Loons: Conservation Implications.” Marine Ecology Progress Series 492 (October): 273–83. PDF DOI
  • Miller, David L., M. Louise Burt, Eric A. Rexstad, and Len Thomas. 2013. “Spatial Models for Distance Sampling Data: Recent Developments and Future Directions.” Methods in Ecology and Evolution 4 (11): 1001–10. PDF DOI
  • Marra, Giampiero, David L. Miller, and Luca Zanin. 2012. “Modelling the Spatiotemporal Distribution of the Incidence of Resident Foreign Population: Spatiotemporal Smoothing of Resident Foreign Population.” Statistica Neerlandica 66 (2): 133–60. PDF DOI

Other stuff

Course materials

Materials from the courses “Intermediate distance sampling” given at CREEM, University of St Andrews, 2017/2018 and subsequent “Spatial modelling of distance sampling data” courses given online are available on the distance sampling website.

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.

Talks

Yes! You can do that in mgcv “Workshop on Ecological and Environmental Statistics” at Lancaster University, September 11-13 2023.

Finding your niche in statistics Plenary at Research Students’ Conference in Probability and Statistics, Sheffield University, 12 September 2023

Combining multiple data sources via GAM-based methods IBAHCM, University of Glasgow, 20 October 2021

Variance Propagation in Multi-stage GAM-based Models Statistics Canada 2021, Montreal (online), 17th July 2021

Variance Propagation for Density Surface Models. Virtual National Centre for Statistical Ecology meeting, UK, 17 June 2021

Accounting for detectability in spatially-explicit abundance models of cetaceans. Mathematical Biology seminar, University of Sheffield, UK, 18 February 2018.

Accounting for detectability in spatially-explicit abundance models of cetaceans. Talk at Matematisk institutt, Universitetet i Bergen, Bergen, Norway, 12 September 2017.

Where the whale-things are: Distribution, detectability and availability modelling for cetacean populations. Talk at the Department of Statistics, Iowa State University, Ames, IA, 13 February 2017.

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

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

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.

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.)

Contact me!

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