Git Product home page Git Product logo

dsc-probability-section-recap's Introduction

Combinatorics and Probability - Recap

Introduction

In this section, you learned about the concepts of combinatorics and probability.

Key Takeaways

In this section, we dug into a number of foundational concepts - from NumPy to the basics of Probability

  • Probability is "how likely" it is that an event will happen

  • Sets in Python are unordered collections of unique elements

  • A sample space is a collection of every single possible outcome in a trial

  • The inclusion exclusion principle is a counting technique used to calculate the number of elements in a collection of sets with overlapping elements

  • Factorials provide the basis for calculating permutations

  • The difference between permutations and combinations is that with combinations, order is not important

  • The "sum rule" of probability states that $P(A\cup B) = P(A) + P(B) - P(A \cap B) $

  • Independent events don't affect each other - e.g. consecutive coin tosses

  • Dependent events do affect each other - e.g. picking consecutive colored marbles from a bag

  • The product rule is useful when the conditional probability is easy to compute, but the probability of intersections of events is not.

  • The chain rule (also called the general product rule) permits the calculation of any member of the joint distribution of a set of random variables using only conditional probabilities.

  • Bayes theorem describes the probability of an event based on prior knowledge of conditions that might be related to the event

  • The law of total probability states that the probability for a sample space is the sum of the probabilities for partitions of that sample space

In this section, we introduced the ideas of combinatorics and probability. In the next section, you'll use this knowledge and take it a step further by learning about statistical distributions and their applications!

dsc-probability-section-recap's People

Contributors

cheffrey2000 avatar fpolchow avatar lmcm18 avatar loredirick avatar mas16 avatar peterbell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.