Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone walk me through how to complete this in R? Thank you Perform PCA on the Iris data. http://www.instantr.com/2012/12/18/performing- a-principal-component-analysis-in-r/ To view the dataset,

Can someone walk me through how to complete this in R? Thank you

image text in transcribed Perform PCA on the Iris data. http://www.instantr.com/2012/12/18/performing- a-principal-component-analysis-in-r/ To view the dataset, simply type iris at the R prompt. We will not build a regression model for this dataset. Let's just explore the nature of the relationships be- tween the predictor variables. Run PCA (not PCR) on the variables Sepal. Length, Sepal. Width, Petal.Length, and Petal. Width. (a) List the eigenvalues in order from highest to lowest, along with the percentage of variation captured by each principle component. (b) What is the total variation captured by the first component? What is the total variation captured by the first two components? The first three? All four? (c) Make a scree plot. How many principle components do you think are enough to adequately describe the variation in the data? (d) What do the loadings for the components indicate? Be specific. (e) What do the scores for the observations tell you

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

College Algebra

Authors: Mark Dugopolski

5th Edition

0321899822, 9780321899828

More Books

Students also viewed these Mathematics questions

Question

2. Develop a good and lasting relationship

Answered: 1 week ago

Question

1. Avoid conflicts in the relationship

Answered: 1 week ago