<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Probability Distributions on Arshad Siddiqui</title><link>https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/</link><description>Recent content in Probability Distributions on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 22 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/index.xml" rel="self" type="application/rss+xml"/><item><title>Random Variables</title><link>https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/random-variables/</link><pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/random-variables/</guid><description>&lt;h1 id="random-variables">
 Random Variables
 
 &lt;a class="anchor" href="#random-variables">#&lt;/a>
 
&lt;/h1>
&lt;p>A random variable is a way to attach numbers to outcomes of a random experiment.&lt;/p>
&lt;p>It lets us move from:
“what happened?”
to:
“what number should we analyse?”&lt;/p>
&lt;blockquote class="book-hint info">
&lt;p>Key takeaway:
A random variable is a &lt;em>function&lt;/em> from the sample space to real numbers.
Once you define the random variable clearly, the rest (pmf/pdf/cdf, mean, variance) becomes systematic.&lt;/p>
&lt;/blockquote>
&lt;hr>


&lt;script src="https://arshadhs.github.io/mermaid.min.js">&lt;/script>

 &lt;script>mermaid.initialize({
 "flowchart": {
 "useMaxWidth":true
 },
 "theme": "default"
}
)&lt;/script>




&lt;pre class="mermaid">
flowchart TD
PD[&amp;#34;Probability&amp;lt;br/&amp;gt;distributions&amp;#34;] --&amp;gt; RV[&amp;#34;Random&amp;lt;br/&amp;gt;variables&amp;#34;]

RV --&amp;gt; T[&amp;#34;Types&amp;#34;]
T --&amp;gt; RV1[&amp;#34;Discrete&amp;lt;br/&amp;gt;RVs&amp;#34;]
T --&amp;gt; RV2[&amp;#34;Continuous&amp;lt;br/&amp;gt;RVs&amp;#34;]

RV --&amp;gt; F[&amp;#34;PMF / PDF / CDF&amp;#34;]
RV --&amp;gt; S[&amp;#34;Mean / Variance&amp;lt;br/&amp;gt;Covariance&amp;#34;]
RV --&amp;gt; J[&amp;#34;Joint &amp;amp; Marginal&amp;lt;br/&amp;gt;distributions&amp;#34;]
RV --&amp;gt; X[&amp;#34;Transformations&amp;#34;]

style PD fill:#90CAF9,stroke:#1E88E5,color:#000
style RV fill:#90CAF9,stroke:#1E88E5,color:#000

style T fill:#CE93D8,stroke:#8E24AA,color:#000
style F fill:#CE93D8,stroke:#8E24AA,color:#000
style S fill:#CE93D8,stroke:#8E24AA,color:#000
style J fill:#CE93D8,stroke:#8E24AA,color:#000
style X fill:#CE93D8,stroke:#8E24AA,color:#000
style RV1 fill:#CE93D8,stroke:#8E24AA,color:#000
style RV2 fill:#CE93D8,stroke:#8E24AA,color:#000
&lt;/pre>

&lt;hr>
&lt;h2 id="1-definition">
 1) Definition
 
 &lt;a class="anchor" href="#1-definition">#&lt;/a>
 
&lt;/h2>
&lt;p>Random variable:
a rule that assigns a number to each outcome.&lt;/p></description></item><item><title>Common Probability Distributions</title><link>https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/common-distributions/</link><pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/ai/statistics/03_probability_distributions/common-distributions/</guid><description>&lt;h1 id="common-probability-distributions">
 Common Probability Distributions
 
 &lt;a class="anchor" href="#common-probability-distributions">#&lt;/a>
 
&lt;/h1>
&lt;p>Once you can describe a random variable using a pmf or pdf, the next step is to use
named distributions that appear repeatedly in real data and in ML models.&lt;/p>
&lt;blockquote class="book-hint info">
&lt;p>Key takeaway:
Named distributions give you ready-made probability models for common patterns:
binary outcomes, counts, and measurement noise.&lt;/p>
&lt;/blockquote>
&lt;hr>


&lt;pre class="mermaid">
flowchart TD
PD[&amp;#34;Probability&amp;lt;br/&amp;gt;distributions&amp;#34;] --&amp;gt; DS[&amp;#34;Common&amp;lt;br/&amp;gt;distributions&amp;#34;]

DS --&amp;gt; DIS[&amp;#34;Discrete&amp;#34;]
DS --&amp;gt; CON[&amp;#34;Continuous&amp;#34;]

DIS --&amp;gt; D1[&amp;#34;Bernoulli&amp;#34;]
DIS --&amp;gt; D2[&amp;#34;Binomial&amp;#34;]
DIS --&amp;gt; D3[&amp;#34;Poisson&amp;#34;]

CON --&amp;gt; D4[&amp;#34;Normal&amp;lt;br/&amp;gt;(Gaussian)&amp;#34;]
CON --&amp;gt; D5[&amp;#34;t / Chi-square / F&amp;lt;br/&amp;gt;(intro)&amp;#34;]

style PD fill:#90CAF9,stroke:#1E88E5,color:#000
style DS fill:#90CAF9,stroke:#1E88E5,color:#000

style DIS fill:#CE93D8,stroke:#8E24AA,color:#000
style CON fill:#CE93D8,stroke:#8E24AA,color:#000

style D1 fill:#C8E6C9,stroke:#2E7D32,color:#000
style D2 fill:#C8E6C9,stroke:#2E7D32,color:#000
style D3 fill:#C8E6C9,stroke:#2E7D32,color:#000
style D4 fill:#C8E6C9,stroke:#2E7D32,color:#000
style D5 fill:#C8E6C9,stroke:#2E7D32,color:#000
&lt;/pre>

&lt;hr>
&lt;h2 id="1-bernoulli-distribution-binary">
 1) Bernoulli distribution (binary)
 
 &lt;a class="anchor" href="#1-bernoulli-distribution-binary">#&lt;/a>
 
&lt;/h2>
&lt;p>Use when:
one trial has two outcomes (success/failure).&lt;/p></description></item></channel></rss>