statsmodels.multivariate.pca.PCA.plot_rsquare

PCA.plot_rsquare(ncomp=None, ax=None) [source]

Box plots of the individual series R-square against the number of PCs

Parameters:
  • ncomp (int, optional) – Number of components ot include in the plot. If None, will plot the minimum of 10 or the number of computed components
  • ax (Matplotlib axes instance, optional) – An axes on which to draw the graph. If omitted, new a figure is created
Returns:

fig – Handle to the figure

Return type:

figure

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.multivariate.pca.PCA.plot_rsquare.html