University of Sheffield Back to Nick Fieller's homepageDepartment of Probability and Statistics

Basics of Matrix Algebra with R

(Notes to accompany MAS6011/MAS465 & MAS6003/MAS463/MAS363)
(Last updated 17/08/09)

The aim of these notes is to provide a guide to elementary matrix algebra sufficient for undertaking the courses on Multivariate Data Analysis and Linear Models. In fact the notes go a little further than this, providing an initial guide to more advanced topics such as generalized inverses of singular matrices and manipulation of partitioned matrices. This is to provide a first step for those who need to go a little further than just the MSc courses on Multivariate Data Analysis and Linear Models, for example when embarking on the dissertation. As well as describing the basics of matrix algebra, including numerical calculations ‘by hand’, for example of matrix multiplication and inversion, the notes give guidance on how to do numerical calculations in R and S-plus.

Lecture notes:

Notes & Exercises

Solutions to exercises:

Solutions (Exercises 1 & 2)

Back to Top

Department of Probability and Statistics School of Mathematics and Statistics
University of Sheffield Contacting the Department Search the University Feedback on Departmental web site

Department of Probability and Statistics
This page is maintained by Dr Nick Fieller and was last updated on 17 August 2009.