DEV Community

Cover image for "Day 59 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis (Probability - 5)
Nitin-bhatt46
Nitin-bhatt46

Posted on

1

"Day 59 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis (Probability - 5)

PROBABILITY - 5

BINOMIAL PROBABILITY

Bernoulli trials :-
A random experiment repeated n-times is said to be bernoulli trial if

Trails are independent of each other.
Only two possible outcomes corresponding to each trial, that is success or failure.
Probability of success ( or failure ) in each trial must be the same.

Experiment : a dice is rolled ten times.

Success : occurrence of a number divisible by “3”.

P = prob. Of success in one trial = 1 / 3
Q = prob. Of failure in one trial = 2 / 3

Probability of exactly 4 times success = 10 C 4

Bayes Theorem.

It is a theorem in which we find the probability of an event after the event is completed / happened.
It is derived from the conditional probaility.

Outcome is known before knowing the probability.

P( A|B ) = P( A ) x P( B|A ) / P( B )

Example :-

If a person is dead then baye will ask what is the probability of that person who died having any life-style disease.

Another example :-

We have data of Gender and whether they survived or not and from that with the help of baye we can find out if a man enters what will be the probability that he will survive or not.

🙏 Thank you all for your time and support! 🙏
Don't forget to catch me daily for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay