Call the USArrests data into R. The dataset contains crime data for the fifty states A) Form new principal components va
Posted: Sun May 15, 2022 8:27 am
Call the USArrests data into R. The dataset contains crime data
for the fifty states
A) Form new principal components variables from the four
original variables. Recode the variables as 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.
for the fifty states
A) Form new principal components variables from the four
original variables. Recode the variables as 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.