The Stanford Geostatistical Modeling Software (SGeMS) is an open-source computer package for solving problems involving spatially related variables. It provides geostatistics practitioners with a user-friendly interface, an interactive 3-D visualization, and a wide selection of algorithms. This practical book provides a step-by-step guide to using SGeMS algorithms. It explains the underlying theory, demonstrates their implementation, discusses their potential limitations, and helps the user make an informed decision about the choice of one algorithm over another. Users can complete complex tasks using the embedded scripting language, and new algorithms can be developed and integrated through the SGeMS plug-in mechanism. SGeMS is the first software to provide algorithms for multiple-point statistics, and the book presents an up-to-date discussion of the corresponding theory and applications. Incorporating a CD-ROM with SGeMS software, this book is an essential user-guide for Earth Science graduates and researchers, as well as practitioners of environmental, mining and petroleum engineering.