Question
RStudio Assignment Principal Component Analysis (PCA): Use the Wine_Quality_Training_File data set available on Canvas, for this exercise. The data consist of chemical data about some
RStudio Assignment Principal Component Analysis (PCA): Use the Wine_Quality_Training_File data set available on Canvas, for this exercise. The data consist of chemical data about some wines from Portugal. The target variable is quality. Remember to omit the target variable from the dimension-reduction analysis. Use only the red wines for the analysis (Hint: Subset your data and save it in a separate dataframe).
(a) Perform some initial exploratory analysis on your dataset
. (b) Standardize the predictors.
(c) Provide a matrix showing the correlation coefficients of each predictor with each other predictor. Use some type of visualization technique to display the correlations so that the reader can easily see at a glance, which are the strongest correlations. Discuss which sets of predictors seem to vary together.
(d) Run PCA on the standardized variables.
(e) Determine the optimal number of components to extract, using: The Eigenvalue Criterion, The Proportion of Variance Explained Criterion The Scree Plot Criterion
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started