Generalised Procrustes Analysis of Sensory Descriptive Data
Introduction
Sensory descriptive data is a type of data that describes the characteristics of sensory perceptions, such as taste, smell, texture, and appearance. Analyzing this type of data can provide valuable insights into consumer preferences and behavior. One statistical method used for analyzing sensory descriptive data is Generalised Procrustes Analysis (GPA), which is a technique for identifying underlying patterns or structures in the data.
In this article, we will explore GPA and its application to sensory descriptive data using R programming language. We will also discuss the benefits and limitations of GPA, as well as some common pitfalls to avoid when performing the analysis.
What is Generalised Procrustes Analysis?
Generalised Procrustes Analysis (GPA) is a statistical method for identifying underlying patterns or structures in multivariate data. It was first introduced by Hastie et al. (1990) and has since been widely used in various fields, including sensory science, psychology, and marketing research.
GPA is based on the concept of linear transformations, where the original data is transformed into a new set of variables that capture the underlying patterns or structures in the data. The goal of GPA is to identify a common subspace or dimensionality structure that underlies the data, which can be used to describe the relationships between different variables.
Benefits and Limitations of GPA
GPA has several benefits, including:
- Identification of underlying patterns: GPA can help identify underlying patterns or structures in the data, which can be useful for understanding consumer behavior and preferences.
- Dimensionality reduction: GPA can reduce the dimensionality of the data, making it easier to analyze and visualize.
- Comparison across datasets: GPA allows for comparison across different datasets, which is useful when analyzing sensory descriptive data from multiple panels.
However, GPA also has some limitations:
- Assumes linearity: GPA assumes that the underlying patterns or structures in the data are linear, which may not always be the case.
- Requires large sample size: GPA requires a large sample size to produce reliable results.
- Sensitive to outliers: GPA is sensitive to outliers and noisy data, which can affect the accuracy of the results.
How to Perform Generalised Procrustes Analysis in R
To perform GPA in R, we will use the FactoMineR package. This package provides an implementation of GPA that can be used for analyzing multivariate data.
Install and Load the FactoMineR Package
# Install the FactoMineR package
install.packages("FactoMineR")
# Load the FactoMineR package
library(FactoMineR)
Load the Data
Before performing GPA, we need to load the sensory descriptive data into R. This will typically involve reading in a CSV or Excel file containing the data.
# Load the data
data <- read.csv("sensory_descriptive_data.csv")
Perform Generalised Procrustes Analysis
Once the data is loaded, we can perform GPA using the gpa() function from the FactoMineR package.
# Perform Generalised Procrustes Analysis
gpa_result <- gpa(data[, 2:ncol(data)], metric = "euclidean")
In this example, we are assuming that the data is in a CSV file and has been loaded into R. The data[, 2:ncol(data)]
syntax selects all columns in the data except for the first one (which is typically used as a reference variable). The metric = "euclidean"
argument specifies that the distance metric to use for the analysis.
Interpret the Results
Once the GPA has been performed, we can interpret the results by examining the plots and tables provided by the FactoMineR package. These will typically include a scatterplot of the data points on the new axes defined by the GPA transformation, as well as tables showing the correlations between different variables.
# Plot the results
par(mfrow = c(1, 2))
plot(gpa_result$X[1], gpa_result$Y[1])
plot(gpa_result$X[, 2], gpa_result$Y[, 2])
# Print the correlation table
print(correlation_table)
In this example, we are plotting the first two new axes defined by the GPA transformation using a scatterplot. We are also printing the correlation table provided by the FactoMineR package.
Common Pitfalls to Avoid
When performing GPA, there are several common pitfalls to avoid:
- Assuming linearity: GPA assumes that the underlying patterns or structures in the data are linear, which may not always be the case.
- Ignoring outliers and noisy data: GPA is sensitive to outliers and noisy data, which can affect the accuracy of the results.
- Not selecting the right distance metric: The choice of distance metric can significantly impact the results of GPA. It’s essential to choose a metric that accurately reflects the relationships between different variables.
Conclusion
Generalised Procrustes Analysis (GPA) is a powerful statistical method for identifying underlying patterns or structures in multivariate data. In this article, we explored GPA and its application to sensory descriptive data using R programming language. We discussed the benefits and limitations of GPA, as well as some common pitfalls to avoid when performing the analysis.
By following the steps outlined in this article, you can use GPA to analyze your own sensory descriptive data and gain valuable insights into consumer preferences and behavior.
Last modified on 2023-09-28