Statistics, psychology, and other stories


Esteban Montenegro, PhD.


February 25, 2023

1 Preface

1.1 Welcome to my lab book!

I’m excited to share R exercises, and cutting edge strategies to analyze data sets based on interesting hypothesis. This book is oriented to teach basics in R language for undergraduate students at California State University, Stanislaus. It is likely that the content and exercises will change every semester. This is a book in constant progress, and the changes will be based on my experience teaching PSYC 3000 Experimental Methods & Design.

1.2 How to use this book?

Each chapter is located in the left panel where you will be able to click the chapter you need to revise. All chapters will contain examples and questions that will be helpful to understand different features and options in R. ’

I advise to check the book every week because I will update the chapters as the class progresses over the semester. I hope at some point to stop making changes, but given that this is a beta version, content might change.

If you have any question, or if you’d like make recommendations please send me an email at