<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>probability mass function &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/probability-mass-function/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Sat, 25 Jan 2020 06:09:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.4</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>probability mass function &#8211; Problems in Mathematics</title>
	<link>https://yutsumura.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114989322</site>	<item>
		<title>Expectation, Variance, and Standard Deviation of Bernoulli Random Variables</title>
		<link>https://yutsumura.com/expectation-variance-and-standard-deviation-of-bernoulli-random-variables/</link>
				<comments>https://yutsumura.com/expectation-variance-and-standard-deviation-of-bernoulli-random-variables/#comments</comments>
				<pubDate>Fri, 24 Jan 2020 05:13:18 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Probability]]></category>
		<category><![CDATA[Bernoulli random variable]]></category>
		<category><![CDATA[expectation]]></category>
		<category><![CDATA[expected value]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[probability mass function]]></category>
		<category><![CDATA[standard deviation]]></category>
		<category><![CDATA[variance]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=7212</guid>
				<description><![CDATA[<p>A random variable $X$ is said to be a Bernoulli random variable if its probability mass function is given by \begin{align*} P(X=0) &#038;= 1-p\\ P(X=1) &#038; = p \end{align*} for some real number $0&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/expectation-variance-and-standard-deviation-of-bernoulli-random-variables/" target="_blank">Expectation, Variance, and Standard Deviation of Bernoulli Random Variables</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 747</h2>
<p>A random variable $X$ is said to be a <strong>Bernoulli random variable</strong> if its probability mass function is given by<br />
	\begin{align*}<br />
	P(X=0) &#038;= 1-p\\<br />
	P(X=1) &#038; = p<br />
	\end{align*}<br />
	for some real number $0 \leq p \leq 1$.</p>
<p><strong>(1)</strong> Find the expectation of the Bernoulli random variable $X$ with probability $p$.</p>
<p><strong>(2)</strong> Find the variance of $X$.</p>
<p><strong>(3)</strong> Find the standard deviation of $X$.</p>
<p><span id="more-7212"></span><br />

<h2>Solution.</h2>
<h3>Solution of (1)</h3>
<p>As $X$ is a Bernoulli random variable, it takes only two values $0$ or $1$.<br />
			Thus, by definition of expectation, we obtain<br />
			\begin{align*}<br />
			E[X] &#038;= \sum_{i=0}^1 P(X=i)x\\<br />
			&#038;= P(X=0) \cdot 0 + P(X=1) \cdot 1\\<br />
			&#038;= (1-p) \cdot 0 + p \cdot 1\\<br />
			&#038;= p.<br />
			\end{align*}<br />
		Hence, the expectation of the Bernoulli random variable $X$ with parameter $p$ is $E[X] = p$.</p>
<h3>Solution of (2)</h3>
<p>We calculate the variance of the Bernoulli random variable $X$ using the definition of a variance. Namely, the variance of $X$ is defined as<br />
		\[V(X) = E[X^2] &#8211; \left(E[X]\right)^2.\]
		Here is an observation that makes the computation simpler: As the Bernoulli random variable takes only the values $0$ or $1$, it follows that $X^2 = X$. Thus, the variance can be computed as follows.<br />
		\begin{align*}<br />
		V(X) &#038;= E[X^2] &#8211; \left(E[X]\right)^2  &#038;&#038; \text{by definition of variance}\\<br />
		&#038;= E[X] &#8211; \left(E[X]\right)^2  &#038;&#038; \text{by observation $X^2=X$}\\<br />
		&#038;= p &#8211; p^2 &#038;&#038; \text{by result of (1)}\\<br />
		&#038;= p(1-p)<br />
		\end{align*}</p>
<p>		Thus, the variance of the Bernoulli random variable $X$ with parameter $p$ is given by<br />
		\[V(X) = p(1-p).\]
<h3>Solution of (3)</h3>
<p>The standard deviation is obtained by taking the square root of the variance. Hence, using the result of (2), the standard deviation of the Bernoulli random variable $X$ with parameter $p$ is<br />
		\[\sigma(X) = \sqrt{p(1-p)}.\]
<h2>Related Problem </h2>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>.<br />
Suppose that $X$ is a random variable with Bernoulli distribution $B_p$ with probability parameter $p$. </p>
<p>Assume that the variance $V(X) = 0.21$. We further assume that $p > 0.5$.</p>
<p><strong>(a)</strong> Find the probability $p$.</p>
<p><strong>(b)</strong> Find the expectation $E(X)$.
</div>
<p>For a solution, see the post <a href="https://yutsumura.com/given-the-variance-of-a-bernoulli-random-variable-find-its-expectation/" rel="noopener noreferrer" target="_blank">Given the Variance of a Bernoulli Random Variable, Find Its Expectation</a></p>
<button class="simplefavorite-button has-count" data-postid="7212" data-siteid="1" data-groupid="1" data-favoritecount="5" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">5</span></button><p>The post <a href="https://yutsumura.com/expectation-variance-and-standard-deviation-of-bernoulli-random-variables/" target="_blank">Expectation, Variance, and Standard Deviation of Bernoulli Random Variables</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/expectation-variance-and-standard-deviation-of-bernoulli-random-variables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">7212</post-id>	</item>
	</channel>
</rss>
