Enter your data below as comma-separated values with one data point per line. For multiple features, use format x1,x2,...,y. Specify the number of principal components to use, and the calculator will perform PCR and provide statistics about the model quality and explained variance.
Principal Component Regression combines Principal Component Analysis (PCA) with linear regression. It first reduces the dimensionality of the data using PCA and then performs regression on the principal components.
PCR works in two main steps:
Dimensionality Reduction: PCA transforms the original features into a new set of uncorrelated variables called principal components, ordered by the amount of variance they explain.
Regression: Linear regression is performed using the selected principal components as predictors instead of the original features.
Key parameters include:
Use Principal Component Regression when:
Enter your data below as comma-separated values with one data point per line. For multiple features, use format x1,x2,...,y. Specify the number of principal components to use, and the calculator will perform PCR and provide statistics about the model quality and explained variance.