# Normal Distribution Probability Calculator API

Calculate the probability given a quantile and a normal distribution.

> **Note:** This is depreciated.
The Normal Distribution Quantile Calculator API is an example built with Microsoft Azure Machine Learning that helps generate and handle normal distributions. This service is a part of the Normal distribution suite of services that allows the user to generate a normal distribution sequence of any length, calculate quantiles out of given probability (this specific service) and calculate probability from a given quantile. Each of the services emit different outputs based on the selected service. The Normal Distribution Suite is based on R functions qnorm, rnorm and pnorm that are included in R stats package.
##Consumption of Web Service##
This service accepts 4 arguments of a normal distribution and calculates the associated quantile. The input arguments are:
- p - a single probability of an event with normal distribution
- Mean - The normal distribution mean
- SD - the normal distribution standard deviation
- Side - L for the lower side of the distribution and U for the upper side of the distribution.
The output of the service is the calculated quantile that is associated with the given probability.
There are multiple ways of consuming the service in an automated fashion. One example apps is here: [Normal Distribution Probability Calculator](http://microsoftazuremachinelearning.azurewebsites.net/NormalDistributionProbabilityCalculator.aspx).
*While this web service could be consumed by users - potentially through a mobile app, website, or even on a local computer for example, the purpose of the web service is also to serve as an example of how Azure ML can be used to create web services on top of R code. With just a few lines of R code and clicks of a button within the Azure ML Studio, an experiment can be created with R code and published as a web service. The web service can then be published to the Azure Marketplace and consumed by users and devices across the world with no infrastructure set-up by the author of the web service.*