Save and reuse settings of an analysis, example of Principal Component Analysis

Conjunto de datos para Análisis de Componentes Principales (ACP) ARCHIVE76.4 KB

Vídeo de tutorial
Análisis de Componentes Principales (ACP) es parte de : Descargar evaluación Más detalles Ver los comentarios del usuario

Ventajas

  • Sencillo y dirigido a los usuarios
    Sencillo y dirigido a los usuarios XLSTAT es un software que se integra de forma transparente con Microsoft Excel, que es la hoja de cálculo más difundida del mundo. Esta integración hace que sea una de las herramientas más sencillas para trabajar ya que utiliza la misma filosofía que Microsoft Excel. El programa está disponible en una ficha de XLSTAT. Los análisis se agrupan en menús funcionales. Los cuadros de diálogo están dirigidos a los usuarios, por lo que la preparación de los análisis es tarea sencilla.
  • Resultados y datos compartidos sin dificultad
    Resultados y datos compartidos sin dificultad Una de las mayores ventajas de XLSTAT es la forma transparente con la que se pueden compartir los datos y los resultados. Los resultados se almacenan en Microsoft Excel de modo que cualquier usuario puede acceder a ellos. No es necesario que el destinatario tenga una licencia de XLSTAT o cualquier visor adicional, lo que facilita y rentabiliza el trabajo en equipo. Del mismo modo, es fácil integrar los resultados en otras aplicaciones de Microsoft Office, como PowerPoint, por lo que se pueden crear estupendas presentaciones en cuestión de minutos.
  • Modular
    Modular XLSTAT es un producto modular. XLSTAT-Pro es un módulo principal de estadística de XLSTAT, que incluye todas las funcionalidades dominantes en el análisis estadístico y multivariado. Es posible añadir funciones más avanzadas por medio de módulos complementarios para aplicaciones específicas. De este modo es posible adaptar el software a sus necesidades, aumentando la rentabilidad.
  • Didáctico
    Didáctico Los resultados de XLSTAT están organizados por análisis y es fácil desplazarse por ellos. La información útil se proporciona junto con los resultados para ayudarle en su interpretación.
  • Asequible
    Asequible XLSTAT es una solución completa y modular que se puede ajustar a cualquier necesidad de análisis comercial. Tiene un precio muy razonable, por lo que el retorno de su inversión es casi inmediato. Todas las licencias de XLSTAT incluyen también un servicio de asistencia de la mayor calidad.
  • Accesible: disponible en muchos idiomas
    Accesible: disponible en muchos idiomas Nos hemos asegurado de que XLSTAT sea accesible para todos traduciendo el programa a muchos idiomas, incluyendo chino, inglés, alemán, italiano, japonés, polaco, portugués y español.
  • Automatizable y personalizable
    Automatizable y personalizable La mayoría de las funciones estadísticas disponibles en XLSTAT pueden llamarse directamente desde la ventana Visual Basic de Microsoft Excel. Pueden modificarse e integrarse en código fuente adicional para ajustarse a sus necesidades. Añadir tablas y trazados, así como modificar los resultados existentes se convierte en tarea sencilla. Además, XLSTAT incluye algunas herramientas especiales en los cuadros de diálogo para generar automáticamente el código fuente VBA para reproducir su análisis empleando el editor de VBA o simplemente cargar ajustes predeterminados. Esta automatización de análisis rutinarios sin esfuerzo le ahorrará gran cantidad de tiempo.

Datasets for saving and reusing VBA codes

Two Excel workbooks with both the data and the results can be downloaded by clicking here. The data used is the process of food measurements samples.

Generating the settings to reuse

We are going to create a Principal component analysis template on one dataset and use it on the second.

Open the first file called Automation_1.xls.

Enabling advanced options

Once XLSTAT-Pro is activated, go to the menu Options, and in the tab Advanced enable the option named Show the advanced buttons in the dialog boxes.

Principal Component Analysis

Setting up an analysis - example of Principal Component Analysis

Then select the XLSTAT / Analyzing data / Principal components analysis command, or click on the corresponding button of the Analyzing Data toolbar (see below).

Principal Component AnalysisPrincipal Component Analysis software

In the General tab, set the following:

  • Observations/variables table: Columns B to G
  • Data format: Observations/variables table
  • PCA type: Pearson (n)
  • Variable labels: enabled
  • Observation labels: ticked and select the column A for the sample name
  • Sheet: chosen to display the results in a new sheet

Principal Component Analysis software

Go to the next tab Options. For the option Filter factors, choose Maximum number and set the value to six. This way all the components will be calculated.

Principal Component Analysis in Excel

Go to the tab Outputs. Here we want to get a synthetic report so we will only select the following:

  • Eigenvalues,
  • Factor Loadings,
  • Variables/Factors correlations,
  • Factor scores.

Principal Component Analysis package

Finally we are going to use all three plots that can be selected in the Charts tab:

  • Correlation charts
  • Observations charts
  • Biplots

Principal Component Analysis tools

Now we have specified all the settings we will save the code to be reused.

Generating and saving the settings to be reused

Click on the red button at the bottom left of the dialog box.

Principal Component Analysis with MS Excel

Save the code under a name that is easy for you to remember, for example in this case we use "PCArecipe1".

Principal Component Analysis PCA

Press OK to launch the analysis.

Results of the Principal Component Analysis

Choose the plot for the axes F1 and F2 by clicking Select, then change the selection to Abscissa F3 and Ordinates F4. Once you have completed this, simply click again on Select and then press Done.

Principal Component Analysis tutorial

Take a look at the biplot (shown below).

Principal Component Analysis software Excel

This process is usually to be stable so we can expect little variation. You can see that all the samples are centered tidily around the middle of the plot.

Reusing the settings

Now open the second file Automation_2.xls

Go to the menu Analyzing data / Principal Component Analysis and when the dialog box is open click on the blue button to load the code.

Principal Component Analysis

Select the code "PCArecipe1.txt".

The settings are automatically established. So now simply click on Continue and have a look at the biplot.

Principal Component Analysis biplot

This time one of the samples seems to be further away than the other samples. The sample 13 may be an outlier.

Have a look at this video to see how to save and reuse the parameters of an analysis in XLSTAT.