This repository provides the necessary R and stan scripts to fit a joint species, spatially dependent physiologically guided abundance (jsPGA) model (Custer et al. 2024) to fishes from over 11,000 Midwestern US lakes in an effort to predict the effects of climate change on their abundance, distributions, and extirpation probabilities.