I am a lecturer at Stanford University’s Hopkins Marine Station, where I teach courses in kelp forest ecology, statistics, and scientific computing. This site serves as the central teaching repository. I also maintain some relevant material for setting up R and related software - see the navigation bar above for details.



A list of the courses offered at Hopkins Marine Station can be found here:


Applications for the undergraduate program can be found here:



A bit more info on my upcoming courses can be found below:


Statistical Modeling (Biohopk-140h)

Introduction to applied statistical modeling in a Bayesian framework. Topics will include probability, regression, model comparison, and hierarchical modeling. We will take a hands-on, computational approach (R, Stan) to gain intuition so that students can later design their own inferential models. Prerequisites for this course include introductory statistics and some calculus or linear algebra, as well as previous exposure to scientific computing. Open to graduate students; undergraduate students may enroll with consent of instructor.

Offered Winter 2019.


Experimental Design and Probability (Biohopk-174h)

Variability is an integral part of biology. Introduction to probability and its use in designing experiments to address biological problems. Focus is on experimental design and the use of linear models in testing hypotheses (e.g., analysis of variance, regression). Students will use R to explore and analyze locally relevant biological datasets. No programming or statistical background is assumed.

Offered Spring 2019.


Introduction to Research in Ecology and Ecological Physiology (Biohopk-47)

This course is a field-based inquiry into rocky intertidal shores that introduces students to ecology and environmental physiology and the research methods used to study them. Students will learn how to detect patterns quantitatively in nature through appropriate sampling methods & statistical analysis. Following exploration of appropriate background material in class and through exploration of the scientific literature, students will learn how to formulate testable hypotheses regarding the underlying causes of the patterns they discern. A variety of different aspects of ecology and physiology will be investigated cooperatively by the students during the quarter, culminating in development of an individual final paper in the form of a research proposal based on data collected during the course. The course will provide a broad conceptual introduction to the underlying biological principles that influence adaptation to the planet’s dynamic habitats, as well as inquiry-based experience in how to explore and understand complex systems in nature.

Offered Spring 2019.
Co-taught with Dr. Mark Denny.


Ecology and Conservation of Kelp Forest Communities (Biohopk-185h)

Five week course. Daily lectures, labs, and scuba dives focused on scientific diving and quantitative ecological methods in kelp forests. Students will be trained as scientific divers in accordance with the standards set by the American Academy of Underwater Scientists (AAUS). Topics include identification and natural history of resident organisms, ecological processes, and subtidal field techniques. Class projects will contribute to long-term monitoring at Hopkins Marine Station. Prerequisites: consent of instructor, advanced SCUBA certification, a minimum of 12 open water dives in temperate waters, and SCUBA equipment (HMS can provide tanks).

Offered Summer 2019.

The dates for this course will be June 24-July 26. The application is due April 15, and is here:




elahi at stanford dot edu

120 Ocean View Blvd
Hopkins Marine Station
Pacific Grove, CA 93940