STAT-445/645: Applied Multivariate Analysis
2026 Spring Term: Jan 5 – Apr 10
Assignment 1 (Due on Friday Jan 23 by 11:59 pm)
Textbook: “Applied Multivariate Statistical Analysis (6th Edn)”, by R.A.
Johnson and D.W. Wichern.
Instruction:
• Marking will focus on correctness and clarity. We will not deliberately penalize minor technical or formatting issues. So do not spend
excessive time worrying about small details.
• Show your main steps clearly and explain your reasoning when appropriate.
• Make your final answers easy to identify.
• Provide relevant R code only when requested.
• Compile all your answers into one single PDF file and submit it
through Canvas.
• Please verify that your PDF file is complete and readable before submission.
Problem 1. (4pt) Consider the 2 × 2 matrix
!
A=
5
13
12
− 13
12
13
5
13
(a) Check whether A is an orthogonal matrix.
(b) Confirm your results using R (provide the R code).
Problem 2. (10pt) Textbook: Q2.30, on page 107.
Problem 3. (14pt) In this problem, we work with a multivariate dataset
collected by the Australian Institute of Sport (AIS), which has been widely
used in sports science and biostatistics research. The dataset contains physiological and anthropometric measurements on a group of elite Australian
athletes. Detailed descriptions of the variables can be found in the file
1
ais info.txt posted on Canvas. A cleaned version of the dataset has also
been provided as a CSV file on Canvas.
Instructions. Download the CSV file from Canvas and read the data into
R. For example, you may use dat <- read.csv("./ais.csv") (replacing
“.” with the your file path), or any other suitable function to import the
data. All subsequent questions in this problem should be based on this
dataset.
(a) Check the dataset and report the following (provide R code):
(i) the number of observations;
(ii) the number of variables;
(iii) the number of numerical variables.
(b) Compute the sample correlation matrix for first 5 numerical variables.
Check: is this matrix positive definite? (Provide R code.)
(c) Produce a correlation heatmap for all numerical variables. Identify the
numerical variables whose absolute correlation with LBM (lean body
mass) is greater than 0.5.
(d) Produce a scatter matrix including LBM and the numerical variables
identified in part (c). Comment on the main patterns you observe,
focusing on the associations between LBM and the other variables.
(e) Reproduce the scatter matrix in part (d), with points color-coded by
sex. Comment on any additional structure or differences that become
apparent after accounting for sex.
(f) Create a new numerical variable defined as
FatProxy = Wt − LBM.
Calculate and report the sample mean of FatProxy. (Provide R code.)
(g) Let the sample mean vector of Wt and LBM be
x̄′ = Wt LBM ,
and let
b′ = 1 −1 .
Compute the linear combination b′ x̄. Compare your result with the
sample mean of FatProxy obtained in part (f). Are the two quantities
the same? (Provide R code.)
2