<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221</link>
    <title>MATLAB Central Newsreader - integration over a Gaussian density</title>
    <description>Feed for thread: integration over a Gaussian density</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 06 Feb 2008 05:12:01 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413182</link>
      <author>Jerry </author>
      <description>"Roger Stafford" &lt;br&gt;
&amp;lt;ellieandrogerxyzzy@mindspring.com.invalid&amp;gt; wrote in &lt;br&gt;
message &amp;lt;foba8e$rr4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Roger Stafford" &lt;br&gt;
&amp;lt;ellieandrogerxyzzy@mindspring.com.invalid&amp;gt; wrote in &lt;br&gt;
&amp;gt; message &amp;lt;fob85m$ctq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt;   Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the &lt;br&gt;
mean.  The first one can &lt;br&gt;
&amp;gt; be &lt;br&gt;
&amp;gt; &amp;gt; directly integrated in terms of the exp function, &lt;br&gt;
while the second can be &lt;br&gt;
&amp;gt; &amp;gt; expressed in terms of normcdf or erf.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Roger Stafford&lt;br&gt;
&amp;gt; -------&lt;br&gt;
&amp;gt;   I think the Matlab Newsgroup is misbehaving again!  I &lt;br&gt;
clicked the "Post &lt;br&gt;
&amp;gt; Message" button only once, I swear, but got four copies &lt;br&gt;
sent anyhow.  Let's see &lt;br&gt;
&amp;gt; how it behaves this time.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Roger Stafford&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
thanks, Roger. Your method is really smart! my OP got a &lt;br&gt;
duplication too, don't worry about it. thanks again.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 03:41:02 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413177</link>
      <author>Roger Stafford</author>
      <description>"Roger Stafford" &amp;lt;ellieandrogerxyzzy@mindspring.com.invalid&amp;gt; wrote in &lt;br&gt;
message &amp;lt;fob85m$ctq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;   Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the mean.  The first one can &lt;br&gt;
be &lt;br&gt;
&amp;gt; directly integrated in terms of the exp function, while the second can be &lt;br&gt;
&amp;gt; expressed in terms of normcdf or erf.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Roger Stafford&lt;br&gt;
-------&lt;br&gt;
&amp;nbsp;&amp;nbsp;I think the Matlab Newsgroup is misbehaving again!  I clicked the "Post &lt;br&gt;
Message" button only once, I swear, but got four copies sent anyhow.  Let's see &lt;br&gt;
how it behaves this time.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 03:05:26 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413173</link>
      <author>Roger Stafford</author>
      <description>"Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &amp;lt;foau82$cqb&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
---------&lt;br&gt;
&amp;nbsp;&amp;nbsp;Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the mean.  The first one can be &lt;br&gt;
directly integrated in terms of the exp function, while the second can be &lt;br&gt;
expressed in terms of normcdf or erf.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 03:05:26 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413174</link>
      <author>Roger Stafford</author>
      <description>"Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &amp;lt;foau82$cqb&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
---------&lt;br&gt;
&amp;nbsp;&amp;nbsp;Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the mean.  The first one can be &lt;br&gt;
directly integrated in terms of the exp function, while the second can be &lt;br&gt;
expressed in terms of normcdf or erf.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 03:05:09 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413171</link>
      <author>Roger Stafford</author>
      <description>"Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &amp;lt;foau82$cqb&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
---------&lt;br&gt;
&amp;nbsp;&amp;nbsp;Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the mean.  The first one can be &lt;br&gt;
directly integrated in terms of the exp function, while the second can be &lt;br&gt;
expressed in terms of normcdf or erf.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 03:05:09 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413172</link>
      <author>Roger Stafford</author>
      <description>"Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &amp;lt;foau82$cqb&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
---------&lt;br&gt;
&amp;nbsp;&amp;nbsp;Write x*f(x) = (x-m)*f(x) + m*f(x), where m is the mean.  The first one can be &lt;br&gt;
directly integrated in terms of the exp function, while the second can be &lt;br&gt;
expressed in terms of normcdf or erf.&lt;br&gt;
&lt;br&gt;
Roger Stafford&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 01:38:15 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413165</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fob1kq$15p$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Jerry  &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;no, please note that "integration of xf(x) from t1 to t2",&lt;br&gt;
&amp;gt;it's xf(x), not f(x).&lt;br&gt;
&lt;br&gt;
Do you mean x*f(x) or do you mean a function named fx applied at&lt;br&gt;
point x?&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;"I was very young in those days, but I was also rather dim."&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Christopher Priest&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 01:14:02 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413163</link>
      <author>Jerry </author>
      <description>"John D'Errico" &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in&lt;br&gt;
message &amp;lt;fob0bi$bar$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;foau82$cqb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; &amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; &amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; normcdf, if you have the statistics toolbox.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If not, then its a simple transformation of&lt;br&gt;
&amp;gt; erf or erfc.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
no, please note that "integration of xf(x) from t1 to t2",&lt;br&gt;
it's xf(x), not f(x).&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 00:52:02 -0500</pubDate>
      <title>Re: integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413162</link>
      <author>John D'Errico</author>
      <description>"Jerry " &amp;lt;mricad@yahoo.no000spppam.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;foau82$cqb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
&amp;gt; where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
&amp;gt; known mean and variance parameters? thanks!&lt;br&gt;
&lt;br&gt;
normcdf, if you have the statistics toolbox.&lt;br&gt;
&lt;br&gt;
If not, then its a simple transformation of&lt;br&gt;
erf or erfc.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 00:16:02 -0500</pubDate>
      <title>integration over a Gaussian density</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163221#413158</link>
      <author>Jerry </author>
      <description>in matlab, how to get the integration of xf(x) from t1 to t2&lt;br&gt;
where f(x) is a Gaussian (or Normal) density function with&lt;br&gt;
known mean and variance parameters? thanks!&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
