<?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#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Emanuel Winterfors</title>
	<atom:link href="http://winterfors.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://winterfors.wordpress.com</link>
	<description>On my PhD topic</description>
	<lastBuildDate>Sat, 23 Feb 2008 17:26:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='winterfors.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Emanuel Winterfors</title>
		<link>http://winterfors.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://winterfors.wordpress.com/osd.xml" title="Emanuel Winterfors" />
	<atom:link rel='hub' href='http://winterfors.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Mapping of a probability density</title>
		<link>http://winterfors.wordpress.com/2008/02/21/mapping-of-a-probability-density/</link>
		<comments>http://winterfors.wordpress.com/2008/02/21/mapping-of-a-probability-density/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 11:59:02 +0000</pubDate>
		<dc:creator>Emanuel Winterfors</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Probability theory]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://winterfors.wordpress.com/?p=7</guid>
		<description><![CDATA[Problem formulation We have a probability density , with respect to a measure on . If is mapped onto another set by a function what will be the probability density over , with respect to a measure on ? General solution where is Dirac&#8217;s delta function at so that for any measurable subset of &#8212; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=winterfors.wordpress.com&amp;blog=2789872&amp;post=7&amp;subd=winterfors&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><br />
<h3>Problem formulation</h3>
<p></strong></p>
<p>We have a probability density <img src='http://s0.wp.com/latex.php?latex=p_X+%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_X (x)' title='p_X (x)' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=x+%5Cin+X&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='x &#92;in X' title='x &#92;in X' class='latex' /> with respect to a measure <img src='http://s0.wp.com/latex.php?latex=dX&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='dX' title='dX' class='latex' /> on <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='X' title='X' class='latex' />.</p>
<p>If <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='X' title='X' class='latex' /> is mapped onto another set <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='Y' title='Y' class='latex' /> by a function <img src='http://s0.wp.com/latex.php?latex=%5CPhi+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Phi ' title='&#92;Phi ' class='latex' /></p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5CPhi+%3AX+%5Cto+Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Phi :X &#92;to Y' title='&#92;Phi :X &#92;to Y' class='latex' /></p>
<p>what will be the probability density <img src='http://s0.wp.com/latex.php?latex=p_Y+%28y%29%2C+%5Cquad+y+%5Cin+Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_Y (y), &#92;quad y &#92;in Y' title='p_Y (y), &#92;quad y &#92;in Y' class='latex' /> over <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='Y' title='Y' class='latex' />, with respect to a measure <img src='http://s0.wp.com/latex.php?latex=dY&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='dY' title='dY' class='latex' /> on <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='Y' title='Y' class='latex' />?</p>
<p><strong><br />
<h3>General solution</h3>
<p></strong></p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=p_Y+%28y%29+%3D+%5Cint%5Climits_%7Bx+%5Cin+X%7D+%7Bp_X+%28x%29%5Cdelta+_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29dX%7D+%5Cquad+%2C&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p_Y (y) = &#92;int&#92;limits_{x &#92;in X} {p_X (x)&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dX} &#92;quad ,' title='p_Y (y) = &#92;int&#92;limits_{x &#92;in X} {p_X (x)&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dX} &#92;quad ,' class='latex' /></p>
<p>where <img src='http://s0.wp.com/latex.php?latex=%5Cdelta+_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)' title='&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)' class='latex' /> is Dirac&#8217;s delta function at <img src='http://s0.wp.com/latex.php?latex=y%3D%5CPhi+%28x%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='y=&#92;Phi (x)' title='y=&#92;Phi (x)' class='latex' /> so that </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=P%28%5CPhi+%28x%29+%5Cin+B%29+%5C+%3D+%5C+%5Cint%5Climits_%7By+%5Cin+B%7D+%7B%5Cdelta_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29+dY%7D+%5Cqquad%2C&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(&#92;Phi (x) &#92;in B) &#92; = &#92; &#92;int&#92;limits_{y &#92;in B} {&#92;delta_Y &#92;left( {y | &#92;Phi (x)} &#92;right) dY} &#92;qquad,' title='P(&#92;Phi (x) &#92;in B) &#92; = &#92; &#92;int&#92;limits_{y &#92;in B} {&#92;delta_Y &#92;left( {y | &#92;Phi (x)} &#92;right) dY} &#92;qquad,' class='latex' /> </p>
<p>for any measurable subset <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B' title='B' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='Y' title='Y' class='latex' /> &#8212; in effect a conditional probability density with respect to the measure <img src='http://s0.wp.com/latex.php?latex=dY&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='dY' title='dY' class='latex' />. If <img src='http://s0.wp.com/latex.php?latex=Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='Y' title='Y' class='latex' /> is a vector space,  <img src='http://s0.wp.com/latex.php?latex=%5Cdelta_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;delta_Y &#92;left( {y | &#92;Phi (x)} &#92;right)' title='&#92;delta_Y &#92;left( {y | &#92;Phi (x)} &#92;right)' class='latex' /> can be written <img src='http://s0.wp.com/latex.php?latex=%5Cdelta_Y+%5Cleft%28+%7By-%5CPhi+%28x%29%7D+%5Cright%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;delta_Y &#92;left( {y-&#92;Phi (x)} &#92;right)' title='&#92;delta_Y &#92;left( {y-&#92;Phi (x)} &#92;right)' class='latex' />.</p>
<p><strong>Proof</strong></p>
<p>We need prove that <img src='http://s0.wp.com/latex.php?latex=A+%5Csubseteq+X&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A &#92;subseteq X' title='A &#92;subseteq X' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=B+%3D+%5CPhi+%28A%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B = &#92;Phi (A)' title='B = &#92;Phi (A)' class='latex' /> implies that <img src='http://s0.wp.com/latex.php?latex=P%28A%29+%3D+P%28B%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A) = P(B)' title='P(A) = P(B)' class='latex' /> for any measurable subset <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A' title='A' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=X&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='X' title='X' class='latex' />.</p>
<table border="0" cellspacing="0" id="AutoNumber1" cellpadding="0">
<tr>
<td valign="top">By definition, we have that&nbsp;</td>
<td valign="top"><img src='http://s0.wp.com/latex.php?latex=B+%5Csubseteq+Y&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B &#92;subseteq Y' title='B &#92;subseteq Y' class='latex' />&nbsp;</td>
<td valign="top">,&nbsp;</td>
<td valign="top"><img src='http://s0.wp.com/latex.php?latex=P%28A%29+%3D+%5Cint%5Climits_%7Bx+%5Cin+A%7D+%7Bp_X+%28x%29dX%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A) = &#92;int&#92;limits_{x &#92;in A} {p_X (x)dX}' title='P(A) = &#92;int&#92;limits_{x &#92;in A} {p_X (x)dX}' class='latex' />&nbsp;</td>
<td valign="top">and&nbsp;</td>
<td valign="top"><img src='http://s0.wp.com/latex.php?latex=P%28B%29+%3D+%5Cint%5Climits_%7By+%5Cin+B%7D+%7Bp_Y+%28y%29dY%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(B) = &#92;int&#92;limits_{y &#92;in B} {p_Y (y)dY}' title='P(B) = &#92;int&#92;limits_{y &#92;in B} {p_Y (y)dY}' class='latex' /></td>
<td valign="top">. </td>
</tr>
</table>
<p>From this, we can calculate</p>
<table align="center" border="0" cellspacing="0" id="AutoNumber1" cellpadding="3">
<tr>
<td valign="top"><img src='http://s0.wp.com/latex.php?latex=P%28B%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(B)' title='P(B)' class='latex' />&nbsp;&nbsp;</td>
<td><img src='http://s0.wp.com/latex.php?latex=%3D+%5Cint%5Climits_%7By+%5Cin+B%7D+%7Bp_Y+%28y%29dY%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= &#92;int&#92;limits_{y &#92;in B} {p_Y (y)dY}' title='= &#92;int&#92;limits_{y &#92;in B} {p_Y (y)dY}' class='latex' /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><img src='http://s0.wp.com/latex.php?latex=%3D+%5Cint%5Climits_%7By+%5Cin+B%7D+%7B%5Cint%5Climits_%7Bx+%5Cin+X%7D+%7Bp_X%28x%29%5Cdelta+_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29dX%7DdY%7D+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= &#92;int&#92;limits_{y &#92;in B} {&#92;int&#92;limits_{x &#92;in X} {p_X(x)&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dX}dY} ' title='= &#92;int&#92;limits_{y &#92;in B} {&#92;int&#92;limits_{x &#92;in X} {p_X(x)&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dX}dY} ' class='latex' /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><img src='http://s0.wp.com/latex.php?latex=%3D+%5Cint%5Climits_%7Bx+%5Cin+X%7D+%7Bp_X%28x%29%5Cint%5Climits_%7By+%5Cin+B%7D+%7B%5Cdelta+_Y+%5Cleft%28+%7By+%7C+%5CPhi+%28x%29%7D+%5Cright%29dY%7D+dX%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= &#92;int&#92;limits_{x &#92;in X} {p_X(x)&#92;int&#92;limits_{y &#92;in B} {&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dY} dX}' title='= &#92;int&#92;limits_{x &#92;in X} {p_X(x)&#92;int&#92;limits_{y &#92;in B} {&#92;delta _Y &#92;left( {y | &#92;Phi (x)} &#92;right)dY} dX}' class='latex' /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><img src='http://s0.wp.com/latex.php?latex=%3D+%5Cint%5Climits_%7Bx+%5Cin+X%7D+%7Bp_X%28x%29dX%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= &#92;int&#92;limits_{x &#92;in X} {p_X(x)dX}' title='= &#92;int&#92;limits_{x &#92;in X} {p_X(x)dX}' class='latex' /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><img src='http://s0.wp.com/latex.php?latex=%3D+P%28A%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= P(A)' title='= P(A)' class='latex' /></td>
</tr>
</table>
<p align="right">QED.</p>
<table align="center" border="1" cellpadding="5" cellspacing="0">
<tr>
<td align="center" width="100%">
© 2008 Emanuel Winterfors</br><br />
<img src='http://s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;LaTeX' title='&#92;LaTeX' class='latex' /> code can be used in comments: &#36;latex p(\theta)&#36; gives <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta)' title='p(&#92;theta)' class='latex' />
</td>
</tr>
</table>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/winterfors.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/winterfors.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/winterfors.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/winterfors.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/winterfors.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=winterfors.wordpress.com&amp;blog=2789872&amp;post=7&amp;subd=winterfors&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://winterfors.wordpress.com/2008/02/21/mapping-of-a-probability-density/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1ec99536aef55cb93e89301bcf188ffb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Winterfors</media:title>
		</media:content>
	</item>
		<item>
		<title>On the two different forms of Bayes&#8217; rule</title>
		<link>http://winterfors.wordpress.com/2008/02/08/on-the-two-different-forms-of-bayes-rule/</link>
		<comments>http://winterfors.wordpress.com/2008/02/08/on-the-two-different-forms-of-bayes-rule/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 02:35:36 +0000</pubDate>
		<dc:creator>Emanuel Winterfors</dc:creator>
				<category><![CDATA[Probability theory]]></category>
		<category><![CDATA[Bayes' rule]]></category>

		<guid isPermaLink="false">http://winterfors.wordpress.com/?p=3</guid>
		<description><![CDATA[Bayes’ rule for probability densities is a somewhat treacherous area, since it is derived differently than the Bayes’ rule for probabilities even though they both have the same form. Let’s start off with the latter. Bayes’ rule for probabilities Given the (nonzero) probability for the event and the probability for the event (that is, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=winterfors.wordpress.com&amp;blog=2789872&amp;post=3&amp;subd=winterfors&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Bayes’ rule for probability densities is a somewhat treacherous area, since it is derived differently than the Bayes’ rule for probabilities even though they both have the same form. Let’s start off with the latter.</p>
<p><b>Bayes’ rule for probabilities</b><br />
Given the (nonzero) probability  <img src='http://s0.wp.com/latex.php?latex=P%28B%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(B)' title='P(B)' class='latex' /> for the event <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B' title='B' class='latex' />  and the probability <img src='http://s0.wp.com/latex.php?latex=P%28A+%5Ccap+B%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A &#92;cap B)' title='P(A &#92;cap B)' class='latex' />    for the event <img src='http://s0.wp.com/latex.php?latex=A+%5Ccap+B&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A &#92;cap B' title='A &#92;cap B' class='latex' />    (that is, the events <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A' title='A' class='latex' />  and  <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B' title='B' class='latex' />  occurring simultaneously), one can define the conditional probability of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A' title='A' class='latex' /> given <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='B' title='B' class='latex' />:</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=P%28A%7CB%29+%5Cequiv+%5Cfrac%7B%7BP%28A+%5Ccap+B%29%7D%7D%7B%7BP%28B%29%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A|B) &#92;equiv &#92;frac{{P(A &#92;cap B)}}{{P(B)}}' title='P(A|B) &#92;equiv &#92;frac{{P(A &#92;cap B)}}{{P(B)}}' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(1)</p>
</td>
</tr>
</table>
<p>This implies by symmetry that  <img src='http://s0.wp.com/latex.php?latex=P%28A%7CB%29P%28B%29+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A|B)P(B) ' title='P(A|B)P(B) ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%3D+P%28A+%5Ccap+B%29+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= P(A &#92;cap B) ' title='= P(A &#92;cap B) ' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%3D+P%28B%7CA%29P%28A%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='= P(B|A)P(A)' title='= P(B|A)P(A)' class='latex' />, which gives Bayes’ rule for probabilities</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=P%28A%7CB%29+%3D+%5Cfrac%7B%7BP%28B%7CA%29P%28A%29%7D%7D%7B%7BP%28B%29%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A|B) = &#92;frac{{P(B|A)P(A)}}{{P(B)}}' title='P(A|B) = &#92;frac{{P(B|A)P(A)}}{{P(B)}}' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(2)</p>
</td>
</tr>
</table>
<p><b>Bayes’ rule for probability densities</b><br />
A probability density is (or PDF for probability density function) is a function <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta )' title='p(&#92;theta )' class='latex' />  defined over some set <img src='http://s0.wp.com/latex.php?latex=%5CTheta&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Theta' title='&#92;Theta' class='latex' />   so that</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=P%28A%29+%3D+%5Cint%5Climits_%7B%5Ctheta++%5Cin+A%7D+%7Bp%28%5Ctheta+%29d%5CTheta+%7D+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A) = &#92;int&#92;limits_{&#92;theta  &#92;in A} {p(&#92;theta )d&#92;Theta } ' title='P(A) = &#92;int&#92;limits_{&#92;theta  &#92;in A} {p(&#92;theta )d&#92;Theta } ' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(3)</p>
</td>
</tr>
</table>
<p>for any measurable subset (event)  <img src='http://s0.wp.com/latex.php?latex=A+%5Csubseteq+%5CTheta+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='A &#92;subseteq &#92;Theta ' title='A &#92;subseteq &#92;Theta ' class='latex' /> , where <img src='http://s0.wp.com/latex.php?latex=d%5CTheta+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='d&#92;Theta ' title='d&#92;Theta ' class='latex' />  is some measure on set <img src='http://s0.wp.com/latex.php?latex=%5CTheta&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Theta' title='&#92;Theta' class='latex' />   (typically, but not necessarily, the Lebesgue measure of the coordinates used to span set <img src='http://s0.wp.com/latex.php?latex=%5CTheta&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Theta' title='&#92;Theta' class='latex' />    ).</p>
<p>A conditional probability density <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%7Cy%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta |y)' title='p(&#92;theta |y)' class='latex' />   is a probability density that depends on an additional variable  <img src='http://s0.wp.com/latex.php?latex=y+%5Cin+%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='y &#92;in &#92;Omega ' title='y &#92;in &#92;Omega ' class='latex' /> , where <img src='http://s0.wp.com/latex.php?latex=%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega ' title='&#92;Omega ' class='latex' />   is generally not the same as <img src='http://s0.wp.com/latex.php?latex=%5CTheta&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Theta' title='&#92;Theta' class='latex' />  (as is the case for conditional probability defined above). It is also a probability density in the same sense as <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta )' title='p(&#92;theta )' class='latex' />  .</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=P%28A%29+%3D+%5Cint%5Climits_%7B%5Ctheta++%5Cin+A%7D+%7Bp%28%5Ctheta+%7Cy%29d%5CTheta+%7D+%5Cqquad+%5Cforall+y+%5Cin+%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A) = &#92;int&#92;limits_{&#92;theta  &#92;in A} {p(&#92;theta |y)d&#92;Theta } &#92;qquad &#92;forall y &#92;in &#92;Omega ' title='P(A) = &#92;int&#92;limits_{&#92;theta  &#92;in A} {p(&#92;theta |y)d&#92;Theta } &#92;qquad &#92;forall y &#92;in &#92;Omega ' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(4)</p>
</td>
</tr>
</table>
<p>If there is a probability density <img src='http://s0.wp.com/latex.php?latex=p%28y%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(y)' title='p(y)' class='latex' />   associated with elements <img src='http://s0.wp.com/latex.php?latex=y+%5Cin+%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='y &#92;in &#92;Omega ' title='y &#92;in &#92;Omega ' class='latex' />  with respect to a measure <img src='http://s0.wp.com/latex.php?latex=d%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='d&#92;Omega ' title='d&#92;Omega ' class='latex' />  on <img src='http://s0.wp.com/latex.php?latex=%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Omega ' title='&#92;Omega ' class='latex' /> , one can define a joint probability density</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%2Cy%29+%5Cequiv+p%28%5Ctheta+%7Cy%29p%28y%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta ,y) &#92;equiv p(&#92;theta |y)p(y)' title='p(&#92;theta ,y) &#92;equiv p(&#92;theta |y)p(y)' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(5)</p>
</td>
</tr>
</table>
<p>which is a probability density over the joint set <img src='http://s0.wp.com/latex.php?latex=%5CXi++%3D+%5CTheta++%5Ctimes+%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;Xi  = &#92;Theta  &#92;times &#92;Omega ' title='&#92;Xi  = &#92;Theta  &#92;times &#92;Omega ' class='latex' />  with respect to the measure <img src='http://s0.wp.com/latex.php?latex=d%5CXi++%3D+d%5CTheta+d%5COmega+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='d&#92;Xi  = d&#92;Theta d&#92;Omega ' title='d&#92;Xi  = d&#92;Theta d&#92;Omega ' class='latex' /> , since</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=P%28A%29+%3D+%5Cint%5Climits_%7B%28%5Ctheta+%2Cy%29+%5Cin+A%7D+%7Bp%28%5Ctheta+%2Cy%29d%5CXi+%7D+%5Cforall+A+%5Csubseteq+%5CXi+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='P(A) = &#92;int&#92;limits_{(&#92;theta ,y) &#92;in A} {p(&#92;theta ,y)d&#92;Xi } &#92;forall A &#92;subseteq &#92;Xi ' title='P(A) = &#92;int&#92;limits_{(&#92;theta ,y) &#92;in A} {p(&#92;theta ,y)d&#92;Xi } &#92;forall A &#92;subseteq &#92;Xi ' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(6)</p>
</td>
</tr>
</table>
<p>(easily verified by insertion).<br />
By symmetry, we have again that <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%7Cy%29p%28y%29+%3D+p%28%5Ctheta+%2Cy%29+%3D+p%28y%7C%5Ctheta+%29p%28%5Ctheta+%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta |y)p(y) = p(&#92;theta ,y) = p(y|&#92;theta )p(&#92;theta )' title='p(&#92;theta |y)p(y) = p(&#92;theta ,y) = p(y|&#92;theta )p(&#92;theta )' class='latex' /> , which gives the Bayes’ rule for probability densities</p>
<table width="100%">
<tr>
<td width="95%">
<p align="center"> <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta+%7Cy%29+%3D+%5Cfrac%7B%7Bp%28y%7C%5Ctheta+%29p%28%5Ctheta+%29%7D%7D%7B%7Bp%28y%29%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta |y) = &#92;frac{{p(y|&#92;theta )p(&#92;theta )}}{{p(y)}}' title='p(&#92;theta |y) = &#92;frac{{p(y|&#92;theta )p(&#92;theta )}}{{p(y)}}' class='latex' /></p>
</td>
<td width="5%">
<p align="right">(7)</p>
</td>
</tr>
</table>
<p>Bayes’ rule for probability densities is thus derived from the definition of joint probability density (5), and not from the definition on conditional probability (1). It is also more limited than the probability formulation, applying only to the case of joint probability spaces for which two sets of coordinates can be separated out.</p>
<table border="1" cellspacing="0" cellpadding="5" align="center">
<tr>
<td width="100%" align="center">© 2008 Emanuel Winterfors<br />
    <img src='http://s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;LaTeX' title='&#92;LaTeX' class='latex' /> code can be used in comments: &#36;latex p(\theta)&#36; gives <img src='http://s0.wp.com/latex.php?latex=p%28%5Ctheta%29&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='p(&#92;theta)' title='p(&#92;theta)' class='latex' /></td>
</tr>
</table>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/winterfors.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/winterfors.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/winterfors.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/winterfors.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/winterfors.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=winterfors.wordpress.com&amp;blog=2789872&amp;post=3&amp;subd=winterfors&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://winterfors.wordpress.com/2008/02/08/on-the-two-different-forms-of-bayes-rule/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1ec99536aef55cb93e89301bcf188ffb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Winterfors</media:title>
		</media:content>
	</item>
	</channel>
</rss>
