Probability-Theory
Fundamentals of Probability Theory
Curriculum Module
Created with R2021a. Compatible with R2021a and later releases.
Description
This package contains live scripts and supporting files to teach the fundamental concepts in probability theory and statistical inference. These materials are designed to be flexible and can be easily modified to accommodate a variety of teaching and learning methods. Used in a sequence, the live scripts progressively add depth to the topic. However, each script or section can be easily adapted for standalone use. The live scripts include a brief background, interactive illustrations, tasks, reflection questions, and application examples.
This module can be used as part of a lecture, as activities in an instructional setting, or as interactive assignments to be completed outside of class. The live script sections contains direct instructions or tasks to illustrate the basics and additional reflection questions that are more open-ended.
Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the Stop button in the Run section of the Live Editor tab in the MATLAB toolstrip.
Prerequisite Domain Knowledge
This module assumes a knowledge of basic concepts in set theory, such as ⋃ (union) and ⋂ (intersection). It also assumes basic fluency in mathematical notation for Σ (summation) and Π (product). Other notation relevant to probability theory is introduced within the module as needed.
Suggested Prework
MATLAB Onramp – a free two-hour introductory tutorial to learn the essentials of MATLAB®.
Details
probabilityIntro.mlx
Learning Goals
- Explain the commonly used terms in probability such as random experiment, random process, trial, event, outcome, countable, equally likely, sample space, mutual independence.
- Define and compute classical probability of events.
- Define and compute empirical probability of events.
- Explain the limitations and strengths of the subjective, classical, and empirical perspectives of probability.
- State and apply Kolmogorov's axioms of probability.
randomVariables.mlx
, randomVariableApp.mlapp
Learning Goals
- Define and create random variables to describe random processes.
- Generate an empirical distribution of random variables through random sampling.
- Explain the meaning of expectation and variance for random variables.
- Explain the difference between continuous and discrete random variables.
- Identify and use the discrete uniform and continuous normal probability distributions.
- Define and apply the probability density function and cumulative density function to find the probability of a random variable's value falling within a given interval.
- State the Central Limit Theorem and explain its implications for statistical inference.
inferenceBayes.mlx
Learning Goals
- Define conditional probability, and explain how it affects the sample space.
- State Bayes' theorem mathematically, and explain its implications for statistical inference.
- Apply Bayes' theorem to practical real-world problems.
Data files: people.png
(optional)
Products
MATLAB®, Statistics and Machine Learning Toolbox™, Image Processing Toolbox™
License
The license for this module is available in the LICENSE.TXT file in this GitHub repository.
Educator Resources
Have any questions or feedback? Contact the MathWorks online teaching team.
Authored by: Pooja Lalan
Maintained by: Emma Smith Zbarsky
Copyright 2021 The MathWorks, Inc.
Cite As
Emma Smith Zbarsky (2023). Probability-Theory (https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.5), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.1.5.0 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.5 |
||
1.1.4 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.4 |
||
1.1.3 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.3 |
||
1.1.2 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.2 |
||
1.1.1 | See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Probability-Theory/releases/tag/v1.1.1 |
||
1.1.0 |