<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.cfd-online.com/W/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.cfd-online.com/W/index.php?title=Special:Contributions/Willings&amp;feed=atom&amp;limit=50&amp;target=Willings&amp;year=&amp;month=</id>
		<title>CFD-Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.cfd-online.com/W/index.php?title=Special:Contributions/Willings&amp;feed=atom&amp;limit=50&amp;target=Willings&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://www.cfd-online.com/Wiki/Special:Contributions/Willings"/>
		<updated>2013-05-25T03:55:13Z</updated>
		<subtitle>From CFD-Wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.cfd-online.com/Wiki/Probability_density_function</id>
		<title>Probability density function</title>
		<link rel="alternate" type="text/html" href="http://www.cfd-online.com/Wiki/Probability_density_function"/>
				<updated>2011-05-20T16:03:25Z</updated>
		
		<summary type="html">&lt;p&gt;Willings: Corrected the variance equation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Stochastic methods use distribution functions to decribe the fluctuacting scalars&lt;br /&gt;
in a turbulent field.&lt;br /&gt;
&lt;br /&gt;
The distribution function &amp;lt;math&amp;gt; F_\phi(\Phi) &amp;lt;/math&amp;gt; of a scalar &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt; is the probability &lt;br /&gt;
&amp;lt;math&amp;gt; p &amp;lt;/math&amp;gt; of finding a value of  &amp;lt;math&amp;gt; \phi &amp;lt; \Phi &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
F_\phi(\Phi) = p(\phi &amp;lt; \Phi)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The probability of finding &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt; in a range &amp;lt;math&amp;gt; \Phi_1,\Phi_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
p(\Phi_1 &amp;lt;\phi &amp;lt; \Phi_2) = F_\phi(\Phi_2)-F_\phi(\Phi_1)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The probability density function (PDF) is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
P(\Phi)= \frac{d F_\phi(\Phi)} {d \Phi}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; P(\Phi) d\Phi &amp;lt;/math&amp;gt; is the probability of &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt; being in the range &amp;lt;math&amp;gt; (\Phi,\Phi+d\Phi) &amp;lt;/math&amp;gt;. It follows that&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
\int P(\Phi) d \Phi = 1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Integrating over all the possible values of &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt; \Phi &amp;lt;/math&amp;gt; is the sample space of the scalar variable &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt;.&lt;br /&gt;
The PDF of any stochastic variable depends &amp;quot;a-priori&amp;quot; on space and time. &lt;br /&gt;
:&amp;lt;math&amp;gt; P(\Phi;x,t) &amp;lt;/math&amp;gt;&lt;br /&gt;
for clarity of notation, the space and time dependence is dropped. &lt;br /&gt;
&amp;lt;math&amp;gt;  P(\Phi) \equiv P(\Phi;x,t) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the PDF of a variable, one can define its &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt;th moment as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\overline{\phi}^n = \int \phi^n  P(\Phi) d \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the  &amp;lt;math&amp;gt; n = 1 &amp;lt;/math&amp;gt; case is called the &amp;quot;mean&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\overline{\phi} =  \int \phi P(\Phi) d \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly the mean of a function can be obtained as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\overline{f} = \int f(\phi) P(\Phi) d \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where the second central moment is called the &amp;quot;variance&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\overline{u'^2} = \int (\phi-\overline{\phi})^2 P(\Phi) d \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For two variables (or more) a joint-PDF  of &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \psi &amp;lt;/math&amp;gt; is defined&lt;br /&gt;
:&amp;lt;math&amp;gt; P(\Phi,\Psi;x,t) \equiv P (\Phi,\Psi) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where  &amp;lt;math&amp;gt; \Phi \mbox{ and }  \Psi &amp;lt;/math&amp;gt; form the phase-space for&lt;br /&gt;
&amp;lt;math&amp;gt; \phi \mbox{ and }  \psi &amp;lt;/math&amp;gt;.&lt;br /&gt;
The marginal PDF's are obtained by integration over the sample space of one variable.&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
P(\Phi) = \int P(\Phi,\Psi) d\Psi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For two variables the correlation is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
\overline{\phi' \psi'} = \int (\phi-\overline{\phi}) (\psi-\overline{\psi}) P(\Phi,\Psi) d \Phi d\Psi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This term often appears in turbulent flows the averaged Navier-Stokes (with &amp;lt;math&amp;gt; u, v &amp;lt;/math&amp;gt;) and is unclosed.&lt;br /&gt;
&lt;br /&gt;
Using Bayes' theorem a joint-pdf can be expressed as&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
P(\Phi,\Psi) = P(\Phi|\Psi) P(\Psi)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where  &amp;lt;math&amp;gt; P(\Phi|\Psi) &amp;lt;/math&amp;gt; is the conditional PDF.&lt;br /&gt;
&lt;br /&gt;
The conditional average of a scalar  can be expressed as a function of the&lt;br /&gt;
conditional PDF&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
&amp;lt;\phi | \Psi &amp;gt; = \int  \phi P(\Phi|\Psi) d \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and the mean value of a scalar can be expressed&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\overline{\phi} = \int &amp;lt;\phi | \Psi &amp;gt; P(\Psi) d \Psi&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
only if &amp;lt;math&amp;gt; \phi &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \psi &amp;lt;/math&amp;gt; are correlated.&lt;br /&gt;
&lt;br /&gt;
If two variables are uncorrelated then they are statistically independent and their joint PDF can be expressed as a product of their marginal PDFs.&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
P(\Phi,\Psi)= P(\Phi) P(\Psi)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally a joint PDF of &amp;lt;math&amp;gt; N &amp;lt;/math&amp;gt; scalars &amp;lt;math&amp;gt; (\phi_1,\phi_2, ...,\phi_N) &amp;lt;/math&amp;gt;&lt;br /&gt;
is defined as&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
P(\underline{\psi}; x,t) \equiv P(\underline{\psi})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \underline{\psi} =  (\psi_1,\psi_2, ...,\psi_N) &amp;lt;/math&amp;gt; is the sample space of the array&lt;br /&gt;
&amp;lt;math&amp;gt; \underline{\phi} &amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Willings</name></author>	</entry>

	</feed>