Welcome to the website of Gaston Sanchez, statistical programmer, data analyst, and faculty member at UC Berkeley and Berkeley City College.

The Saga of PLS

This text narrates the story behind the origins, development, and evolution of Partial Least Squares (PLS) methods. The perfect companion reading for any course, workshop, or seminar about PLS.
Read More

PLS Path Modeling with R

This book provides a hands-on introduction to Partial Least Squares Path Modeling (PLS-PM) using the R package "plspm"

Handling and Processing Strings in R

This book aims to help you get started with manipulating strings in R. It provides an overview of several resources for string manipulation, general topics, common operations, and other tricks.

Star Wars Arc Diagram

Inspired by the Similar Diversity project of Philipp Steinweber and Andreas Koller, I spent some time to produce my own version of an arc diagram… based on the Star Wars movie scripts.
Read More

Mining Twitter

I setup a compilation of short scripts to analyze tweets with R. Although this project has been deprecated, most of its content might help you to get some inspiration and try your own analysis.
Visit it