Difference between revisions of "FND-STA-Probability distribution"

From "A B C"
Jump to navigation Jump to search
m (Created page with "<div id="BIO"> <div class="b1"> Probability Distribution </div> {{Vspace}} <div class="keywords"> <b>Keywords:</b>  Nature of a probability distribution, integr...")
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="BIO">
+
<div id="ABC">
  <div class="b1">
+
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce; font-size:300%; font-weight:400; color: #000000; width:100%;">
 
Probability Distribution
 
Probability Distribution
  </div>
+
<div style="padding:5px; margin-top:20px; margin-bottom:10px; background-color:#b3dbce; font-size:30%; font-weight:200; color: #000000; ">
 
+
(Nature of a probability distribution, important distributions, comparing observed and simulated probability distributions, Kullback-Leibler divergence, the Kolmogorov-Smirnov test.)
  {{Vspace}}
+
</div>
 
 
<div class="keywords">
 
<b>Keywords:</b>&nbsp;
 
Nature of a probability distribution, integrals, important distributions, comparing observed and simulated probability distributions, the Kolmogorov-Smirnov test
 
 
</div>
 
</div>
  
{{Vspace}}
+
{{Smallvspace}}
 
 
 
 
__TOC__
 
 
 
{{Vspace}}
 
 
 
 
 
{{STUB}}
 
 
 
{{Vspace}}
 
  
  
 +
<div style="padding:5px; border:1px solid #000000; background-color:#b3dbce33; font-size:85%;">
 +
<div style="font-size:118%;">
 +
<b>Abstract:</b><br />
 +
<section begin=abstract />
 +
Probability distributions are at the core of any statistical analysis, in which modelled distributions are compared with sampled distributions to relate an observation to our theoretical understanding. This unit introduces the principles, discusses Poisson, uniform, and normal distributions, and presents methods to compare distributions with each other and quantify the difference.
 +
<section end=abstract />
 
</div>
 
</div>
<div id="ABC-unit-framework">
+
<!-- ============================  -->
== Abstract ==
+
<hr>
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "abstract" -->
+
<table>
...
+
<tr>
 
+
<td style="padding:10px;">
{{Vspace}}
+
<b>Objectives:</b><br />
 
+
This unit will ...
 
+
* ... introduce basic concepts of probability distributions;
== This unit ... ==
+
* ... demonstrate the Poisson, the uniform, and the normal distribution;
=== Prerequisites ===
+
* ... teach how to visually and quantitatively compare them.
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "prerequisites" -->
+
</td>
<!-- included from "ABC-unit_components.wtxt", section: "notes-external_prerequisites" -->
+
<td style="padding:10px;">
You need the following preparation before beginning this unit. If you are not familiar with this material from courses you took previously, you need to prepare yourself from other information sources:
+
<b>Outcomes:</b><br />
<!-- included from "FND-prerequisites.wtxt", section: "calculus" -->
+
After working through this unit you ...
 +
* ... can interpret observed events in terms of probability distributions;
 +
* ... are familar with the Poisson, the uniform, and the normal distribution;
 +
* ... can compare observed distributions against the normal distribution with <code>qqnorm()</code>.
 +
* ... can compare observed distributions against each other with <code>qqplot()</code>.
 +
* ... can use Kullback-Leibler divergence for discrete distributions, and <code>ks.test()</code> for continuous distributions to quantify differences.
 +
</td>
 +
</tr>
 +
</table>
 +
<!-- ============================ -->
 +
<hr>
 +
<b>Deliverables:</b><br />
 +
<section begin=deliverables />
 +
<li><b>Time management</b>: Before you begin, estimate how long it will take you to complete this unit. Then, record in your course journal: the number of hours you estimated, the number of hours you worked on the unit, and the amount of time that passed between start and completion of this unit.</li>
 +
<li><b>Journal</b>: Document your progress in your [[FND-Journal|Course Journal]]. Some tasks may ask you to include specific items in your journal. Don't overlook these.</li>
 +
<li><b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|'''insights!''' page]].</li>
 +
<section end=deliverables />
 +
<!-- ============================  -->
 +
<hr>
 +
<section begin=prerequisites />
 +
<b>Prerequisites:</b><br />
 +
You need the following preparation before beginning this unit. If you are not familiar with this material from courses you took previously, you need to prepare yourself from other information sources:<br />
 
*<b>Calculus</b>: functions and equations; polynomial functions, logarithms, trigonometric functions; integrals and derivatives; theorem and proof.
 
*<b>Calculus</b>: functions and equations; polynomial functions, logarithms, trigonometric functions; integrals and derivatives; theorem and proof.
<!-- included from "ABC-unit_components.wtxt", section: "notes-prerequisites" -->
+
This unit builds on material covered in the following prerequisite units:<br />
You need to complete the following units before beginning this one:
+
*[[FND-STA-Probability|FND-STA-Probability (Probability)]]
*[[FND-STA-Probability]]
+
<section end=prerequisites />
 +
<!-- ============================  -->
 +
</div>
  
{{Vspace}}
+
{{Smallvspace}}
  
  
=== Objectives ===
 
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "objectives" -->
 
...
 
  
{{Vspace}}
+
{{Smallvspace}}
  
  
=== Outcomes ===
+
__TOC__
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "outcomes" -->
 
...
 
 
 
{{Vspace}}
 
 
 
 
 
=== Deliverables ===
 
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "deliverables" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-time_management" -->
 
*<b>Time management</b>: Before you begin, estimate how long it will take you to complete this unit. Then, record in your course journal: the number of hours you estimated, the number of hours you worked on the unit, and the amount of time that passed between start and completion of this unit.
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-journal" -->
 
*<b>Journal</b>: Document your progress in your [[FND-Journal|course journal]].
 
<!-- included from "ABC-unit_components.wtxt", section: "deliverables-insights" -->
 
*<b>Insights</b>: If you find something particularly noteworthy about this unit, make a note in your [[ABC-Insights|insights! page]].
 
  
 
{{Vspace}}
 
{{Vspace}}
Line 74: Line 72:
  
 
=== Evaluation ===
 
=== Evaluation ===
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "evaluation" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "eval-none" -->
 
 
<b>Evaluation: NA</b><br />
 
<b>Evaluation: NA</b><br />
:This unit is not evaluated for course marks.
+
<div style="margin-left: 2rem;">This unit is not evaluated for course marks.</div>
 
 
{{Vspace}}
 
 
 
 
 
</div>
 
<div id="BIO">
 
 
== Contents ==
 
== Contents ==
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "contents" -->
 
...
 
 
{{Vspace}}
 
  
 +
{{Smallvspace}}
  
== Further reading, links and resources ==
+
{{ABC-unit|FND-STA-Probability_distribution.R}}
<!-- {{#pmid: 19957275}} -->
 
<!-- {{WWW|WWW_GMOD}} -->
 
<!-- <div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div> -->
 
  
 
{{Vspace}}
 
{{Vspace}}
  
 
== Notes ==
 
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "notes" -->
 
<!-- included from "ABC-unit_components.wtxt", section: "notes" -->
 
<references />
 
  
 
{{Vspace}}
 
{{Vspace}}
  
 
</div>
 
<div id="ABC-unit-framework">
 
== Self-evaluation ==
 
<!-- included from "../components/FND-STA-Probability_distribution.components.wtxt", section: "self-evaluation" -->
 
<!--
 
=== Question 1===
 
 
Question ...
 
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
Answer ...
 
<div class="mw-collapsible-content">
 
Answer ...
 
 
</div>
 
  </div>
 
 
  {{Vspace}}
 
 
-->
 
 
{{Vspace}}
 
 
 
 
{{Vspace}}
 
 
 
<!-- included from "ABC-unit_components.wtxt", section: "ABC-unit_ask" -->
 
 
----
 
 
{{Vspace}}
 
 
<b>If in doubt, ask!</b> If anything about this learning unit is not clear to you, do not proceed blindly but ask for clarification. Post your question on the course mailing list: others are likely to have similar problems. Or send an email to your instructor.
 
 
----
 
 
{{Vspace}}
 
  
 
<div class="about">
 
<div class="about">
Line 155: Line 94:
 
:2017-08-05
 
:2017-08-05
 
<b>Modified:</b><br />
 
<b>Modified:</b><br />
:2017-08-05
+
:2020-09-22
 
<b>Version:</b><br />
 
<b>Version:</b><br />
:0.1
+
:1.0.01
 
<b>Version history:</b><br />
 
<b>Version history:</b><br />
*0.1 First stub
+
*1.0.1 2020 Maintenance
 +
*1.0 New material
 
</div>
 
</div>
[[Category:ABC-units]]
 
<!-- included from "ABC-unit_components.wtxt", section: "ABC-unit_footer" -->
 
  
 
{{CC-BY}}
 
{{CC-BY}}
  
 +
[[Category:ABC-units]]
 +
{{UNIT}}
 +
{{LIVE}}
 
</div>
 
</div>
 
<!-- [END] -->
 
<!-- [END] -->

Latest revision as of 05:20, 23 September 2020

Probability Distribution

(Nature of a probability distribution, important distributions, comparing observed and simulated probability distributions, Kullback-Leibler divergence, the Kolmogorov-Smirnov test.)


 


Abstract:

Probability distributions are at the core of any statistical analysis, in which modelled distributions are compared with sampled distributions to relate an observation to our theoretical understanding. This unit introduces the principles, discusses Poisson, uniform, and normal distributions, and presents methods to compare distributions with each other and quantify the difference.


Objectives:
This unit will ...

  • ... introduce basic concepts of probability distributions;
  • ... demonstrate the Poisson, the uniform, and the normal distribution;
  • ... teach how to visually and quantitatively compare them.

Outcomes:
After working through this unit you ...

  • ... can interpret observed events in terms of probability distributions;
  • ... are familar with the Poisson, the uniform, and the normal distribution;
  • ... can compare observed distributions against the normal distribution with qqnorm().
  • ... can compare observed distributions against each other with qqplot().
  • ... can use Kullback-Leibler divergence for discrete distributions, and ks.test() for continuous distributions to quantify differences.

Deliverables:

  • Time management: Before you begin, estimate how long it will take you to complete this unit. Then, record in your course journal: the number of hours you estimated, the number of hours you worked on the unit, and the amount of time that passed between start and completion of this unit.
  • Journal: Document your progress in your Course Journal. Some tasks may ask you to include specific items in your journal. Don't overlook these.
  • Insights: If you find something particularly noteworthy about this unit, make a note in your insights! page.

  • Prerequisites:
    You need the following preparation before beginning this unit. If you are not familiar with this material from courses you took previously, you need to prepare yourself from other information sources:

    • Calculus: functions and equations; polynomial functions, logarithms, trigonometric functions; integrals and derivatives; theorem and proof.

    This unit builds on material covered in the following prerequisite units:


     



     



     


    Evaluation

    Evaluation: NA

    This unit is not evaluated for course marks.

    Contents

     

    Task:

     
    • Open RStudio and load the ABC-units R project. If you have loaded it before, choose FileRecent projectsABC-Units. If you have not loaded it before, follow the instructions in the RPR-Introduction unit.
    • Choose ToolsVersion ControlPull Branches to fetch the most recent version of the project from its GitHub repository with all changes and bug fixes included.
    • Type init() if requested.
    • Open the file FND-STA-Probability_distribution.R and follow the instructions.


     

    Note: take care that you understand all of the code in the script. Evaluation in this course is cumulative and you may be asked to explain any part of code.


     


     


     


    About ...
     
    Author:

    Boris Steipe <boris.steipe@utoronto.ca>

    Created:

    2017-08-05

    Modified:

    2020-09-22

    Version:

    1.0.01

    Version history:

    • 1.0.1 2020 Maintenance
    • 1.0 New material

    CreativeCommonsBy.png This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.