Welcome!

You are visiting the website for the online textbook Advanced Statistics written by Zhiyong Johnny Zhang and Lijuan Peggy Wang. The book is based on and used for the Advanced Statistics class taught by the authors at the University of Notre Dame. You can also download a PDF version of the book directly.

This book is free to view. However, there are many advantages to register as a user. For example, after login, a user can add bookmarks easily. Registered users can also ask and answer questions. You can Log in using your AdvStats account or your Google account right now. To register now for an AdvStats account if you don't have a Google account, click here. You can also subscribe for more benefits. For example, after subscription, a user can directly conduct analysis using R within the webpage while reading the book. More information is available at how to use.

We have also created a Python version of the book. You can access the Python version of the book here.

About the authors

Zhiyong Johnny Zhang

Dr. Zhiyong Johnny Zhang is a Professor in quantitative psychology in the Department of Psychology at the University of Notre Dame. He is interested in developing and applying statistical methods and software in the areas of psychology, education and health research. He has taught Advanced Statistics from 2010 to 2013 and from 2016 to 2024 at the University of Notre Dame.

Lijuan Peggy Wang

Dr. Lijuan Peggy Wang is a Professor in quantitative psychology in the Department of Psychology at the University of Notre Dame. Her research interests are in the areas of longitudinal data analysis (e.g., methods and models for studying intra-individual change, variability, and relations, and inter-individual differences in them), multilevel modeling (e.g., dyadic data analysis), structural equation modeling (e.g., mediation analysis), and study design issues (e.g., sample size determination). She has taught Advanced Statistics in 2014 and 2015 at the University of Notre Dame.

Table of Contents

You can bring up the Table of Contents by clicking on "Table of Contents" on the top of the page. The data used in the book can be found here: Example datasets.
  1. Basics of R
  2. Data in R
  3. Graphs in R
  4. Hypothesis testing
  5. Confidence interval
  6. t-test
  7. ANOVA
  8. Simple Regression
  9. Multiple Regression
  10. Logistic regression
  11. Moderation analysis
  12. Mediation analysis
  13. Path analysis
  14. Factor analysis
  15. SEM
  16. Multilevel regression
  17. Longitudinal data analysis
  18. Power analysis

How to cite the book?

To cite the book, use

Zhang, Z. & Wang, L. (2017-2022). Advanced statistics using R. Granger, IN: ISDSA Press. https://doi.org/10.35566/advstats. ISBN: 978-1-946728-01-2.

Acknowledgment

The development of the website was partially supported by the digital learning initiatives at the University of Notre Dame.

To cite the book, use: Zhang, Z. & Wang, L. (2017-2022). Advanced statistics using R. Granger, IN: ISDSA Press. https://doi.org/10.35566/advstats. ISBN: 978-1-946728-01-2.
To take the full advantage of the book such as running analysis within your web browser, please subscribe.