input data

read in a plain text file with variable names and assign a name to it

checking data

structure of data

first 6 rows

descriptive statistics

variable mean

variable sd

correlation matrix

plot data

specify square plot region

scatter plot of math2 by math1

regression analysis

regress math2 by math1

diagnostics

specify maximum plot region