Tutorial:Analysis Themes

From Howto Wiki

Jump to: navigation, search


Contents

Summary

In Origin 8, analysis procedures can be controlled by Themes. Themes are actually XML files which save settings in the analysis dialog.For example, after performing the analysis, there will now be a <Last Used> theme for this dialog which has saved the most recently used settings. You can assign a proper name for the theme and use it in the future.

For this tutorial, the Statistics on Columns dialog will be used to demonstrate how to create and use an analysis theme. This analysis provides descriptive statistics about the data such as mean, standard deviation, minimum, maximum, and more. For visualization, a histogram or box chart can also be created in the Analysis Result Sheet.

Minimum Origin Version Required: Origin 8.0 SR6

What you will learn

This tutorial will show you how to:

  • Perform simple descriptive statistics
  • Create an Analysis Theme
  • Use the theme


Steps

Save the analysis procedure as Theme

  1. Start with a new workbook and import the file \Samples\Statistics\automobile.dat.
  2. Highlight column C and use the menu item Statistics: Descriptive Statistics: Statistics on Columns to open the dialog.
  3. Expand the Moments tree node, and check the N Total, Mean, Standard Deviation, SE of Mean and Sum box.
  4. Expand the Plots tree node, and check the Histograms and Box Charts check boxes. You will then get the corresponding histogram as well as box chart graphs.
  5. Your selections in this analysis dialog can be saved as your theme, so that you may easily repeat the procedure. Click the "Save Theme as..." button:

    Image:Tutorial_Statistics_001.png

    to bring up this dialog:

    Image:Tutorial_Statistics_002.png

  6. Type a proper theme name, such as "MyTheme" and click OK button.

  7. Click the OK button in the Statistics on Columns dialog. You will see the result in a new worksheet named DescStatsOnCols1.

Image:Tutorial_Statistics_003.png

Repeat the analysis procedure by Theme

Once you save a theme, there are many ways to use it. For example, you can highlight column E and perform the same statistics on it.

  • Open the Statistics on Columns dialog from the Most Recently Used menu. Most of the menu accessible dialogs can be found from MRU.

    Image:Tutorial_Statistics_004.png

    When you open the dialog from MRU, the default theme is <Last Used>. To use the MyTheme theme, select MyTheme from the Dialog Theme drop-down list. The settings from that theme will then be displayed in the dialog. Click the OK button to do the analysis.

    Image:Tutorial_Statistics_005.png

  • Another way to apply the analysis theme is to use the cascaded menu item. Once you use an analysis dialog, or save a theme for a dialog, there will be one more menu level added. You can choose the MyTheme menu.

    Image:Tutorial_Statistics_006.png

    When selecting, Open Dialog..., the dialog will open to the <Factory Default> theme. To change the settings of your theme, you can select your theme name from the Dialog Theme drop-down list inside the dialog, make changes, and resave the theme. Alternatively, to open a dialog with a saved theme without performing the analysis, hold down the shift key while selecting the theme from the menu. This will bring up the dialog with your theme applied so you can make changes as needed.

Personal tools