Discrete Random Variable: Difference between revisions
(Created page with "Category:Statistics A random variable is '''discrete''' if the values it can take on within an interval is ''finite''. = PMF and CDF = The '''probability mass function (PMF)''' describes the probability distribution over a discrete random variable. <math>p(x) = P(X = x)</math> The '''cumulative distribution function (CDF)''' specifies the probability of an observation being equal to or less than a given value. <math>F(x) = P(X \leq x)</math> We usually have tabl...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Statistics]] | [[Category:Statistics]] | ||
[[Category:Distribution (Statistics)]] | |||
A random variable is '''discrete''' if the values it can take on within an interval is ''finite''. | A random variable is '''discrete''' if the values it can take on within an interval is ''finite''. | ||
Line 12: | Line 13: | ||
We usually have tables for these in the case of discrete random variables. | We usually have tables for these in the case of discrete random variables. | ||
= Statistics = | |||
Expected value (mean): | |||
<math> | |||
\mu = E(X) = \sum x_i P(X = x_i) | |||
</math> | |||
= Distributions = | |||
== Bernoulli == | |||
The '''bernoulli distribution''' describes the random variable of an experiment that has two outcomes and is performed once. The outcomes are either ''success'' or ''failure''. | |||
<math> | |||
X \sim Bernoulli(p) | |||
</math> | |||
=== PMF === | |||
<math> | |||
p(1) = p, p(0) = 1 - p | |||
</math> | |||
=== Statistics === | |||
<math> | |||
\mu = p | |||
</math> | |||
<math> | |||
\sigma^2_X = p (1 - p) | |||
</math> | |||
== Binomial == | |||
Repeating a bernoulli experiment <math>n</math> times and we get a '''binomial random variable'''. | |||
Consider an experiment with exactly two possible outcomes, conducted n times independently. The variable of interest <math>X</math> is the number of successful trials. The distribution relies on the number of trials and the probability of success. | |||
<math> | |||
X \sim Binomial(n, p) | |||
</math> | |||
=== PMF === | |||
<math> | |||
(^n_x) p^x (1 - p)^{n - x} | |||
</math> | |||
=== Statistics === | |||
<math> | |||
\mu = np | |||
</math> | |||
<math> | |||
\sigma^2 = np (1 - p) | |||
</math> | |||
= Poisson = | |||
The '''poisson distribution''' is used when we know the ''average rate of occurrence for a particular event over a particular time period.'' | |||
* There must be '''fixed interval''' of the time or space | |||
* Events happen with a '''known average rate''' independent of time or the last event. | |||
* The average rate of occurrence per unit of time/sace is the '''rate parameter''' <math>\lambda</math> | |||
Poisson distribution approximates binomial distribution when ''n'' is large and ''p'' is small, used to model rare events. Normally it is used to measure the number of events in a unit time, whereas [[Continuous Random Variable#Exponential Distribution|exponential distribution]] models the amount of waiting time until an event. | |||
I'm sleepy I'll write the details later... zzz... |
Latest revision as of 16:34, 19 March 2024
A random variable is discrete if the values it can take on within an interval is finite.
PMF and CDF
The probability mass function (PMF) describes the probability distribution over a discrete random variable.
The cumulative distribution function (CDF) specifies the probability of an observation being equal to or less than a given value.
We usually have tables for these in the case of discrete random variables.
Statistics
Expected value (mean):
Distributions
Bernoulli
The bernoulli distribution describes the random variable of an experiment that has two outcomes and is performed once. The outcomes are either success or failure.
PMF
Statistics
Binomial
Repeating a bernoulli experiment times and we get a binomial random variable.
Consider an experiment with exactly two possible outcomes, conducted n times independently. The variable of interest is the number of successful trials. The distribution relies on the number of trials and the probability of success.
PMF
Statistics
Poisson
The poisson distribution is used when we know the average rate of occurrence for a particular event over a particular time period.
- There must be fixed interval of the time or space
- Events happen with a known average rate independent of time or the last event.
- The average rate of occurrence per unit of time/sace is the rate parameter
Poisson distribution approximates binomial distribution when n is large and p is small, used to model rare events. Normally it is used to measure the number of events in a unit time, whereas exponential distribution models the amount of waiting time until an event.
I'm sleepy I'll write the details later... zzz...