Get startedGet started for free

Number of PCs for the state.x77 dataset

The state.x77 data is a matrix with 50 rows and 8 columns that includes the variables: Population, Income, Illiteracy, Life, Exp Murder, HS Grad, Frost, and Area for each of the 50 states in the United States. You can use the console to explore the data.

If you perform PCA on the full dataset, how many PCs will you get?

This exercise is part of the course

Multivariate Probability Distributions in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise