Fisher’s Exact Test

Fisher’s Exact Test Fisher’s Exact Test is a useful tool when dealing with smaller sample sizes.  It allows a researcher to use the hypergeometric distribution to calculate a p-value when the assumptions from the test do not apply (e.g. small cell counts).  This example walks through the calculations to compute the probability density and cumulative… Read More »

K-Means Cluster Analysis

K-Means Cluster Analysis K-means cluster analysis is a very useful multivariate partitioning tool.  This R example shows how one can perform cluster analysis and provides an example of creating a scree plot to determine an appropriate number of clusters.  It is also a highly useful data mining technique.

Outlier Detection using Local Outlier Factor

PDF Document of Outlier Detection Outlier detection is an extremely useful tool. There are many ways to identify an outlier. This example will discuss one univariate approach and one multivariate approach. There are many uses for outlier detection. One use can be to inspect a dataset prior to analysis to ensure accurate analysis. It can also be… Read More »

Dominance Analysis

Dominance Analysis Raw Data Dominance Analysis Regression provides the ability to create models for prediction and to create models for inference.  Dominance analysis adds to that and provides the ability to determine the relative importance of each variable.  This example walks through an example predicting income in 2009.

Latent Class Model

Latent Class Analysis This example is actually less of an example but more to draw attention to a valuable tool.  Latent class analysis is a highly useful categorical data technique that can be used to create groups  known as latent classes.  This technique can be compared to k-means cluster analysis that is often used for… Read More »

The Jackknife

When it comes down to estimating parameters the standard error is often forgotten.   This is a slightly more complex way to estimate the standard error.  However, this is a good approach when dealing with complex samples.  This is a simple example of how to calculate a jackknife standard error.  This approach can be extended… Read More »

Iterative Proportional Fitting

Iterative Proportional Fitting Once a survey is conducted it is common for the researcher to adjust the survey weights to match known population values.  This process is known as iterative proportional fitting (IPF) or also known as raking.  This process was first introduced by Edwards Deming.  This process is something that can actually be performed… Read More »