<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, truncated normal distribution</title>
    <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 17:55:58 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 17:55:58 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, truncated normal distribution</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, truncated normal distribution</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution</link>
    </image>
    <item>
      <title>TruncNormal</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#answer124049</link>
      <itunes:summary>&lt;p&gt;Folowing a recent post &lt;a href="http://www.mapleprimes.com/questions/123721-Statistics-How-To-Create-Parametric-Distribution"&gt;http://www.mapleprimes.com/questions/123721-Statistics-How-To-Create-Parametric-Distribution&lt;/a&gt; , one can create a distribution in such a way:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -78;" src="/view.aspx?sf=124049/417631/93396ea61d0a8db613718e0568408bfc.gif" alt="" width="576" height="95" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124049/417631/80154951bf51f4e1d470b7859d81e1ce.gif" alt="" width="546" height="121"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -41;" src="/view.aspx?sf=124049/417631/d7e1f3d0610c0ea0ef2f9a6d5ce542ca.gif" alt="" width="576" height="58" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -7;" src="/view.aspx?sf=124049/417631/3f4f6510e143e9fed93cec283f22f80e.gif" alt="" width="359" height="26"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/d201c459f002342feed29e28f78c8be9.gif" alt="" width="152" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/8e81c6de35b3ec6f89278100022428d6.gif" alt="" width="31" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/10ff5ad8686469fbfb9bbc6350b0871f.gif" alt="" width="238" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124049/417631/8b3f9121cef51372a38c937cb9cca5c1.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/7c62140f6b6fc3b5eb694ae08af68ffd.gif" alt="" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124049/417631/TruncNormal.mw"&gt;Download TruncNormal.mw&lt;/a&gt; Look at &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=Statistics[Distribution]"&gt;?Statistics[Distribution]&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;PS. The command&lt;/p&gt;
&lt;p&gt;DensityPlot(TruncNormal(0, 1, 2, 3), view = [-2 .. 6, -1 .. 4])&lt;/p&gt;
&lt;p&gt;is better as we see a larger part of the plot.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Folowing a recent post &lt;a href="http://www.mapleprimes.com/questions/123721-Statistics-How-To-Create-Parametric-Distribution"&gt;http://www.mapleprimes.com/questions/123721-Statistics-How-To-Create-Parametric-Distribution&lt;/a&gt; , one can create a distribution in such a way:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -78;" src="/view.aspx?sf=124049/417631/93396ea61d0a8db613718e0568408bfc.gif" alt="" width="576" height="95" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124049/417631/80154951bf51f4e1d470b7859d81e1ce.gif" alt="" width="546" height="121"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -41;" src="/view.aspx?sf=124049/417631/d7e1f3d0610c0ea0ef2f9a6d5ce542ca.gif" alt="" width="576" height="58" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -7;" src="/view.aspx?sf=124049/417631/3f4f6510e143e9fed93cec283f22f80e.gif" alt="" width="359" height="26"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/d201c459f002342feed29e28f78c8be9.gif" alt="" width="152" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/8e81c6de35b3ec6f89278100022428d6.gif" alt="" width="31" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/10ff5ad8686469fbfb9bbc6350b0871f.gif" alt="" width="238" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124049/417631/8b3f9121cef51372a38c937cb9cca5c1.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=124049/417631/7c62140f6b6fc3b5eb694ae08af68ffd.gif" alt="" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124049/417631/TruncNormal.mw"&gt;Download TruncNormal.mw&lt;/a&gt; Look at &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=Statistics[Distribution]"&gt;?Statistics[Distribution]&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;PS. The command&lt;/p&gt;
&lt;p&gt;DensityPlot(TruncNormal(0, 1, 2, 3), view = [-2 .. 6, -1 .. 4])&lt;/p&gt;
&lt;p&gt;is better as we see a larger part of the plot.&lt;/p&gt;</description>
      <guid>124049</guid>
      <pubDate>Fri, 22 Jul 2011 09:42:12 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>Regarding the 2nd question, if F has a normal</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#answer124054</link>
      <itunes:summary>&lt;p&gt;Regarding the 2nd question, if F has a normal distribution truncated at [a,b] , it's PDF is&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;pdf_tn:=PDF(TruncNormal(mu,sigma,a,b),x);&lt;br&gt;&lt;br&gt;         /                   /          /          2\\//                &lt;br&gt;         |                   | (1/2)    |  (x - mu) || |    (1/2)       &lt;br&gt;piecewise|a          |                   |          |         2 || \                &lt;br&gt;         \                   \          \  2 sigma  //                  &lt;br&gt;&lt;br&gt;  /     /          (1/2)\        /          (1/2)\\\   \&lt;br&gt;  |1    |(b - mu) 2     |   1    |(a - mu) 2     |||   |&lt;br&gt;  |- erf|---------------| - - erf|---------------|||, 0|&lt;br&gt;  \2    \    2 sigma    /   2    \    2 sigma    ///   |&lt;br&gt;                                                       /&lt;/pre&gt;
&lt;pre&gt;Then, the PDF of a normal distribution with mean mu+t, truncated at [a,b] is&lt;/pre&gt;
&lt;pre&gt;subs(x=y-t,pdf_tn);&lt;br&gt;         /                           /          /              2\&lt;br&gt;         |                           | (1/2)    |  (y - t - mu) |&lt;br&gt;piecewise|a          |                           |          |           2   |&lt;br&gt;         \                           \          \    2 sigma    /&lt;br&gt;&lt;br&gt;  \//                /     /          (1/2)\&lt;br&gt;  | |    (1/2)       |1    |(b - mu) 2     |&lt;br&gt;  | |2 Pi      sigma |- erf|---------------|&lt;br&gt;  | \                \2    \    2 sigma    /&lt;br&gt;  /                                         &lt;br&gt;&lt;br&gt;          /          (1/2)\\\   \&lt;br&gt;     1    |(a - mu) 2     |||   |&lt;br&gt;   - - erf|---------------|||, 0|&lt;br&gt;     2    \    2 sigma    ///   |&lt;br&gt;                                /&lt;/pre&gt;
&lt;pre&gt;Note that, formally, to compute this PDF, we need to divide by abs(diff(y(x),x)) &lt;br&gt;which is just 1 in this case, so I omitted it.&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;Regarding the 2nd question, if F has a normal distribution truncated at [a,b] , it's PDF is&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;pdf_tn:=PDF(TruncNormal(mu,sigma,a,b),x);&lt;br&gt;&lt;br&gt;         /                   /          /          2\\//                &lt;br&gt;         |                   | (1/2)    |  (x - mu) || |    (1/2)       &lt;br&gt;piecewise|a          |                   |          |         2 || \                &lt;br&gt;         \                   \          \  2 sigma  //                  &lt;br&gt;&lt;br&gt;  /     /          (1/2)\        /          (1/2)\\\   \&lt;br&gt;  |1    |(b - mu) 2     |   1    |(a - mu) 2     |||   |&lt;br&gt;  |- erf|---------------| - - erf|---------------|||, 0|&lt;br&gt;  \2    \    2 sigma    /   2    \    2 sigma    ///   |&lt;br&gt;                                                       /&lt;/pre&gt;
&lt;pre&gt;Then, the PDF of a normal distribution with mean mu+t, truncated at [a,b] is&lt;/pre&gt;
&lt;pre&gt;subs(x=y-t,pdf_tn);&lt;br&gt;         /                           /          /              2\&lt;br&gt;         |                           | (1/2)    |  (y - t - mu) |&lt;br&gt;piecewise|a          |                           |          |           2   |&lt;br&gt;         \                           \          \    2 sigma    /&lt;br&gt;&lt;br&gt;  \//                /     /          (1/2)\&lt;br&gt;  | |    (1/2)       |1    |(b - mu) 2     |&lt;br&gt;  | |2 Pi      sigma |- erf|---------------|&lt;br&gt;  | \                \2    \    2 sigma    /&lt;br&gt;  /                                         &lt;br&gt;&lt;br&gt;          /          (1/2)\\\   \&lt;br&gt;     1    |(a - mu) 2     |||   |&lt;br&gt;   - - erf|---------------|||, 0|&lt;br&gt;     2    \    2 sigma    ///   |&lt;br&gt;                                /&lt;/pre&gt;
&lt;pre&gt;Note that, formally, to compute this PDF, we need to divide by abs(diff(y(x),x)) &lt;br&gt;which is just 1 in this case, so I omitted it.&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;</description>
      <guid>124054</guid>
      <pubDate>Fri, 22 Jul 2011 13:43:09 Z</pubDate>
      <itunes:author>longrob</itunes:author>
      <author>longrob</author>
    </item>
    <item>
      <title>Thanks a lot! This works for me!</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#comment124070</link>
      <itunes:summary>&lt;p&gt;Thanks a lot! This works for me!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks a lot! This works for me!&lt;/p&gt;</description>
      <guid>124070</guid>
      <pubDate>Fri, 22 Jul 2011 22:01:33 Z</pubDate>
      <itunes:author>kelvinlee</itunes:author>
      <author>kelvinlee</author>
    </item>
    <item>
      <title>a general case</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#comment124069</link>
      <itunes:summary>&lt;p&gt;Thanks a lot for your help! For the PDF returned by the substitution did you mean the function was for the normal distribution (mu+t, delta) truncated at [a+t, b+t] instead of at [a, b]? &amp;nbsp;&lt;br&gt;&amp;nbsp;&lt;br&gt;Also could you explain a little bit about the math principal you used there? What if the expression X + Y where Y is a untruncated normal distribution (mu_2, delta_2), and X is still a truncated distribution (mu, delta) at [a, b], is it still possible to derive the corresponding truncated normal distribution using the same rule you mentioned? Thanks!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks a lot for your help! For the PDF returned by the substitution did you mean the function was for the normal distribution (mu+t, delta) truncated at [a+t, b+t] instead of at [a, b]? &amp;nbsp;&lt;br&gt;&amp;nbsp;&lt;br&gt;Also could you explain a little bit about the math principal you used there? What if the expression X + Y where Y is a untruncated normal distribution (mu_2, delta_2), and X is still a truncated distribution (mu, delta) at [a, b], is it still possible to derive the corresponding truncated normal distribution using the same rule you mentioned? Thanks!&lt;/p&gt;</description>
      <guid>124069</guid>
      <pubDate>Fri, 22 Jul 2011 22:00:00 Z</pubDate>
      <itunes:author>kelvinlee</itunes:author>
      <author>kelvinlee</author>
    </item>
    <item>
      <title>Yes, the truncation is effectively shifted</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#comment124075</link>
      <itunes:summary>&lt;p&gt;Yes, the truncation is effectively shifted by t. To see the attached document with 2 plots&lt;/p&gt;
&lt;p&gt;The mathematical principle is the concept of "function of a random variable" - I've appended it, as I understand it, briefly in the document also. I'm not sure of the best way to present "nice format" math in maple as this is the first time I tried it in a document. Hope it's readable, but if you just google for&amp;nbsp;"function of a random variable" you should find plenty of references.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -237;" src="/view.aspx?sf=124075/417699/29442da015b5e4c830caece7c58ad543.gif" alt="" width="576" height="254" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124075/417699/002254643df4f22e0a2b104d08921590.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -416;" src="/view.aspx?sf=124075/417699/dbca9c94fcf6245b92643efff4601282.gif" alt="" width="576" height="435" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;Edit1: Note that f(x) and f'(x) are hard to distinguish above :(&lt;br&gt;Edit2: f must be monotonic for this to work, otherwise it doesn't have a unique inverse. If f is not monotonic, then the usual way to proceed is to split it pieces that are monotonic&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124075/417699/TruncNormal1.mw"&gt;Download TruncNormal1.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Yes, the truncation is effectively shifted by t. To see the attached document with 2 plots&lt;/p&gt;
&lt;p&gt;The mathematical principle is the concept of "function of a random variable" - I've appended it, as I understand it, briefly in the document also. I'm not sure of the best way to present "nice format" math in maple as this is the first time I tried it in a document. Hope it's readable, but if you just google for&amp;nbsp;"function of a random variable" you should find plenty of references.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -237;" src="/view.aspx?sf=124075/417699/29442da015b5e4c830caece7c58ad543.gif" alt="" width="576" height="254" align="middle"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124075/417699/002254643df4f22e0a2b104d08921590.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -416;" src="/view.aspx?sf=124075/417699/dbca9c94fcf6245b92643efff4601282.gif" alt="" width="576" height="435" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;Edit1: Note that f(x) and f'(x) are hard to distinguish above :(&lt;br&gt;Edit2: f must be monotonic for this to work, otherwise it doesn't have a unique inverse. If f is not monotonic, then the usual way to proceed is to split it pieces that are monotonic&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124075/417699/TruncNormal1.mw"&gt;Download TruncNormal1.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>124075</guid>
      <pubDate>Sat, 23 Jul 2011 01:39:27 Z</pubDate>
      <itunes:author>longrob</itunes:author>
      <author>longrob</author>
    </item>
    <item>
      <title>Plot missing</title>
      <link>http://www.mapleprimes.com/questions/124046-Truncated-Normal-Distribution?ref=Feed:MaplePrimes:truncated normal distribution:Comments#comment124076</link>
      <itunes:summary>&lt;p&gt;I don't know why the 2nd plot is missing on the above post. I'll try it again with a classic mode worksheet&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;restart; with(Statistics):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;S := piecewise(A &amp;lt;= t and t &amp;lt;= B, PDF(NormalDistribution(Mu, Sigma), t)/(CDF(NormalDistribution(Mu, Sigma), B)-CDF(NormalDistribution(Mu, Sigma), A)), 0):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;P:=proc(mu,sigma,a,b)Distribution(PDF = unapply(eval(S, [Sigma = sigma, Mu = mu, A=a,B=b]), t)) end proc:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;TruncNormal:=(mu,sigma,a,b)-&amp;gt;RandomVariable(P(mu,sigma,a,b)):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;pdf_X:=PDF(TruncNormal(mu,sigma,a,b),x);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124076/417701/7422936aa491124fab120b9a4f6df3ab.gif" alt="" width="546" height="112"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;#if y = x + t then&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;pdf_Y:=subs(x=y-t,pdf_X);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124076/417701/e8c947ba921167e0cf6ec911e3900f09.gif" alt="" width="546" height="104"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;# plot the pdf of the N(mu,sigma), truncated at [2,3]&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;plot(eval(pdf_X,{mu=0,sigma=1,a=2,b=3}), view = [-1 .. 5, -1 .. 3]);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124076/417701/00887394b2ff2542fb89981a8208bffd.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;# plot the pdf of N(mu+1,sigma), truncated at [2,3]&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;plot(eval(pdf_Y,{mu=0,sigma=1,a=2,b=3,t=1}), view = [-1 .. 5, -1 .. 3]);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124076/417701/652fee8ede7b0f25f7eefa9e3779cadf.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124076/417701/TruncNormal1-1.mw"&gt;Download TruncNormal1-1.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I don't know why the 2nd plot is missing on the above post. I'll try it again with a classic mode worksheet&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;restart; with(Statistics):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;S := piecewise(A &amp;lt;= t and t &amp;lt;= B, PDF(NormalDistribution(Mu, Sigma), t)/(CDF(NormalDistribution(Mu, Sigma), B)-CDF(NormalDistribution(Mu, Sigma), A)), 0):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;P:=proc(mu,sigma,a,b)Distribution(PDF = unapply(eval(S, [Sigma = sigma, Mu = mu, A=a,B=b]), t)) end proc:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;TruncNormal:=(mu,sigma,a,b)-&amp;gt;RandomVariable(P(mu,sigma,a,b)):&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;pdf_X:=PDF(TruncNormal(mu,sigma,a,b),x);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124076/417701/7422936aa491124fab120b9a4f6df3ab.gif" alt="" width="546" height="112"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;#if y = x + t then&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;pdf_Y:=subs(x=y-t,pdf_X);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -61;" src="/view.aspx?sf=124076/417701/e8c947ba921167e0cf6ec911e3900f09.gif" alt="" width="546" height="104"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;# plot the pdf of the N(mu,sigma), truncated at [2,3]&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;plot(eval(pdf_X,{mu=0,sigma=1,a=2,b=3}), view = [-1 .. 5, -1 .. 3]);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124076/417701/00887394b2ff2542fb89981a8208bffd.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;# plot the pdf of N(mu+1,sigma), truncated at [2,3]&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;plot(eval(pdf_Y,{mu=0,sigma=1,a=2,b=3,t=1}), view = [-1 .. 5, -1 .. 3]);&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;a href="http://www.maplesoft.com/support/faqs/MapleNet/redirect.aspx?param=plot_java_14206"&gt;&lt;img style="border: none;" src="/view.aspx?sf=124076/417701/652fee8ede7b0f25f7eefa9e3779cadf.gif" alt="" width="400" height="400" align="middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style="margin-left: 0px; margin-right: 0px;"&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt;&lt;/form&gt;
&lt;p&gt;&lt;br&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=124076/417701/TruncNormal1-1.mw"&gt;Download TruncNormal1-1.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>124076</guid>
      <pubDate>Sat, 23 Jul 2011 01:43:19 Z</pubDate>
      <itunes:author>longrob</itunes:author>
      <author>longrob</author>
    </item>
  </channel>
</rss>