Question: Question 3 Call the USArrests data into R. R > attach(USArrests) Murder: State murder arrest rate (per 100,000) Assault: State assault arrest rate (per 100,000)
Question 3 Call the USArrests data into R. R > attach(USArrests) Murder: State murder arrest rate (per 100,000) Assault: State assault arrest rate (per 100,000) UrbanPop: Percent urban population Rape: State rape arrest rate (per 100,000) A) Form principal components variables from the original variables. Recode the variables: X1= Murder, X2= Assault, X3= UrbanPop, and X4= Rape. B) How many principal component variables should be chosen from Part A? Justify your answer. C) Produce a histogram of the first principal component scores. D) Find the first and second principal component scores from an observation containing the values of x1=10,x2=200,x3=60, and x4=20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
