# Distribution¶

public class Distribution

A distribution contains the descriptives of a Variable meaning its ValidResponses, Missings and Statistics.

## Fields¶

### maxNumberOfDecimalPlaces¶

private Integer maxNumberOfDecimalPlaces

Integer used for rounding the values of this Variable when displaying it. It is computed during the import of the Variable by finding the maximum number of decimal places in the list of ValidResponses.

### missings¶

private List<Missing> missings

List of Missings of this Variable. Must not contain more than 7000 entries and the code of the Missings must be unique.

### statistics¶

private Statistics statistics

Descriptive metrics of this Variable.

### totalAbsoluteFrequency¶

private Integer totalAbsoluteFrequency

The total absolute number of ValidResponses and Missings. Must not be empty.

### totalValidAbsoluteFrequency¶

private Integer totalValidAbsoluteFrequency

The total absolute number of ValidResponses. Must not be empty.

### totalValidRelativeFrequency¶

private Double totalValidRelativeFrequency

The quotient from totalValidAbsoluteFrequency and totalAbsoluteFrequency. Must not be empty.

### validResponses¶

private List<ValidResponse> validResponses

List of ValidResponses of this variable. Must not contain more than 7000 entries and the value of the ValidResponses must be unique.