Trevor D. Ruiz

Appointments

California Polytechnic State University, San Luis Obispo

Assistant Professor | 2023-present

University of California, Santa Barbara

Visiting Assistant Professor | 2020-2023

Education

Oregon State University

Ph.D. Statistics | 2020

M.S. Statistics | 2017

Reed College

B.A. Philosophy | 2011

Interests

I’m an Assistant Professor in the Statistics Department at Cal Poly SLO, where I work on applied statistics, collaborations in biology and ecology, and undergraduate and master’s level teaching.

My interests and background in statistics are in methodology for high-dimensional data, model selection, multivariate analysis, and time series analysis. I especially enjoy applied projects that intersect with these areas.

I’m eager to work with student collaborators and most of my research agenda is designed with this in mind. If you’re interested in working with me, or would like to chat about what that might entail, please get in touch.

Current projects

[AY24-25] Covariate adjustment and dependent error models in sparse partial least squares for high-dimensional compositional data

Supported by the Research, Scholarly & Creative Activities Program awarded by the Cal Poly Division of Research

Increasingly, ecological surveys encompass sampling and metabarcoding of environmental DNA from water, soil, and other media. Such data can capture rich networks of ecological relationships and, when combined with traditional survey measurements, can be used to explore relationships between ecological communities. However, few current methods for the analysis of metabarcoding data incorporate covariate adjustments for environmental features or error models accounting for dependence between observations across space and time. This project aims to develop such adjustments in the context of partial least squares – a common modeling framework for high-dimensional compositional data – and illustrate their application to ecological data.

[AY24-25] Thermal ecology and energetic expenditure of rattlesnakes

Collaboration with Emily Taylor and Haley Moniz

This project focuses on understanding variation in thermoregulation and metabolism in rattlesnakes associated with physiology, behavior, and environmental attributes through analyses of high-resolution time series of internal body temperatures together with environmental and population covariates. Our current aim is to explore longitudinal, altitudinal, and climatic variability by comparing multiple populations across North America.

[AY25-26] Drivers of pH and oxygen variation in Morro Bay

Collaboration with Emily Bockman and Julia Schedler

This project seeks to model dynamic variability and dependence among seawater chemistry parameters (pH, dissolved oxygen, salinity, temperature, chlorophyll, and nitrate) in Morro Bay on multiple timescales, identify potential seasonal and environmental drivers of change, and consider potential biological and ecological implications of findings. Prior exploration of this data identified apparent and unexpected seasonal shifts in the relationships between parameters that exhibit correlations only during certain times. Our goal is to estimate dynamic co-variability describing how those relationships change over time. As a secondary objective, we will explore potential drivers of change using tidal and meteorological data from the site.

Recent publications & manuscripts

Listed in reverse chronological order; indicates student coauthors.

  • E.M. Reardon, N.E. Yee, T.D. Ruiz, H.A. Moniz, S.M. Boback, E.N. Taylor. Effects of reproductive status on standard metabolic rate of the prairie rattlesnake (Crotalus viridis) at high elevation site with a short active season. In preparation.

  • E.V. Satterthwaite, T.D. Ruiz, K.G. Chan, N. Patrick, M.N. Alksne, N.V. Patin, J. Dinasquet, R.H. Lampe, A.O. Shelton, L. Thomas, B. Semmens. Microbial and small plankton environmental DNA predicts density of blue, fin, and humpback whales in the southern California bight. In preparation.

  • T. D. Ruiz, S. Bhattacharyya, S. C. Emerson (2025). Sparse estimation of parameter support sets for generalized vector autoregressions by resampling and model aggregation. Journal of Statistical Computation and Simulation. [paper] [preprint] [code]

  • H. A. Moniz, J. H. Buck, H. L. Crowell, S. M. Goetz, T. D. Ruiz, S. M. Boback, E. N. Taylor (2024). High thermal quality rookeries facilitate high thermoregulatory accuracy in pregnant female rattlesnakes. Journal of Thermal Biology. [paper] [data] [code]

  • A. M. E. Ojwang', T. D. Ruiz, S. Bhattacharyya, S. Chatterjee, P. S. Ojiambo, D. H. Gent (2021). A general framework for spatio-temporal modeling of epidemics with multiple epicenters: application to an aerially dispersed plant pathogen. Frontiers in Applied Mathematics and Statistics. [paper]

Recent courses

I currently teach courses in probability, applied statistics, and data science. My broader teaching competence includes most areas of statistics at an advanced undergraduate or master’s level.

  • [STAT218] Applied statistics for life sciences: Winter 2024, Spring 2024, Winter 2025, Spring 2025
  • [STAT590] Graduate seminar in statistics: Winter 2025, (Winter 2026)
  • [STAT425] Probability theory: Fall 2023, Fall 2024, (Fall 2025)
  • (UCSB) [PSTAT197] Data science capstone: Winter 2022, Spring 2022, Fall 2022, Winter 2023, Spring 2023
  • (UCSB) [PSTAT100] Data science concepts and analysis: Spring 2021, Winter 2022, Spring 2022, Spring 2023

Recent student work

  • N.E. Yee, E.M. Reardon (2024). Modeling the baseline metabolic needs of prairie rattlesnakes (Crotalus viridis) based on reproductive status. 2024 Cal Poly SURP+ Symposium. [poster]

  • K. G. Chan (2024). Using plankton eDNA to estimate whale abundances off the California coast: data integration and statistical modeling. California Polytechnic State University. [thesis]

  • S. Rumsey, E. Ho, C. Zheng, N. Setiawan, J. Park (2023). Identifying case onset points for early detection of influenza-like illness. 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (SIGKDD’23). Poster presentation. [abstract]

  • L. Umsted, J. Liu, P. Trujillo, E. Burrell (2023). Understanding and modeling human mobility response to California wildfires. 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (SIGKDD’23). Poster presentation. [abstract]

  • M. Gupta, A. Adams (2022). A scrollytelling primer on hypoxia: developing a data storytelling tool to communicate ocean observing data to California citizens. CalCOFI Conference 2022: Innovative Techniques and Novel Applications of Time Series Data to Marine Resource Management. Contributed talk. [scrollytelling project]