# 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.

## About the authors

### Zhiyong Johnny Zhang

Dr. Zhiyong Johnny Zhang is an Associate 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 2022 at the University of Notre Dame.

### Lijuan Peggy Wang

Dr. Lijuan Peggy Wang is an Associate 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.
- Basics of R
- Data in R
- Graphs in R
- Hypothesis testing
- Confidence interval
- t-test
- ANOVA
- Simple Regression
- Multiple Regression
- Logistic regression
- Moderation analysis
- Mediation analysis
- Path analysis
- Factor analysis
- SEM
- Multilevel regression
- Longitudinal data analysis
- Power analysis

## How to cite the book?

To cite the book, use

Zhang, Z. & Wang, L. (2017). *Advanced statistics using R*. [https://advstats.psychstat.org]. Granger, IN: ISDSA Press. 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). *Advanced statistics using R*. [https://advstats.psychstat.org]. Granger, IN: ISDSA Press. ISBN: 978-1-946728-01-2.