<?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: What do you do when you suspect that some data is wrong? in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893492#M208117</link>
    <description>&lt;P&gt;Dear Fred, Thank you highly appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 12 Aug 2023 18:37:20 GMT</pubDate>
    <dc:creator>FDS</dc:creator>
    <dc:date>2023-08-12T18:37:20Z</dc:date>
    <item>
      <title>What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893176#M208093</link>
      <description>&lt;P&gt;I spent a fair portion of my career taking measurements of experimental data.&amp;nbsp; When I first started the senior engineer would review the data and discard measurements that he deemed false.&amp;nbsp; Discarding data simply because you thought it was wrong struck me as very questionable and I spent a fair amount of effort developing a method (using T statistics) to identify "bad" data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It turns out that there is a statistically rigorous calculation to do just that, developed (and published in 1852) by Benjamin Peirce.&amp;nbsp; That method is developed and demonstrated in the attached Prime 4 Express file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thoughts and suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 12:14:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893176#M208093</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-08-10T12:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893247#M208094</link>
      <description>&lt;P&gt;W. Edwards Deming wrote a book on Statistical Process Control that addressed this subject as well. His ideas lead to the Japanese manufacturing industry going from one of the worst to one of the best in quality control.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 17:40:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893247#M208094</guid>
      <dc:creator>Derbigdog</dc:creator>
      <dc:date>2023-08-10T17:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893387#M208103</link>
      <description>&lt;P&gt;Dear Fred, Would it be possible to attach a pdf of your worksheet? Have a nice weekend.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 12:19:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893387#M208103</guid>
      <dc:creator>FDS</dc:creator>
      <dc:date>2023-08-11T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893394#M208104</link>
      <description>&lt;P&gt;Would your method also work in case of the data provided in this thread?&lt;BR /&gt;&lt;A href="https://community.ptc.com/t5/Mathcad/Remove-specific-regions-from-a-graph/m-p/890295#M207853" target="_blank"&gt;Solved: Remove specific regions from a graph - PTC Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The built-in functions (Grubbs, GrubbsClassic, ThreeSigma) won't.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 12:32:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893394#M208104</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-08-11T12:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893424#M208107</link>
      <description>&lt;P&gt;Per your request.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 14:39:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893424#M208107</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-08-11T14:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893434#M208108</link>
      <description>&lt;P&gt;Man!&amp;nbsp; That's a lot of data!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, note that Terry has successfully trimmed this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, Peirce (takes the log of the inequality I'm using.&amp;nbsp; I haven't been able to do that successfully.&amp;nbsp; The large data set is(I think) keeping my solution from working (using the root function.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third, my first pass simply treated the entire set as measurements to be averaged and analyzed.&amp;nbsp; Clearly there's a sinusoidal function that might reduce scatter and standard deviation.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 15:43:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893434#M208108</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-08-11T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893439#M208109</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/9278"&gt;@Fred_Kohlhepp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Man!&amp;nbsp; That's a lot of data!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, note that Terry has successfully trimmed this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, Peirce (takes the log of the inequality I'm using.&amp;nbsp; I haven't been able to do that successfully.&amp;nbsp; The large data set is(I think) keeping my solution from working (using the root function.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third, my first pass simply treated the entire set as measurements to be averaged and analyzed.&amp;nbsp; Clearly there's a sinusoidal function that might reduce scatter and standard deviation.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, sure a huge amount of data - slightly less than 175000 data points.&lt;BR /&gt;As far as I understood Terry guessed(!) a sine as being the upper limit and eliminated all data above it.&lt;/P&gt;
&lt;P&gt;I thought about automating that process by using an outlier function (without success).&lt;/P&gt;
&lt;P&gt;If we zoom in (see picture below) we can clearly(?) see which data should be considered an outlier/spike. I thought about some kind of windowing and applying an outlier function peu à peu instead of treating all the data in one go ....?&lt;BR /&gt;I had not played around with that idea any further as the OP in that thread seemed to be happy with Terrys solution anyway.&lt;/P&gt;
&lt;P&gt;The thread just came to my mind when I read your posting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1691771266421.png" style="width: 886px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/87454iFE9550CA0A6DB3A5/image-dimensions/886x443?v=v2" width="886" height="443" role="button" title="Werner_E_0-1691771266421.png" alt="Werner_E_0-1691771266421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 16:34:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893439#M208109</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-08-11T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893479#M208114</link>
      <description>&lt;P&gt;I spent some more time to figure out why this system wasn't working.&lt;/P&gt;
&lt;P&gt;The attacked file points out a major flaw:&amp;nbsp; The procedure (as presented here) will not work if the data set is larger than 142 points!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back to the drawing board!!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 12:23:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893479#M208114</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-08-12T12:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893492#M208117</link>
      <description>&lt;P&gt;Dear Fred, Thank you highly appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 18:37:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/893492#M208117</guid>
      <dc:creator>FDS</dc:creator>
      <dc:date>2023-08-12T18:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: What do you do when you suspect that some data is wrong?</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/896364#M208301</link>
      <description>&lt;P&gt;Working to expand sample size limit, got the logarithmic equation to work.&amp;nbsp; Not sure why there're still issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still Prime 4 Express&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 16:20:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/What-do-you-do-when-you-suspect-that-some-data-is-wrong/m-p/896364#M208301</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-08-25T16:20:00Z</dc:date>
    </item>
  </channel>
</rss>

