Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago