contains a collection of
analytic tools I developed over the years for instructional
purposes. These add-ins are now bundled under a single
menu in Excel’s Add-Ins tab. This
version of the suite works with Office 2010 or newer. If
you have Office 2007 or older, you can still install the older,
Add-Ins. In this new suite you will find the following tools, which
work with data of
reasonable sizes for instructional purposes:
produces a word cloud that represents both the frequency and the
adjacency of words across multiple documents. First, it performs
basic text-mining. Then it produces adjacency measures and
finally maps these adjacencies using Multidimensional Scaling or
Multiple Correspondence Analysis.
Data merge by keys –
allows you to merge two sheets by up to three common key-columns.
This is something I know how to do using VLOOKUP, but only with a
single key column.
Scatterplot with labels – does something I don’t know
with Excel, namely, scatter-plotting data with meaningful labels for
3D Scatterplot – simple
produce and rotate 3D scatterplots; all you need is a label and three
coordinates for each data point.
clustering – the good-old workhorse for
classifying cases based on
Class Analysis –
(or finite mixture) analysis for categorical or ordinal data.
It may also be used with interval-scaled (i.e.,
Likert scale) data.
popular space-reduction technique in Europe (particularly in France)
Principal Components Analysis
another extremely popular space-reduction technique, for continuous
Dynamic Factor Analysis
– similar to Principal
except that the factor scores represent smooth (after filtering out
noise) latent trends over time. Great for Trendspotting!.
tool for unfolding a symmetric table of distances or dissimilarities
cases into a multidimensional scatterplot.
Stepwise Regression – a
straightforward linear regression with stepwise selection of predictors.
Stochastic Frontier Regression
linear regression with asymmetric errors.
In other words, the “regression” line is fitted around
(maximization) or bottom (minimization) of the cloud of points.
Logistic Regression –
fits a binary
logistic regression, but before doing that, allows you to select
based on their Gini and AUC coefficients.
It also allows you to test the predictive performance
of your logistic
regression on a holdout sample.
Local Geographic Regression
Estimates one regression for each data point, using data from its
this, you must have the
coordinates for each data point, which are used to determine the
Regression – Performs a space
reduction in a set of predictors while simultaneously maximizing the
fit to a
dependent variable. This
is much more
sensible than the popular “tandem” approach of factor-analyzing the
and using the factor scores to predict the dependent variable.
Multivariate PLS Regression
– as extension of PLS Regression, for explaining multiple dependent
variables using a set of predictors. Great tool for space
reduction, to uncover the latent space that best relates a set of
predictors to a multivariate set of dependent variables.
Mixture Logit –
random-coefficients multinomial Logit choice model, producing
estimates for the response coefficients.
Sliced Average Variance Estimation
Performs a space-reduction in a set of predictors while simultaneously
maximizing the fit to a binary dependent variable.
Almost (but not quite) a “logistic”
equivalent of PLS regression.
Qualitative Data Envelopment Analysis –
very flexible DEA tool that allows for qualitative inputs and outputs.
How to Install Kamakura's
Analytic Tools for Excel
to download the zip archive.
the archive into its own folder on your PC (call it anything you want,
but remember it
so you can unistall later!). IMPORTANT: Only delete or rename this folder after running the Uninstall file.
document to learn more about the tools and how to proceed with the
Kamakura Analytic Tools to install the suite
the examples included in the installation package
sure to use Uninstall
Kamakura Analytic Tools to uninstall the suite, so you
won't leave unattended trash behind.
let me know (firstname.lastname@example.org) if you have any trouble installing or
using my tools; I will only know there is a problem if I hear
from users (the tools work fine on my machines...)
don't see Kamakura
Analytic Tools under the AddIns menu (or
don't even see Addins),
your Excel must be blocking macros from external sources.
Then, you need to follow a couple of extra steps.
First, close Excel and find
out where you stored the Kamakura
Analytic Tooks 2010.xlam file (make sure you get the
you are using 32-bit Excel, it is in the Addins subfolder
where you unzipped the archive.
you are using 64-bit Excel, it is in the Addins64 subfolder.
click the Kamakura
Analytic Tooks 2010.xlam file, and you will see something
like the figure below:
and you will see something like the figure below:
Click Unblock and OK, and you should
be ready to go. Now open the Kamakura Analytic Example.xlsx
file and you should see Kamakura
Analytic Tools under the Addins menu.
you are using a version of Office in a language other than English, you
may receive an error message during installation indicating that some
files necessary for installation were not found. Here is one
example (in Portuguese):
may happen if these files are named in a language other than English.
If that's the case, you will need to edit the "Install
Analytic Tools. xlsm" file to replace the English names for Analysis ToolPak and for
Analysis ToolPak - VBA with their
translated names. Make sure that you also edit the
file so you can uninstall the tools when you don't need them anymore.