Question: n this problem, you will practice PCA on the BOST ON dataset from the library M ASS. (a) First, scan through the dataset and remove

n this problem, you will practice PCA on the BOST ON dataset from the library M ASS. (a) First, scan through the dataset and remove the categorical variable(s) from the dataset, because PCA only works for numerical variables. (b) Remove the variable medv so you can perform PCA on the rest of the variables. (c) Use prcomp() function in R to perform PCA. Make sure that you set scale = T RU E, so R will do the data scaling for you automatically. Report the standard deviation of each principle component. 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!