# qat_analyse_block_distribution_2d: Perform a block distribution check In qat: Quality Assurance Toolkit

## Description

The measurement vector will be splitted into blocks in the direction of the first dimension. After this on every block some statistical parameters will be calculated.

## Usage

 `1` ```qat_analyse_block_distribution_2d(measurement_vector, blocksize) ```

## Arguments

 `measurement_vector` The measurement vector (2d array), which should be tested `blocksize` Length of the blocks

## Details

The measurement vector will be splitted into blocks for each element of the second dimension, with the length of the given blocksize parameter. After this some statistical parameters will be calculated for each block. As a result a list will be given back, with these parameters, where every entry got the dimension of the measurement vector, where the first dimension is divided by the blocksize, which is rounded down to the next integer.

## Value

It returns a list with the following entries:

 `first_moment` First moment of the measurement vector `second_moment` Second moment of the measurement vector `third_moment` Third moment of the measurement vector `fourth_moment` Fourth moment of the measurement vector `standard_deviation` Standard deviation of the measurement vector `skewness` Skewness of the measurement vector `kurtosis` Kurtosis of the measurement vector `median` Median of the measurement vector `p5_quantile` 5 percent quantile of the measurement vector `p95_quantile` 95 percent quantile of the measurement vector `p25_quantile` 25 percent quantile of the measurement vector `p75_quantile` 75 percent quantile of the measurement vector `blocksize` Length of the used blocks

## Author(s)

Andre Duesterhus

`qat_analyse_block_distribution_1d`, `qat_plot_block_distribution_2d`
 ```1 2``` ```vec <- array(rnorm(500),c(25,20)) result <- qat_analyse_block_distribution_2d(vec, 5) ```