Chapter 1 Prerequisites

Before we talk about regression theory, we need to review some basic statistical inference methods and matrix algebra.

This book referred from many books including rowlings’ “Applied Regression Analysis: A research Tool”. β=(XX)1Xy.

A matrix is a square shape array of numbers (sometimes can be string). In this book, boldface letters mean matrices. For example, A=(651547318268167).

This is a sample book written in Markdown. You can use anything that Pandoc’s Markdown supports, e.g., a math equation a2+b2=c2.

The bookdown package can be installed from CRAN or Github:

Remember each Rmd file contains one and only one chapter, and a chapter is defined by the first-level heading #.

To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): https://yihui.name/tinytex/.