Skip to content

Commit df7260f

Browse files
committed
Initial commit
0 parents  commit df7260f

File tree

8 files changed

+90
-0
lines changed

8 files changed

+90
-0
lines changed

README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Fundamentals of Probability Theory [![View <File Exchange Title> on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/####-NAME)
2+
**Curriculum Module**
3+
_Created with R2021a. Compatible with R2021a and later releases._
4+
5+
## Description ##
6+
This package contains _[live scripts](https://www.mathworks.com/products/matlab/live-editor.html)_ 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.
7+
8+
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.
9+
10+
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.
11+
12+
## Prerequisite Domain Knowledge ##
13+
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.
14+
15+
## Suggested Prework ##
16+
[MATLAB Onramp](https://www.mathworks.com/learn/tutorials/matlab-onramp.html) – a free two-hour introductory tutorial to learn the essentials of MATLAB®.
17+
18+
19+
## Details ##
20+
21+
**`probabilityIntro.mlx`**
22+
**Learning Goals**
23+
- Explain the commonly used terms in probability such as random experiment, random process, trial, event, outcome, countable, equally likely, sample space, mutual independence.
24+
- Define and compute classical probability of events.
25+
<img height="230" width="550" alt="classical probability" src="https://user-images.githubusercontent.com/81376570/134550273-b246a33e-87f7-4321-aa57-fe43f1fcba6a.png">
26+
- Define and compute empirical probability of events.
27+
<img height="230" alt="empirical probability" src="https://user-images.githubusercontent.com/81376570/134533144-0c177d81-cea4-4232-95dd-fc0e9cb63800.gif">
28+
- Explain the limitations and strengths of the subjective, classical, and empirical perspectives of probability.
29+
- State and apply Kolmogorov's axioms of probability.
30+
31+
## ##
32+
33+
**`randomVariables.mlx`, `randomVariableApp.mlapp`**
34+
**Learning Goals**
35+
- Define and create random variables to describe random processes.
36+
- Generate an empirical distribution of random variables through random sampling.
37+
- Explain the meaning of expectation and variance for random variables.
38+
- Explain the difference between continuous and discrete random variables.
39+
- Identify and use the discrete uniform and continuous normal probability distributions.
40+
- 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.
41+
- State the Central Limit Theorem and explain its implications for statistical inference.
42+
43+
44+
<img height="400" alt="central limit theorem" src="https://user-images.githubusercontent.com/81376570/134528844-44efc801-83b8-446e-ba9d-5091fbf411ab.gif">
45+
46+
## ##
47+
**`inferenceBayes.mlx`**
48+
**Learning Goals**
49+
- Define conditional probability, and explain how it affects the sample space.
50+
<img height="600" alt="conditional probability" src="https://user-images.githubusercontent.com/81376570/134539490-24e6a992-f46c-4f78-b0e3-ac867d5304f8.png">
51+
- State Bayes' theorem mathematically, and explain its implications for statistical inference.
52+
<img height="500" alt="conditional probability" src="https://user-images.githubusercontent.com/81376570/135294592-d9c61718-63c7-4197-81d2-0c4bb43c01b6.png">
53+
- Apply Bayes' theorem to practical real-world problems.
54+
55+
**Data files:** `people.png`(optional)
56+
57+
58+
## Products ##
59+
MATLAB, Statistics and Machine Learning Toolbox&trade;, Image Processing Toolbox&trade;
60+
61+
## License ##
62+
The license for this module is available in the LICENSE.TXT file in this GitHub repository.
63+
64+
## Educator Resources ##
65+
- [Featured Courseware](https://www.mathworks.com/academia/courseware/course-materials.html)
66+
- [Teach with MATLAB and Simulink ](https://www.mathworks.com/academia/educators.html)
67+
- [MATLAB Grader](https://www.mathworks.com/products/matlab-grader.html)
68+
69+
Have any questions or feedback? Contact the [MathWorks online teaching team](mailto:[email protected]).
70+
71+
## ##
72+
73+
_Copyright 2021 The MathWorks, Inc._

SECURITY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reporting Security Vulnerabilities
2+
3+
If you believe you have discovered a security vulnerability, please report it to
4+
[[email protected]](mailto:[email protected]). Please see
5+
[MathWorks Vulnerability Disclosure Policy for Security Researchers](https://www.mathworks.com/company/aboutus/policies_statements/vulnerability-disclosure-policy.html)
6+
for additional information.

inferenceBayes.mlx

81.2 KB
Binary file not shown.

license.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright (c) 2021, The MathWorks, Inc.
2+
All rights reserved.
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
6+
3. In all cases, the software is, and all modifications and derivatives of the software shall be, licensed to you solely for use in conjunction with MathWorks products and service offerings.
7+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8+
9+
10+
11+

people.png

16.3 KB
Loading

probabilityIntro.mlx

59.1 KB
Binary file not shown.

randomVariableApp.mlapp

208 KB
Binary file not shown.

randomVariables.mlx

269 KB
Binary file not shown.

0 commit comments

Comments
 (0)