<?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: Determining delay time between variables using JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/362679#M61246</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/260"&gt;@Daniel_Valente&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think I found a work-around where I can at least test the cross-correlation between QC data and Production data. After joining the tables, I will have multiple repeat entries of the QC data (since the Production data is collected each 15 min). Using a Row() column as the X, Time ID input and the QC data as Y and Production data as X, then I can generate a cross-correlation table of the QC data with the Production data. The only thing I need to keep in mind is that there will be some correlation in there due to the fact that for several different time events for production, I will have multiple identical entries for QC data. This does result in period structure of the cross-correlation, but it's all due to how the data table has to be joined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If others have any feedback or thoughts on this to improve, I'd appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 15:53:45 GMT</pubDate>
    <dc:creator>SDF1</dc:creator>
    <dc:date>2021-02-25T15:53:45Z</dc:date>
    <item>
      <title>Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7230#M7224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have different variables (Y1, Y2,) spaced evenly with time (X). I suspect that there is a delay time between the two responses Y1 and Y2 based on the process involved and would like to estimate by how much I must timeshift the data (i.e. what is the delay time) so as to compare Y1 and Y2 at the same row number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the auto-correlation function to determine the periodicity in each variable Y1 and Y2 to extract this information, but did not get very far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody provide any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 16:27:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7230#M7224</guid>
      <dc:creator>anoopchengara</dc:creator>
      <dc:date>2013-08-09T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7231#M7225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anoop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I understand you fully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is your data like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 389px; height: 74px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Time (x)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.23&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.34&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, do you want to model Y2 as a function of Time and Y1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you can use the Time Series platform and use Y2 as your Time Series, Y1 as your Input List and Time as your Time ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I've misunderstood, please give us some more details so we can understand your question more clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 22:47:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7231#M7225</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2013-08-13T22:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7232#M7226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct about the form of the data. What I want to do, though, is to determine by how much time I should shift Y2 (say, by 4 time units) so that Y1 and the new time-shifted Y2 variable can be analyzed together as a pair i.e. Y1(t) and Y2(t+delta) are now on the same rows and I can then do correlations, partition etc.. I believe that Y2 will be delayed from Y1 because of the time taken for any event to go through the process and want to find out what "delta" should be. An example would be a chemical concentration change that travels through a large tank volume to get from where Y1 is measured to where Y2 is measured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the Time Series platform as you suggested and would like to know how to analyze the results. I tried the ARIMA model fit but do not really know how to use it e.g. what to specify for the (p.d.q) values etc. I am not even sure if that is the right approach to get the answer ("delta") I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 16:31:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7232#M7226</guid>
      <dc:creator>anoopchengara</dc:creator>
      <dc:date>2013-08-14T16:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7233#M7227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Anoop --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this might help with your problem. Here is a simple example where we have two periodic signals, one with a delay of 5 samples:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4030_Screen Shot 2013-08-15 at 9.23.33 AM.png" style="width: 797px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/224iF22A3C620BC62291/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4030_Screen Shot 2013-08-15 at 9.23.33 AM.png" alt="4030_Screen Shot 2013-08-15 at 9.23.33 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If we launch the Time Series platform with Series 1 as our Y, Series 2 as the Input List and Time as the X, Time ID like this (as Jeff had suggested):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4031_Screen Shot 2013-08-15 at 9.25.38 AM.png" style="width: 780px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/225i95E244B93382C551/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4031_Screen Shot 2013-08-15 at 9.25.38 AM.png" alt="4031_Screen Shot 2013-08-15 at 9.25.38 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We can run a cross-corrleation on the signals, by selecting it from under the red triangle:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4032_Screen Shot 2013-08-15 at 9.26.55 AM.png" style="width: 450px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/226iEEFCC1602ADB6F9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4032_Screen Shot 2013-08-15 at 9.26.55 AM.png" alt="4032_Screen Shot 2013-08-15 at 9.26.55 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will create our Cross Correlation Plots for the Output Series - Series 1. If I right click on the plot, I can select 'Make Into Data Table':&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4033_Screen Shot 2013-08-15 at 9.27.37 AM.png" style="width: 454px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/227iB2106BF8F0852E7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4033_Screen Shot 2013-08-15 at 9.27.37 AM.png" alt="4033_Screen Shot 2013-08-15 at 9.27.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can see the max cross correlation is at 5 samples, which happens to be the amount that the second signal is delayed. If I plot these data in Graph Builder, I can also visualize this delay as the max of the cross correlation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4034_Screen Shot 2013-08-15 at 9.32.03 AM.png" style="width: 705px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/228i49E4B105E3F9BC05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4034_Screen Shot 2013-08-15 at 9.32.03 AM.png" alt="4034_Screen Shot 2013-08-15 at 9.32.03 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I would conclude my delta between the two signals is 5 samples. From there I would lag my series 2 by 5 samples so that we can perform subsequent analyses. This is a very simple example, but try this workflow with your data and see how it works. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:21:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/7233#M7227</guid>
      <dc:creator>Daniel_Valente</dc:creator>
      <dc:date>2016-10-18T20:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/362383#M61215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/260"&gt;@Daniel_Valente&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the very nice explanation on how to run an autocorrelation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm having a related, but somewhat more complex issue as the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The issue I have is trying to find the right time lag between QC data that is collected every say, 4 hrs in a day, and production data that is collected on a different time scale. Right now, I am looking at Production data that is gathered every 15 min (this is on things like pump rates, belt speeds, oven temperature, etc.). The QC and production data come from different sources, so I need to join them. I do that, but then get multiple of the same entries for each time from production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiedrichSchmidt_0-1614194677557.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30673iC8EBF5D6BB490771/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiedrichSchmidt_0-1614194677557.png" alt="DiedrichSchmidt_0-1614194677557.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so on. The QC data might be something like, and could be collected on an every 4-hour basis or so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiedrichSchmidt_1-1614194708176.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30674i97E48DC49C3A90D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiedrichSchmidt_1-1614194708176.png" alt="DiedrichSchmidt_1-1614194708176.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is when I join the data tables, I end up with multiple of the same entries for Y1 for each time point in the X until it changes time. The joined data table will look something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiedrichSchmidt_2-1614194886664.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30675iCC844A6822763594/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiedrichSchmidt_2-1614194886664.png" alt="DiedrichSchmidt_2-1614194886664.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is when I try to run the time series analysis. JMP complains at me with the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiedrichSchmidt_3-1614194972864.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30676i686FE3C3E2BDE5A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiedrichSchmidt_3-1614194972864.png" alt="DiedrichSchmidt_3-1614194972864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which is true, there are duplicate values as these are measurements QC measurements of the product as well as production data, so one would expect to have duplicate values. Plus, because of how the QC data is joined with the production data, there are repeated QC entries for each 15 min of the production data output until the next entry for the QC data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to run an cross-correlation with this kind of data to find out what lag is needed to match the production data with QC data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 19:34:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/362383#M61215</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2021-02-24T19:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Determining delay time between variables using JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/362679#M61246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/260"&gt;@Daniel_Valente&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think I found a work-around where I can at least test the cross-correlation between QC data and Production data. After joining the tables, I will have multiple repeat entries of the QC data (since the Production data is collected each 15 min). Using a Row() column as the X, Time ID input and the QC data as Y and Production data as X, then I can generate a cross-correlation table of the QC data with the Production data. The only thing I need to keep in mind is that there will be some correlation in there due to the fact that for several different time events for production, I will have multiple identical entries for QC data. This does result in period structure of the cross-correlation, but it's all due to how the data table has to be joined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If others have any feedback or thoughts on this to improve, I'd appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 15:53:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-delay-time-between-variables-using-JMP/m-p/362679#M61246</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2021-02-25T15:53:45Z</dc:date>
    </item>
  </channel>
</rss>

