Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

could you help me part B please . I would like to know what codes should I use t

ID: 3151979 • Letter: C

Question

could you help me part B please .
I would like to know what codes should I use to do this .
thanks
Part A.....generate a simulated data set with 20 observations in each of the three classes ( 60 absevations total ) and 50 variables. hint : in R you can use rnorm ( ) or runif ( ) to generate data for their corresponding distributions. be sure to add a mean shift to the absevations in each class so there are three distinct classes
B...perform PCA on the 60 absevations and plot the first two principal component score vectors. Use a different color to indicate the observations in each of the three classes. Do this until you see a separation in the three classes. Explain how you were able to get this separation

Explanation / Answer

Solutions : PART A)

Solutions : PART B)