# Density Estimation Processing

# 1 General

**Type:**- Matrix Processing**Heading:**- Basic (Processing)**Source code:**DensityEstimationProcessing.cs

# 2 Brief description

The density of data points in two dimensions is calculated. Each data point is smoothed out by a suitable Gaussian kernel.

Output: A copy of the input matrix with two numerical columns added containing the density information.

# 3 Parameters

## 3.1 x

Selected expression columns for the first dimension of the generated density map(s) (default: first expression column in the matrix). Multiple columns can be chosen for each dimension leading to the creation of multiple density maps, but the number of columns have to be the same in both dimensions.

## 3.2 y

Selected expression columns for the second dimension of the generated density map(s) (default: second expression column in the matrix). Multiple columns can be chosen for each dimension leading to the creation of multiple density maps, but the number of columns have to be the same in both dimensions.

## 3.3 Number of points

The specified number of points defines the resolution of the density map (default: 300). It reflects the number of pixel per dimension.

## 3.4 Distribution type

Each data point is smoothed out by a suitable Gaussian kernel, which is defined in the “Distribution type” (default: \(P(x,y)\). The function can be selected out of a predefined list:

- \(P(x,y)\)
- \(P(y|x)\)
- \(P(x|y)\)
- \(P(x,y)/(P(x)*P(y))\)