MS Excel Data Analysis: The Add-In With Many Uses

dataanalysisexcelmacMicrosoft’s spreadsheet application known as Excel, found in Microsoft Office, features graphing tools, calculation capabilities, pivot tables and many other helpful tools for its users. In addition to these default features, the user may choose to incorporate various add-ins offered by Microsoft at no cost. The add-in we are discussing today is the Analysis ToolPak which performs complex statistical and engineering analyses.

This particular Excel add-in is easy to install and use and saves the user time in performing complex analyses. Because these functions are quite complex and not needed by the average Excel user, they are not found in the default version of the program and it is necessary for the user to add them on his or herself.

Excel’s Data Analysis ToolPak for Mac is easy to install:

  1. Click the “Tools” tab at the top of the screen while in Excel.
  2. Then click “Add-Ins”
  3. Finally, check the box that says “Analysis ToolPak” then “OK”

The program will then take a few seconds to add this feature to Excel. After it is done loading, the user can access the Data Analysis ToolPak by clicking the “Tools” tab again at the top of the screen and then clicking “Data Analysis”, which now appears at the bottom of this pull-down menu.

After accessing Data Analysis, a box pops up with the various analysis tools. The next section will describe the various tools that the Data Analysis ToolPak has to offer.

Functions of the Analysis ToolPak

There are 19 different functions found within this feature. We won’t get into every one, as a few of them are subsets of more general functions.

  • The Anova analysis tools (single factor, two-factor with replication, two-factor without replication) provide different types of variance analysis. Anova is used to see if there is any difference between groups of some variable.
  • The Correlation worksheet calculates the correlation coefficient between two measurement variables when measurements on each variable are observed for each of N subjects. This tool examines a pair or measurement variables and determines whether they tend to move together, or correlate.
  • The Covariance tool can be used in the same setting as Correlation when you have N different measurement variables observed on a set of individuals, and like Correlation, it will give you an output table (matrix) that illustrates the covariance between the two variables.
  • The Descriptive Statistics tool generates a report of univariate statistics for data in the input range, providing information about the central tendency and variability of the data.
  • Exponential Smoothing predicts a value that is based on the forecast for the prior period, adjusted for the error in that prior forecast. It uses the smoothing constant a, the magnitude of which determines how strongly the forecasts respond to errors in the prior forecast.
  • The F-Test Two-Sample for Variances analysis tool performs a two-sample F-test to compare two population variances.
  • The Fourier Analysis tool solves problems in linear systems and analyzes periodic data by using the Fast Fourier Transform (FFT) method to transform data.
  • The Histogram analysis tool calculates individual and cumulative frequencies for a cell range of data and data bins. This tool generates data for the number of occurrences of a value in a data set.
  • The Moving Average analysis tool projects values in a forecast period, based on the average value of the variable over a specific number of preceding periods. A moving average provides trend information that a simple average of all historical data would mask. This tool might be used to forecast sales, inventory, or other trends. Each forecast value is based on the following formula.
  • The Random Number Generation analysis tool fills a range with independent random numbers that are drawn from one of several distributions and you can characterize the subjects in a population with a probability distribution.
  • The Rank and Percentile analysis tool produces a table that contains the ordinal and percentage rank of each value in a data set. You can analyze the relative standing of values in a data set.
  • The Regression analysis tool performs linear regression analysis by using the “least squares” method to fit a line through a set of observations. You can analyze how a single dependent variable is affected by the values of one or more independent variables.
  • The Sampling analysis tool creates a sample from a population by treating the input range as a population. When the population is too large to process or chart, you can use a representative sample. You can also create a sample that contains only the values from a particular part of a cycle if you believe that the input data is periodic.
  • The t-Test analysis tools test for equality of the population means that underlie each sample. The three sub features of this tool (paired two sample for means, two-sample assuming equal variances, two-sample assuming unequal variances) employ different assumptions: that the population variances are equal, that the population variances are not equal, and that the two samples represent before-treatment and after-treatment observations on the same subjects.
  • Finally, the z-Test tool performs a two sample z-Test for means with known variances. This tool is used to test the null hypothesis that there is no difference between two population means against either one-sided or two-sided alternative hypotheses.

What do These Tools Look Like in Use?

Here’s a few screenshots to show some of these handy tools in action.

anova results in the QI Macros for Excel

Above is an example of how the Anova feature would work.

And this is the correlation function in use.

Formatting cells as percentages

Finally, we have the rank and percentile tool pictured. Here, a teacher has put her students’ grades into the program and their grade (percentile) has been calculated from the data given.

While MS Excel for Mac can be utilized very effectively for relatively simple tasks, it can also perform very specific, complex analysis functions with the Data Analysis ToolPak add-in. Depending on how you need to analyze certain data and variables, Excel can accommodate even the most demanding users such as engineers, statisticians and business owners, among many others.