Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Different Probability Distributions Part 2
Latest

Different Probability Distributions Part 2

Last Updated on December 7, 2021 by Editorial Team

Author(s): Priyansh Tripathi

Originally published on Towards AI the World’s Leading AI and Technology News and Media Company. If you are building an AI-related product or service, we invite you to consider becoming an AI sponsor. At Towards AI, we help scale AI and technology startups. Let us help you unleash your technology to the masses.

Probability

Now we will see the Continuous variable distributions whereas in part 1 we saw the discrete distributions. In continuous distributions the point probability is equal to β€œ0” and some of the probabilities over the entire range will be β€œ1”. Different types of Continuous Distributions are:
1. Uniform Distribution
2. Normal Distribution
3. Exponential Distribution
4. Chi-squared Distribution
5. Gamma distribution
6. Student T-Distribution
7. F-Distribution
8. Log-Normal Distribution

Different Distributions

Uniform Distribution

Uniform Distribution

In a uniform distribution or rectangular distribution, data is uniformly distributed over a given interval where X takes a value between 2 specified values (a, b).
a<X<b or X€(a, b) where X~U(a, b)
PDF=f(x)=1/(b-a) when a<X<b or 0 otherwise.
The total area under the curve would be 1.
CDF=f(x)=x-a/(b-a) when a<X<b and 1 when x>=b
Mean=(b + a)/2
Variance=(b-a)Β²/12

Normal Distribution

Normal Distribution

Here the data is distributed in a symmetrical manner or gaussian manner in a bell-shaped curve equally divided into 2 by mean. The total area under the curve is 1. The change in mean will change the graph to shift left or right. The graph ends never touches the baseline (asymptotes).
X~N(ΞΌ,σ²)

Probability Distribution function

To solve the question we have to convert this distribution to a Standard Normal Distribution. It has all the properties of Normal Distribution, where ΞΌ is 0 and σ² is 1.
Here ΖΆ is a standard normal variant which is equal to (x-ΞΌ)/Οƒ.
ΖΆ ~ SND(0, 1)
Whenever we change the Οƒ the graph will become wider or thinner. We will calculate the z-score which means how far we are from the mean and we will get the probability value from the z-scoreΒ table.

Change the Οƒ the graph will become wider orΒ thinner

Exponential Distribution

Exponential Distribution

The exponential distribution is used to model the time until some specific independent event occurs at a constant average rate.
X is the waiting time or time taken by the event to occur.
X~E(Ξ»)
Ξ» is the rate at which eventsΒ occur.

Probability Distribution function
Cumulative Distribution function
Mean
Variance
Median

Chi-squared Distribution

Chi-squared Distribution

When we square the standard normal variant we will get the 𝞦². It is widely used in hypothesis testing and in finding confidence intervals which we will see in further articles. Here we have degrees of freedom which is β€œk” we can find it by subtracting 1 from the number of features available(n).
𝞦² €(0,∞) and 𝞦~N(ΞΌ,σ²). As we increase the k our graph will be more normalized.

Probability Distribution Function

For CDF we need to have the knowledge of Gamma Distribution because the Chi-squared Distribution is a special case of Gamma Distribution.

Cumulative Distribution function

Mean=k
Variance=2k

Gamma distribution

Gamma distribution

This Distribution is mostly used for modeling the waiting time until an event occurs. Gamma, Exponential, Poisson distribution is the same aspects of the Poisson process. Gamma function and Gamma Distribution are 2 different concepts.

Gamma Function

Here we have 2 parameters a shape parameter Ξ± and a scale parameter Ξ². When we divide 1 by Ξ² we will have a rate parameter.

Probability Distribution Function

Mean=Ξ±Ξ²
Variance=Ξ±Ξ²Β²

Student T-Distribution

A small sample is taken from the population(which is normally distributed) to get the estimates about the population and we also don’t know the standard deviation of the population. It is used in assessing the statistical significance, constructing confidence intervals, and in linear regression analysis.

Probability Distribution Function

Mean=0
Median=0
Mode=0
Variance=N/(N-2) where N>2 and N/(N-1) whereΒ Nβ‰₯1.

F-Distribution

F-Distribution is frequently used in the analysis of variance.

Log-Normal Distribution

Whenever we have a skewed curve and to get a Gaussian curve we take its log so we get a normal curve then this distribution is called Log-Normal Distribution.

Probability Distribution Function
Mean
Variance

Conclusion

We have discussed both types of distribution from a data science perspective the knowledge about distribution one should have will be enough for the further topics after reading this article. Check the other articles too for better understanding.


Different Probability Distributions Part 2 was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Join thousands of data leaders on the AI newsletter. It’s free, we don’t spam, and we never share your email address. Keep up to date with the latest work in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Comment (1)

  1. mikkel
    July 18, 2022

    where is part 1 ?

Feedback ↓