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

Datensatz für Hauptkomponentenanalyse (HKA) ARCHIVE76.4 KB

Videos für dieses Tutorial
Hauptkomponentenanalyse (HKA) ist enthalten in: Download Demoversion Mehr Details Kommentare ansehen
  • Pro Statistische Kernsoftware

  • Voraussetzungen

    • Windows:
      • Versionen: 9x/Me/NT/2000/XP/Vista/Win 7
      • Excel: 97 oder höher
      • Prozessor: 32 oder 64 bit
      • Festplattenspeicher: 150 MB
    • Mac OS X:
      • OS: OS X
      • Excel: X, 2004 und 2011
      • Festplattenspeicher: 150 MB

Vorteile von XLSTAT

  • Praktisch und einfache Benutzung
    Praktisch und einfache Benutzung XLSTAT ist perfekt in Microsoft Excel integriert, das das am meisten benutzte Tabellenkalkulationsprogramm ist. Dank dieser Integration und der gleichen Philosophie wie Excel, ist die Benutzung von XLSTAT leicht. Die Software ist in einem speziellen Reiter verfügbar, der das Menu der XLSTAT-Module enthält. Die verfügbaren Analysen sind in Gruppen ähnlicher Funktion zusammengefasst. Die Dialogfenster sind einfach und Ihre Einstellungen verständlich.
  • Einfaches Mitteilen der Daten und Ergebnisse
    Einfaches Mitteilen der Daten und Ergebnisse Einer der größten Vorteile von XLSTAT ist die Tatsache, das die Daten und Ergebnisse ohne Einschränkung kommuniziert werden können. Denn die Daten und Ergebnisse werden in Microsoft Excel gespeichert und sind daher allen zugänglich. Eine XLSTAT Lizenz oder ein Programm zur Ansicht ist nicht erforderlich, um die Daten und Ergebnisse zu empfangen und anzusehen. Darüber hinaus sind die Ergebnisse leicht in andere Programme von Microsoft Office, wie PowerPoint kopierbar, was Ihnen das Erstellen von Präsentationen mit ausgezeichneten Diagrammen in wenigen Minuten erlaubt.
  • Modular
    Modular XLSTAT ist ein modulares Produkt um XLSTAT-Pro herum, das die Basissoftware von XLSTAT darstellt. XLSTAT-Pro schließt bereits alle verbreiteten statistischen Funktionen und multivariaten Datenanalysen ein. Die fortgeschrittenen Funktionen sind ebenfalls in zusätzlichen Modulen verfügbar, die speziellen Anforderungen gerecht werden. So können Sie Ihre Software an Ihre eigenen Anforderungen anpassen, was sie attraktiver werden lässt.
  • Didaktisch
    Didaktisch Die XLSTAT Ergebnisse sind nach Analysen aufgebaut und einfach durchzublättern. Darüber hinaus sind den Ergebnissen nützliche Informationen hinzugefügt, um die Interpretation zu erleichtern.
  • Preiswert
    Preiswert XLSTAT ist eine modulare, komplette Statistik- und Datenanalysesoftware, die sich an alle Ihre analytischen Anforderungen Ihrer Organisation anpasst. Der Preis ist sehr gering, was Ihnen eine quasi sofortige Amortisierung erlaubt. Alle XLSTAT Lizenzen schließen ein Support und eine Unterstützung hervorragender Qualität ein.
  • Zugänglich
    Zugänglich Wir setzen uns ein, XLSTAT so vielen Personen wie möglich durch eine Benutzerschnittstelle in vielen Sprachen darunter Deutsch, englisch, französisch, spanisch, italienisch, portugiesisch, polnisch, chinesisch und japanisch zugänglich zu machen.
  • Automatisierbar und personalisierbar
    Automatisierbar und personalisierbar Die Mehrzahl der in XLSTAT verfügbaren Funktionen können direkt aus Visual Basic for Applications von Microsoft Excel heraus aufgerufen werden. Sie können in Ihre Routinen integriert werden, um Ihren Anforderungen einer speziellen Anwendung gerecht zu werden. Das Hinzufügen von Ergebnistabellen, Diagrammen, oder das Verändern bereits existierender ist vereinfacht. Darüber hinaus schließt XLSTAT die Werkzeuge zur Erzeugen des VBA Kodes für die Dialogfenster ein, so dass Sie Ihre Analysen vom VBA Editor heraus einfach reproduzieren können, indem Sie die Einstellungen automatisch laden. Diese Automatisierung der Analysen wird Ihnen viel Zeit einsparen.

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.