--- title: "QQ - How do I normalise a field in DataJet?" slug: "qq-how-do-i-normalise-a-field-in-datajet" updated: 2022-10-11T12:05:47Z published: 2022-10-11T12:05:47Z canonical: "docs.datajet.app/qq-how-do-i-normalise-a-field-in-datajet" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # QQ - How do I normalise a field in DataJet? DataJet has various statistical functions for generating and preparing data, including normalization and standardization. These functions can be found in Engineering | Functions | Statistical: ### Data Preparation | Function | Description | Reference | | --- | --- | --- | | Standardize | Standardizes data around a mean of 0 and a standard deviation of 1 | (x - avg) / stdev | | Normalize | Normalizes data to a min of 0 and a max of 1 | (x - min) / range; range = max-min | | Normalize@Zero | Normalizes data to a min of -1 and a max of 1 | ((2.0 * (x - min)) / range) - 1 | | MeanCentric | Centres data around the mean | x - avg | ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665480160913.png) ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665480105708.png) Access this functionality by: - Selecting a source field in the Database Tree - Using the Engineering | Function | Designer - Using Engineering | Functions | Statistical menu - Creating a BuildBakedField method in script editor #### Database Tree ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665478659651.png) #### Function Designer and Engineering Functions ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665478761802.png) #### Script Editor ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665478854844.png) ```json { "method": "BuildBakedField", "project": "D5", "targetTable": "UKDeaths", "overwrite": true, "name": "stand_Totaldeaths", "function": "statistical", "p1": "STANDARDIZE(A)", "p2": "Totaldeaths" } ``` ### Data Generation DataJet also provides the ability to generate data according to various distributions: | Distribution | Description | Reference | | --- | --- | --- | | Normal | produces real values on a standard normal (Gaussian) distribution | [Normal distribution - Wikipedia](https://en.wikipedia.org/wiki/Normal_distribution) | | LogNormal | produces real values on a lognormal distribution | [Log-normal distribution - Wikipedia](https://en.wikipedia.org/wiki/Log-normal_distribution) | | ChiSquared | produces real values on a chi-squared distribution | [Chi-squared distribution - Wikipedia](https://en.wikipedia.org/wiki/Chi-squared_distribution) | | Cauchy | produces real values on a Cauchy distribution. | [Cauchy distribution - Wikipedia](https://en.wikipedia.org/wiki/Cauchy_distribution) | | Poisson | produces integer values on a poisson distribution. | [Poisson distribution - Wikipedia](https://en.wikipedia.org/wiki/Poisson_distribution) | | Binomial | produces integer values on a binomial distribution. | [Binomial distribution - Wikipedia](https://en.wikipedia.org/wiki/Binomial_distribution) | | Bernoulli | produces bool values on a Bernoulli distribution | [Bernoulli distribution - Wikipedia](https://en.wikipedia.org/wiki/Bernoulli_distribution) | | UniformI | produces integer values evenly distributed across a range | | | UniformR | produces real values evenly distributed across a range | |