Create probability distribution object - MATLAB makedist (2024)

Table of Contents
Syntax Description Examples Create Normal Distribution Object Using Default Parameter Values Create Gamma Distribution Object Using Default Parameter Values Specify Parameters for Normal Distribution Object Specify Parameters for Gamma Distribution Object Input Arguments distname — Distribution name character vector | string scalar Name-Value Arguments a — First shape parameter 1 (default) | positive scalar value b — Second shape parameter 1 (default) | positive scalar value N — Number of trials 1 (default) | positive integer value p — Probability of success 0.5 (default) | scalar value in the range [0,1] beta — Scale parameter 1 (default) | positive scalar value gamma — Shape parameter 1 (default) | positive scalar value alpha — Scale parameter 1 (default) | positive scalar value c — First shape parameter 1 (default) | positive scalar value k — Second shape parameter 1 (default) | positive scalar value mu — Mean 1 (default) | positive scalar value mu — Location parameter 0 (default) | scalar value sigma — Scale parameter 1 (default) | nonnegative scalar value a — Shape parameter 1 (default) | positive scalar value b — Scale parameter 1 (default) | nonnegative scalar value k — Shape parameter 0 (default) | scalar value sigma — Scale parameter 1 (default) | nonnegative scalar value mu — Location parameter 0 (default) | scalar value k — Shape parameter 1 (default) | scalar value sigma — Scale parameter 1 (default) | nonnegative scalar value theta — Location (threshold) parameter 1 (default) | scalar value mu — Location parameter 0 (default) | scalar value sigma — Scale parameter 1 (default) | nonnegative scalar value mu — Scale parameter 1 (default) | positive scalar value lambda — Shape parameter 1 (default) | positive scalar value mu — Mean 0 (default) | scalar value sigma — Scale parameter 1 (default) | nonnegative scalar value mu — Mean of logarithmic values 0 (default) | scalar value sigma — Scale parameter of logarithmic values 1 (default) | positive scalar value mu — Mean of logarithmic values 0 (default) | scalar value sigma — Standard deviation of logarithmic values 1 (default) | nonnegative scalar value Lower — Lower limit 1 (default) | nonnegative scalar value Upper — Upper limit 4 (default) | scalar value greater than Lower mu — Shape parameter 1 (default) | positive scalar value omega — Scale parameter 1 (default) | positive scalar value R — Number of successes 1 (default) | positive scalar value P — Probability of success 0.5 (default) | scalar value in the range (0,1] lambda — Mean 1 (default) | nonnegative scalar value B — Defining parameter 1 (default) | positive scalar value s — Noncentrality parameter 1 (default) | nonnegative scalar value sigma — Scale parameter 1 (default) | positive scalar value alpha — First shape parameter 2 (default) | scalar value in the range (0,2] beta — Second shape parameter 0 (default) | scalar value in the range [–1,1] gam — Scale parameter 1 (default) | scalar value in the range (0,∞) delta — Location parameter 0 (default) | scalar value mu — Location parameter 0 (default) | scalar value sigma — Scale parameter 1 (default) | positive scalar value nu — Degrees of freedom 5 (default) | positive scalar value A — Scale parameter 1 (default) | positive scalar value B — Shape parameter 1 (default) | positive scalar value Output Arguments Alternative Functionality App Version History See Also Topics MATLAB Command Americas Europe Asia Pacific FAQs

Create probability distribution object

collapse all in page

Syntax

pd = makedist(distname)

pd = makedist(distname,Name,Value)

list = makedist

makedist -reset

Description

example

pd = makedist(distname) createsa probability distribution object for the distribution distname,using the default parameter values.

example

pd = makedist(distname,Name,Value) createsa probability distribution object with one or more distribution parametervalues specified by name-value pair arguments.

list = makedist returnsa cell array list containing a list of the probabilitydistributions that makedist can create.

makedist -reset resets the list of distributions by searching the path for files contained in a namespace named prob and implementing classes derived from ProbabilityDistribution. Use this syntax after you define a custom distribution function. For details, see Define Custom Distributions Using the Distribution Fitter App.

Examples

collapse all

Create Normal Distribution Object Using Default Parameter Values

Open Live Script

Create a normal distribution object using the default parameter values, which correspond to the parameters of the standard normal distribution.

pd = makedist('Normal')
pd = NormalDistribution Normal distribution mu = 0 sigma = 1

You can use the object functions of pd to evaluate the distribution and generate random numbers. Display the supported object functions.

methods(pd)
Methods for class prob.NormalDistribution:cdf gather icdf iqr mean median negloglik paramci pdf plot proflik random std truncate var 

For example, compute the interquartile range of the distribution by using the iqr function.

r = iqr(pd)
r = 1.3490

Create Gamma Distribution Object Using Default Parameter Values

Open Live Script

Create a gamma distribution object using the default parameter values.

pd = makedist('Gamma')
pd = GammaDistribution Gamma distribution a = 1 b = 1

Compute the mean of the gamma distribution.

mean = mean(pd)
mean = 1

Specify Parameters for Normal Distribution Object

Open Live Script

Create a normal distribution object with parameter values mu = 75 and sigma = 10.

pd = makedist('Normal','mu',75,'sigma',10)
pd = NormalDistribution Normal distribution mu = 75 sigma = 10

Specify Parameters for Gamma Distribution Object

Open Live Script

Create a gamma distribution object with the parameter value a = 3 and the default value b = 1.

pd = makedist('Gamma','a',3)
pd = GammaDistribution Gamma distribution a = 3 b = 1

Input Arguments

collapse all

distnameDistribution name
character vector | string scalar

Distribution name, specified as one of the following character vectors or string scalars. The distribution specified by distname determines the type of the returned probability distribution object.

Distribution NameDescriptionDistribution Object
'Beta'Beta distributionBetaDistribution
'Binomial'Binomial distributionBinomialDistribution
'BirnbaumSaunders'Birnbaum-Saunders distributionBirnbaumSaundersDistribution
'Burr'Burr distributionBurrDistribution
'Exponential'Exponential distributionExponentialDistribution
'ExtremeValue'Extreme Value distributionExtremeValueDistribution
'Gamma'Gamma distributionGammaDistribution
'GeneralizedExtremeValue'Generalized Extreme Value distributionGeneralizedExtremeValueDistribution
'GeneralizedPareto'Generalized Pareto distributionGeneralizedParetoDistribution
'HalfNormal'Half-normal distributionHalfNormalDistribution
'InverseGaussian'Inverse Gaussian distributionInverseGaussianDistribution
'Logistic'Logistic distributionLogisticDistribution
'Loglogistic'Loglogistic distributionLoglogisticDistribution
'Lognormal'Lognormal distributionLognormalDistribution
'Loguniform'Loguniform distributionLoguniformDistribution
'Multinomial'Multinomial distributionMultinomialDistribution
'Nakagami'Nakagami distributionNakagamiDistribution
'NegativeBinomial'Negative Binomial distributionNegativeBinomialDistribution
'Normal'Normal distributionNormalDistribution
'PiecewiseLinear'Piecewise Linear distributionPiecewiseLinearDistribution
'Poisson'Poisson distributionPoissonDistribution
'Rayleigh'Rayleigh distributionRayleighDistribution
'Rician'Rician distributionRicianDistribution
'Stable'Stable distributionStableDistribution
'tLocationScale't Location-Scale distributiontLocationScaleDistribution
'Triangular'Triangular distributionTriangularDistribution
'Uniform'Uniform distributionUniformDistribution
'Weibull'Weibull distributionWeibullDistribution

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: makedist('Normal','mu',10) specifiesa normal distribution with parameter mu equal to10, and parameter sigma equal to the default valueof 1.

Beta Distribution

collapse all

aFirst shape parameter
1 (default) | positive scalar value

First shape parameter of a beta distribution, specified as a positive scalar value. This argument is valid only when distname is 'Beta'.

Example: 'a',3

Data Types: single | double

bSecond shape parameter
1 (default) | positive scalar value

Second shape parameter of a beta distribution, specified as a positive scalar value. This argument is valid only when distname is 'Beta'.

Example: 'b',5

Data Types: single | double

Binomial Distribution

collapse all

NNumber of trials
1 (default) | positive integer value

Number of trials for a binomial distribution, specified as a positive integer value. This argument is valid only when distname is 'Binomial'.

Example: 'N',25

Data Types: single | double

pProbability of success
0.5 (default) | scalar value in the range [0,1]

Probability of success of any individual trial for a binomial distribution, specified as a scalar value in the range [0,1]. This argument is valid only when distname is 'Binomial'.

Example: 'p',0.25

Data Types: single | double

Birnbaum-Saunders Distribution

collapse all

betaScale parameter
1 (default) | positive scalar value

Scale parameter of a Birnbaum-Saunders distribution, specified as a positive scalar value. This argument is valid only when distname is 'BirnbaumSaunders'.

Example: 'beta',2

Data Types: single | double

gammaShape parameter
1 (default) | positive scalar value

Shape parameter of a Birnbaum-Saunders distribution, specified as a positive scalar value. This argument is valid only when distname is 'BirnbaumSaunders'.

Example: 'gamma',0.5

Data Types: single | double

Burr Distribution

collapse all

alphaScale parameter
1 (default) | positive scalar value

Scale parameter of a Burr distribution, specified as a positive scalar value. This argument is valid only when distname is 'Burr'.

Example: 'alpha',2

Data Types: single | double

cFirst shape parameter
1 (default) | positive scalar value

First shape parameter of a Burr distribution, specified as a positive scalar value. This argument is valid only when distname is 'Burr'.

Example: 'c',2

Data Types: single | double

kSecond shape parameter
1 (default) | positive scalar value

Second shape parameter of a Burr distribution, specified as a positive scalar value. This argument is valid only when distname is 'Burr'.

Example: 'k',5

Data Types: single | double

Exponential Distribution

collapse all

muMean
1 (default) | positive scalar value

Mean of an exponential distribution, specified as a positive scalar value. This argument is valid only when distname is 'Exponential'.

Example: 'mu',5

Data Types: single | double

Extreme Value Distribution

collapse all

muLocation parameter
0 (default) | scalar value

Location parameter of an extreme value distribution, specified as a scalar value. This argument is valid only when distname is 'ExtremeValue'.

Example: 'mu',-2

Data Types: single | double

sigmaScale parameter
1 (default) | nonnegative scalar value

Scale parameter of an extreme value distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'ExtremeValue'.

Example: 'sigma',2

Data Types: single | double

Gamma Distribution

collapse all

aShape parameter
1 (default) | positive scalar value

Shape parameter of a gamma distribution, specified as a positive scalar value. This argument is valid only when distname is 'Gamma'.

Example: 'a',2

Data Types: single | double

bScale parameter
1 (default) | nonnegative scalar value

Scale parameter of a gamma distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Gamma'.

Example: 'b',0

Data Types: single | double

Generalized Extreme Value Distribution

collapse all

kShape parameter
0 (default) | scalar value

Shape parameter of a generalized extreme value distribution, specified as a scalar value. This argument is valid only when distname is 'GeneralizedExtremeValue'.

Example: 'k',0

Data Types: single | double

sigmaScale parameter
1 (default) | nonnegative scalar value

Scale parameter of a generalized extreme value distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'GeneralizedExtremeValue'.

Example: 'sigma',2

Data Types: single | double

muLocation parameter
0 (default) | scalar value

Location parameter of a generalized extreme value distribution, specified as a scalar value. This argument is valid only when distname is 'GeneralizedExtremeValue'.

Example: 'mu',1

Data Types: single | double

Generalized Pareto Distribution

collapse all

kShape parameter
1 (default) | scalar value

Shape parameter of a generalized Pareto distribution, specified as a scalar value. This argument is valid only when distname is 'GeneralizedPareto'.

Example: 'k',0

Data Types: single | double

sigmaScale parameter
1 (default) | nonnegative scalar value

Scale parameter of a generalized Pareto distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'GeneralizedPareto'.

Example: 'sigma',2

Data Types: single | double

thetaLocation (threshold) parameter
1 (default) | scalar value

Location (threshold) parameter of a generalized Pareto distribution, specified as a scalar value. This argument is valid only when distname is 'GeneralizedPareto'.

Example: 'theta',2

Data Types: single | double

Half-Normal Distribution

collapse all

muLocation parameter
0 (default) | scalar value

Location parameter of a half-normal distribution, specified as a scalar value. This argument is valid only when distname is 'HalfNormal'.

Example: 'mu',1

Data Types: single | double

sigmaScale parameter
1 (default) | nonnegative scalar value

Scale parameter of a half-normal distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'HalfNormal'.

Example: 'sigma',2

Data Types: single | double

Inverse Gaussian Distribution

collapse all

muScale parameter
1 (default) | positive scalar value

Scale parameter of an inverse Gaussian distribution, specified as a positive scalar value. This argument is valid only when distname is 'InverseGaussian'.

Example: 'mu',2

Data Types: single | double

lambdaShape parameter
1 (default) | positive scalar value

Shape parameter of an inverse Gaussian distribution, specified as a positive scalar value. This argument is valid only when distname is 'InverseGaussian'.

Example: 'lambda',4

Data Types: single | double

Logistic Distribution

collapse all

muMean
0 (default) | scalar value

Mean of a logistic distribution, specified as a scalar value. This argument is valid only when distname is 'Logistic'.

Example: 'mu',2

Data Types: single | double

sigmaScale parameter
1 (default) | nonnegative scalar value

Scale parameter of a logistic distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Logistic'.

Example: 'sigma',4

Data Types: single | double

Loglogistic Distribution

collapse all

muMean of logarithmic values
0 (default) | scalar value

Mean of logarithmic values for a loglogistic distribution, specified as a scalar value. This argument is valid only when distname is 'Loglogistic'.

Example: 'mu',2

Data Types: single | double

sigmaScale parameter of logarithmic values
1 (default) | positive scalar value

Scale parameter of logarithmic values for a loglogistic distribution, specified as a positive scalar value. This argument is valid only when distname is 'Loglogistic'.

Example: 'sigma',4

Data Types: single | double

Lognormal Distribution

collapse all

muMean of logarithmic values
0 (default) | scalar value

Mean of logarithmic values for a lognormal distribution, specified as a scalar value. This argument is valid only when distname is 'Lognormal'.

Example: 'mu',2

Data Types: single | double

sigmaStandard deviation of logarithmic values
1 (default) | nonnegative scalar value

Standard deviation of logarithmic values for a lognormal distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Lognormal'.

Example: 'sigma',2

Data Types: single | double

Loguniform Distribution

collapse all

LowerLower limit
1 (default) | nonnegative scalar value

Lower limit for a loguniform distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Loguniform'.

Example: 'Lower',2

Data Types: single | double

UpperUpper limit
4 (default) | scalar value greater than Lower

Upper limit for a loguniform distribution, specified as a scalar value greater than Lower. This argument is valid only when distname is 'Loguniform'.

Example: 'Upper',6

Data Types: single | double

Multinomial Distribution

collapse all

Nakagami Distribution

collapse all

muShape parameter
1 (default) | positive scalar value

Shape parameter of a Nakagami distribution, specified as a positive scalar value. This argument is valid only when distname is 'Nakagami'.

Example: 'mu',5

Data Types: single | double

omegaScale parameter
1 (default) | positive scalar value

Scale parameter of a Nakagami distribution, specified as a positive scalar value. This argument is valid only when distname is 'Nakagami'.

Example: 'omega',5

Data Types: single | double

Negative Binomial Distribution

collapse all

RNumber of successes
1 (default) | positive scalar value

Number of successes for a negative binomial distribution, specified as a positive scalar value. This argument is valid only when distname is 'NegativeBinomial'.

Example: 'R',5

Data Types: single | double

PProbability of success
0.5 (default) | scalar value in the range (0,1]

Probability of success of any individual trial for a negative binomial distribution, specified as a scalar value in the range (0,1]. This argument is valid only when distname is 'NegativeBinomial'.

Example: 'P',0.1

Data Types: single | double

Normal Distribution

collapse all

Piecewise Linear Distribution

collapse all

Poisson Distribution

collapse all

lambdaMean
1 (default) | nonnegative scalar value

Mean of a Poisson distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Poisson'.

Example: 'lambda',5

Data Types: single | double

Rayleigh Distribution

collapse all

BDefining parameter
1 (default) | positive scalar value

Defining parameter of a Rayleigh distribution, specified as a positive scalar value. This argument is valid only when distname is 'Rayleigh'.

Example: 'B',3

Data Types: single | double

Rician Distribution

collapse all

sNoncentrality parameter
1 (default) | nonnegative scalar value

Noncentrality parameter of a Rician distribution, specified as a nonnegative scalar value. This argument is valid only when distname is 'Rician'.

Example: 's',0

Data Types: single | double

sigmaScale parameter
1 (default) | positive scalar value

Scale parameter of a Rician distribution, specified as a positive scalar value. This argument is valid only when distname is 'Rician'.

Example: 'sigma',2

Data Types: single | double

Stable Distribution

collapse all

alphaFirst shape parameter
2 (default) | scalar value in the range (0,2]

First shape parameter of a stable distribution, specified as a scalar value in the range (0,2]. This argument is valid only when distname is 'Stable'.

Example: 'alpha',1

Data Types: single | double

betaSecond shape parameter
0 (default) | scalar value in the range [–1,1]

Second shape parameter of a stable distribution, specified as a scalar value in the range [–1,1]. This argument is valid only when distname is 'Stable'.

Example: 'beta',0.5

Data Types: single | double

gamScale parameter
1 (default) | scalar value in the range (0,∞)

Scale parameter of a stable distribution, specified as a scalar value in the range (0,∞). This argument is valid only when distname is 'Stable'.

Example: 'gam',2

Data Types: single | double

deltaLocation parameter
0 (default) | scalar value

Location parameter of a stable distribution, specified as a scalar value. This argument is valid only when distname is 'Stable'.

Example: 'delta',5

Data Types: single | double

t Location-Scale Distribution

collapse all

muLocation parameter
0 (default) | scalar value

Location parameter of a t location-scale distribution, specified as a scalar value. This argument is valid only when distname is 'tLocationScale'.

Example: 'mu',-2

Data Types: single | double

sigmaScale parameter
1 (default) | positive scalar value

Scale parameter of a t location-scale distribution, specified as a positive scalar value. This argument is valid only when distname is 'tLocationScale'.

Example: 'sigma',2

Data Types: single | double

nuDegrees of freedom
5 (default) | positive scalar value

Degrees of freedom of a t location-scale distribution, specified as a positive scalar value. This argument is valid only when distname is 'tLocationScale'.

Example: 'nu',20

Data Types: single | double

Triangular Distribution

collapse all

Uniform Distribution

collapse all

Weibull Distribution

collapse all

AScale parameter
1 (default) | positive scalar value

Scale parameter of a Weibull distribution, specified as a positive scalar value. This argument is valid only when distname is 'Weibull'.

Example: 'A',2

Data Types: single | double

BShape parameter
1 (default) | positive scalar value

Shape parameter of a Weibull distribution, specified as a positive scalar value. This argument is valid only when distname is 'Weibull'.

Example: 'B',5

Data Types: single | double

Output Arguments

collapse all

Alternative Functionality

App

The Distribution Fitter app opens a graphical user interface for you to import data from the workspace and interactively fit a probability distribution to that data. You can then save the distribution to the workspace as a probability distribution object. Open the Distribution Fitter app using distributionFitter, or click Distribution Fitter on the Apps tab.

Version History

Introduced in R2013a

See Also

fitdist | distributionFitter

Topics

  • Working with Probability Distributions
  • Supported Distributions
  • Define Custom Distributions Using the Distribution Fitter App

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

 

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Create probability distribution object - MATLAB makedist (1)

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

Contact your local office

Create probability distribution object - MATLAB makedist (2024)

FAQs

Create probability distribution object - MATLAB makedist? ›

pd = makedist( distname ) creates a probability distribution object for the distribution distname , using the default parameter values. pd = makedist( distname , Name,Value ) creates a probability distribution object with one or more distribution parameter values specified by name-value pair arguments.

How do I create a probability distribution? ›

Step 1: List out all possible outcomes of the experiment. Step 2: Count the total number of outcomes and calculate the probability of each outcome. Step 3: Display the information in a histogram with probabilities on the vertical axis and outcomes on the horizontal axis.

How do you create a custom distribution in Matlab? ›

To define a custom distribution using the app, select File > Define Custom Distributions. A file template opens in the MATLAB Editor. You then edit this file so that it creates a probability object for the distribution you want.

How to calculate probability of normal distribution in Matlab? ›

y = normpdf( x ) returns the probability density function (pdf) of the standard normal distribution, evaluated at the values in x . y = normpdf( x , mu ) returns the pdf of the normal distribution with mean mu and the unit standard deviation, evaluated at the values in x .

What is a distribution in Matlab? ›

The distributions assign probability to the event that a random variable has a specific, discrete value, or falls within a specified range of continuous values.

What is the formula for constructing a probability distribution? ›

Using a frequency distribution, you can make a probability distribution by using the relative fre- quencies for the probabilities. µ = E(x) = ∑ xP(x). The variance of a discrete random variable, σ2 is given by σ2 = ∑ (x − µ)2P(x), and its standard deviation, σ is given σ = √ σ2 = √∑ (x − µ)2P(x).

How do you create a probability distribution in MATLAB? ›

pd = makedist( distname ) creates a probability distribution object for the distribution distname , using the default parameter values. pd = makedist( distname , Name,Value ) creates a probability distribution object with one or more distribution parameter values specified by name-value pair arguments.

How do you create a random distribution in MATLAB? ›

R = random( pd ) returns a random number from the probability distribution object pd . R = random(___, sz1,...,szN ) generates an array of random numbers from the specified probability distribution using input arguments from any of the previous syntaxes, where sz1,...,szN indicates the size of each dimension.

How to create data object in MATLAB? ›

Create Data Objects Directly from Dialog Boxes
  1. In a numeric block parameter in the dialog box, specify the name that you want for the data object. ...
  2. Click the button next to the value of the block parameter. ...
  3. In the Create New Data dialog box, specify Value as Simulink. ...
  4. Specify Location as Base Workspace and click Create.

What is the normal distribution object in Matlab? ›

A NormalDistribution object consists of parameters, a model description, and sample data for a normal probability distribution. The normal distribution, sometimes called the Gaussian distribution, is a two-parameter family of curves.

How to construct a normal probability plot in Matlab? ›

Generate a Normal Probability Plot

Generate random sample data from a normal distribution with mu = 10 and sigma = 1 . rng default; % For reproducibility x = normrnd(10,1,25,1); Create a normal probability plot of the sample data.

How do you draw a normal probability distribution? ›

Sketch a picture of a normal distribution. Begin by drawing a horizontal line (axis). Next, draw a normal (bell-shaped) curve centered on the horizontal axis. Then draw a vertical line from the horizontal axis through the center of the curve, cutting it in half.

What is a continuous probability distribution in MATLAB? ›

A continuous probability distribution is one where the random variable can assume any value. Statistics and Machine Learning Toolbox™ offers several ways to work with continuous probability distributions, including probability distribution objects, command line functions, and interactive apps.

What is a discrete probability distribution in MATLAB? ›

A discrete probability distribution is one where the random variable can only assume a finite, or countably infinite, number of values. For example, in a binomial distribution, the random variable X can only assume the value 0 or 1.

How do you determine the probability distribution? ›

Step 1: Determine whether each probability is greater than or equal to 0 and less than or equal to 1. Step 2: Determine whether the sum of all of the probabilities equals 1. Step 3: If Steps 1 and 2 are both true, then the probability distribution is valid. Otherwise, the probability distribution is not valid.

What is probability distribution with an example? ›

Probability distributions are used to describe the populations of real-life variables, like coin tosses or the weight of chicken eggs. They're also used in hypothesis testing to determine p values.

What is required for a probability distribution? ›

Definition: probability distribution

The probabilities in the probability distribution of a random variable X must satisfy the following two conditions: Each probability P(x) must be between 0 and 1: 0≤P(x)≤1. The sum of all the possible probabilities is 1: ∑P(x)=1.

How to generate probability distribution in Excel? ›

Choose Formulas Tab | Function Library Group | More Functions | Statistical | NORMDIST. Fill in the Function Arguments Tab with probability value of 0.9. This gives result that x* = 1.2816, i.e. Pr(X <= 1.2816) = 0.9. Much simpler is to directly type in the cell = NORMSINV(0.9) and hit <enter> to get x* = 1.2816.

How do you formulate probability? ›

To calculate probability, you must divide the number of favorable events by the total number of possible events.

Top Articles
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6631

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.