<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: fitting truncated data to a continuous distribution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772475#M95285</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14111"&gt;@Mauro_Gerber&lt;/a&gt;&amp;nbsp;:&amp;nbsp; Your proposed method is very interesting; can you give more detail about it please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when I run your script, I get the following error. The data set for the first plot is generated, but the second data set has 200 rows and is full of missing values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1720689273194.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66066i10379811AEAE66E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_0-1720689273194.png" alt="MRB3855_0-1720689273194.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 09:19:38 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2024-07-11T09:19:38Z</dc:date>
    <item>
      <title>fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770424#M95151</link>
      <description>&lt;P&gt;Suppose I have a sample of data that I believe are sampled from a Cauchy distribution. Let's suppose it's symmetrical about 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, let's suppose my observations are truncated to the range (0,2). So, I am seeing only a relatively limited view of data. I generated some Cauchy (0,2) random variates and truncated the data table to show only those between 0 and 2:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregChesterton_0-1720198848792.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65898i7A696A2CF699E26A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregChesterton_0-1720198848792.png" alt="GregChesterton_0-1720198848792.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any way to fit this data to a Cauchy (0, gamma) to get a best estimate of gamma? More generally, does JMP support fitting truncated data?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 17:10:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770424#M95151</guid>
      <dc:creator>GregChesterton</dc:creator>
      <dc:date>2024-07-05T17:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770611#M95188</link>
      <description>&lt;P&gt;Not sure if this is what you mean but I think you talk about censored data. JMP must know how many datapoints are cut in order to make a better estimation. By adding the column property "Detection Limits" you can tell JMP that this data was cut:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 697px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65933iFA07A1B9B7BA7241/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you then fit your distribution, it can estimate the values better based on this information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_0-1720437202200.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/65934i8D3503EB0B8DFAC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_0-1720437202200.png" alt="Mauro_Gerber_0-1720437202200.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem at the moment is, that if you pre-select a distribution, this does not seems to work. You must fit a new distribution within the platform.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 11:16:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770611#M95188</guid>
      <dc:creator>Mauro_Gerber</dc:creator>
      <dc:date>2024-07-08T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770646#M95193</link>
      <description>&lt;P&gt;Thanks for the response, but my data are not censored. In your example, you have a &lt;U&gt;&lt;EM&gt;known&lt;/EM&gt; &lt;/U&gt;number of observations that are greater than or equal to some value (in your case, 1900). That's not my situation.&lt;/P&gt;&lt;P&gt;In my example, I do &lt;EM&gt;not&lt;/EM&gt; know how many exceeded 2. I only have observations lying between 0 and 2, with no knowledge of how many observations were outside that range (because my data collection mechanism can not capture them or even know of them). So I do not have a bunch of censored observations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you consider my data-generating mechanism, this should be more clear. Suppose I have an explosive device sending fragments in every direction with angular uniformity. Impact location data were collected from a flat panel in the x-y plane, where x is lateral and y is vertical. I have no idea how many fragments exceeded the limits of my data collection panel. But it's not unreasonable to think that the distribution of x is Cauchy. I am trying to estimated the parameters of this Cauchy from my limited range of observations. With this estimate, I could characterize the distribution of fragments over some larger surface.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 13:12:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/770646#M95193</guid>
      <dc:creator>GregChesterton</dc:creator>
      <dc:date>2024-07-08T13:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/771652#M95221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53693"&gt;@GregChesterton&lt;/a&gt;&amp;nbsp;: This may not be very satisfying, but it may be worth exploring; assuming the distribution is Cauchy as you describe, you know&amp;nbsp;the functional form of the pdf = f(x| 0, gamma).&amp;nbsp; So, you could use the nonlinear platform to estimate gamma?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 10:56:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/771652#M95221</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-07-09T10:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/771675#M95225</link>
      <description>&lt;P&gt;Next try, this adds censored datapoints from 1 to 200 and sums up the deviation from the normal distribution to the ECDF.&lt;/P&gt;&lt;P&gt;The minimum value will be displayed at the end with the minimum setting.&lt;/P&gt;&lt;P&gt;simulated data: Norm(0,10)&lt;/P&gt;&lt;P&gt;missing: 163 datapoints above 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;script estimation:&lt;/P&gt;&lt;P&gt;Mean: 0.015&lt;/P&gt;&lt;P&gt;Std:&amp;nbsp; &amp;nbsp; &amp;nbsp;9.166&lt;/P&gt;&lt;P&gt;Missing: 133&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have to fit it to you needs (your own distribution).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;simply run the table script "search n_mising" in the Cut_Normal.jmp file or the JSL itself.&lt;/P&gt;&lt;P&gt;I added the original simulation as Cut_Normal_original.jmp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the idea behind it:&lt;/P&gt;&lt;P&gt;I first fit a normal distribution with on additional censored data point and sum up all differences with the ECDF:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_0-1720583344375.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66031i809887133CE1EA8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_0-1720583344375.png" alt="Mauro_Gerber_0-1720583344375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I iterate through all additional censored datapoints, fit the normal distribution again until I get to the last one:&lt;BR /&gt;this ist the sum of absolute difference over the additional points:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_1-1720583543385.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66032i0DB6E2CD2008203A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_1-1720583543385.png" alt="Mauro_Gerber_1-1720583543385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The lowest point now gives me the estimation of how many points are missing:&lt;/P&gt;&lt;P&gt;This then gives me a "best" fit for the distribution:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_2-1720583714749.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66033iC02C4FE0EAB1D62F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_2-1720583714749.png" alt="Mauro_Gerber_2-1720583714749.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 04:04:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/771675#M95225</guid>
      <dc:creator>Mauro_Gerber</dc:creator>
      <dc:date>2024-07-10T04:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772475#M95285</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14111"&gt;@Mauro_Gerber&lt;/a&gt;&amp;nbsp;:&amp;nbsp; Your proposed method is very interesting; can you give more detail about it please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when I run your script, I get the following error. The data set for the first plot is generated, but the second data set has 200 rows and is full of missing values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1720689273194.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66066i10379811AEAE66E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_0-1720689273194.png" alt="MRB3855_0-1720689273194.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 09:19:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772475#M95285</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-07-11T09:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772495#M95287</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073"&gt;@MRB3855&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script within the Cut_Normal should work but JMP may have some problems with language or pe-sets.&lt;/P&gt;&lt;P&gt;I work with the English JMP 18.0.1 version and I may have some other Preferences (like I have my plots always stacked).&lt;/P&gt;&lt;P&gt;I did not search for the Display Box with a fix value since the censor limit is in the title. Maybe you can search for the title when you know how JMP will pars it in the title:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_1-1720694265984.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66068i5F29D89239307226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_1-1720694265984.png" alt="Mauro_Gerber_1-1720694265984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So those two numbers can be different in your JMP:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_0-1720694028221.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66067i020FCE0EF9B9A41B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_0-1720694028221.png" alt="Mauro_Gerber_0-1720694028221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I teach my internal statistic courses, I try to emphasize the importance that the distribution curve (PDF) should fit the data aka. histogram.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_2-1720694975364.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66069iB3479CB282751BB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_2-1720694975364.png" alt="Mauro_Gerber_2-1720694975364.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can say the same thing with the ECDF and the CDF function of the distribution. and how much they deviate from each other.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_3-1720695089647.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66070iF5E00C7AE5902A4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_3-1720695089647.png" alt="Mauro_Gerber_3-1720695089647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53693"&gt;@GregChesterton&lt;/a&gt;&amp;nbsp;has only part of the curve so I fit different number of missing values and compare how well the estimation fits with the data that are there.&lt;/P&gt;&lt;P&gt;this is the best fit (least sum deviation) from the normal data set:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_8-1720695644468.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66074i58BACEAD9DF7385C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_8-1720695644468.png" alt="Mauro_Gerber_8-1720695644468.png" /&gt;&lt;/span&gt;&amp;nbsp;--&amp;gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_7-1720695597182.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66073iC967D369B051E9C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_7-1720695597182.png" alt="Mauro_Gerber_7-1720695597182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In JMP you can have also a look at the PP Plot under the fit witch is the direct comparison.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mauro_Gerber_5-1720695433867.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66071iE34533D04168717F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mauro_Gerber_5-1720695433867.png" alt="Mauro_Gerber_5-1720695433867.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I iterate through possible missing values and write down the sum difference between ECDF and the fitted CDF of the probability function.&lt;/P&gt;&lt;P&gt;Its "brute force" and not very elegant but gives a OK result.&lt;/P&gt;&lt;P&gt;An other possible option is to make a simple numerical optimizer with the ECDF tail and the function with the sum difference as its target and then minimize it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 11:12:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772495#M95287</guid>
      <dc:creator>Mauro_Gerber</dc:creator>
      <dc:date>2024-07-11T11:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: fitting truncated data to a continuous distribution</title>
      <link>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772507#M95290</link>
      <description>&lt;P&gt;If you are going to use the Nonlinear platform to fit the data using the maximum likelihood method, you need following pieces.&lt;/P&gt;
&lt;P&gt;First, the density function of your truncated Cauchy(0, gamma).&lt;/P&gt;
&lt;P&gt;Refer to the PDF formula on this page &lt;A href="https://en.wikipedia.org/wiki/Truncated_distribution" target="_blank"&gt;https://en.wikipedia.org/wiki/Truncated_distribution&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_0-1720702459059.png" style="width: 200px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66076i4DBC3F0DD793F43C/image-size/small?v=v2&amp;amp;px=200" role="button" title="peng_liu_0-1720702459059.png" alt="peng_liu_0-1720702459059.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In your case, b = 2, and a = 0.&lt;/P&gt;
&lt;P&gt;On the numerator, it is the Cauch(0, gamma) density function, in your case. Find it in the JMP scripting index:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_1-1720702553078.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66077iD272C21A6A359DE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_1-1720702553078.png" alt="peng_liu_1-1720702553078.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the denominator, F function is the Cauchy(0, gamma) distribution, in your case. Find it in the index:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_2-1720702629479.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66078iE65EF2B883382E57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_2-1720702629479.png" alt="peng_liu_2-1720702629479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now you need to piece the information to create a negative log-likelihood loss function formula column.&lt;/P&gt;
&lt;P&gt;The formula is something like the following. (Assume your data column is called "Y".)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_0-1720703900782.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66079i9B3D83537F455D1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_0-1720703900782.png" alt="peng_liu_0-1720703900782.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It is a JSL function "Parameter". The first argument is a list of parameters that we need to fit. In this case, there is only one here: gamma. And the value 1 is an initial value. It should be as close to the final estimate as possible. So, use your best judgement. Or you can trial-and-error it out. Don't worry if it is not close initially. Nonlinear platform allows you to try different values after launching.&lt;/P&gt;
&lt;P&gt;The second argument of "Parameter" function call is that negative loglikelihood function. Take a look at it and see how it comes from the density function of your truncation Cauchy.&lt;/P&gt;
&lt;P&gt;Name the new column "loss". And configure Nonlinear launch dialog. Click "OK".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_1-1720704334845.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66080iDBCD4F9160C85727/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_1-1720704334845.png" alt="peng_liu_1-1720704334845.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After launching, you can click "Go", or change the value of "gamma" then click "Go". If failed, you can change "gamma" and click "Go" again.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_2-1720704822530.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66081i8F29D7461E045E0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_2-1720704822530.png" alt="peng_liu_2-1720704822530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the links to a few relevant documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formulas-in-jmp.shtml#ww96570" target="_blank"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formulas-in-jmp.shtml#ww96570&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/nonlinear-regression.shtml#" target="_blank"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/nonlinear-regression.shtml#&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formula-columns-for-multiple-columns.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-formula-columns-for-multiple-columns.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-a-formula-column.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/create-a-formula-column.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 13:34:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772507#M95290</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2024-07-11T13:34:47Z</dc:date>
    </item>
  </channel>
</rss>

