My homework solutions (in R) of the Ph.D. level statistics course (STAT 608) at Texas A&M University.
Reference Book : A Modern Approach to Regression with R by Simon J. Sheather
Topics covered:
- Simple Linear Regression
- Diagnostics and Transformations for Simple Linear Regression
- Weighted Least Squares
- Multiple Linear Regression
- Diagnostics and Transformations for Multiple Linear Regression
- Variable Selection
- R^2
- AIC, AIC_c, BIC
- All possible subsets
- Stepwise (Backward Eimination, Forward Selection)
- LASSO
- Logistic Regression
- Serially Correlated Errors (AR(1) Models)
The solutions are written in LaTeX and given in pdf format. All the codes are generated in R programming language. I believe there are imperfect answers; thus, some of them needs to be improved, since this course was my first encounter with R and Statistics :)