<?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: How to delimit the range of my calculation in a JMP column with different numbers of participant in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54737#M30948</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your post.&lt;/P&gt;&lt;P&gt;In the Col Mean(parameter 1, parameter 2), does the second parameter work as a filter? If so, it is possible to add more filters such as parameter 3 and so on..?&lt;/P&gt;&lt;P&gt;In this example of difference of scores, there is no problem to use "ProTest - PreTest".&amp;nbsp;Yes, it can be done using a single formula.&lt;/P&gt;&lt;P&gt;However, if I have a operation which&amp;nbsp;requires&amp;nbsp;to be delimited for each participant such as the equation enclosed in this post, how can I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that equation, while is the same participant, JMP needs to calculate the squared difference between two columns per row (i) and then divide by the total number of trials (N) per participant.&lt;/P&gt;&lt;P&gt;I must implement that equation for a large number of participants (more than 100).&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 12:39:25 GMT</pubDate>
    <dc:creator>Reinaldo</dc:creator>
    <dc:date>2018-04-10T12:39:25Z</dc:date>
    <item>
      <title>How to delimit the range of my calculation in a JMP column with different numbers of participants?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54732#M30943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an example enclosed in this post. I would like to calculate the Difference of Scores (Column 4) between Column 3 and Column 2 and then calculate the Mean of that difference per participant (Column 5).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I cannot use simply the formula "PostTest - PreTest" because I need to delimit its range (per participant). Furthermore, I have got different numbers of participants&amp;nbsp;because of missing data, so I cannot use simply the formula "Mean(&lt;SPAN&gt;Difference of Scores)".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I perform those calculations, please? (In case the solution is more complex please add it in that file, please)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subject &amp;nbsp; &amp;nbsp; &amp;nbsp;PreTest&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; PostTest &amp;nbsp; &amp;nbsp; &amp;nbsp;Difference of Scores (= PostTest - PreTest) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mean(Difference of Scores)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:05:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54732#M30943</guid>
      <dc:creator>Reinaldo</dc:creator>
      <dc:date>2018-04-10T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to delimit the range of my calculation in a JMP column with different numbers of participant</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54736#M30947</link>
      <description>&lt;P&gt;I think you want this function:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean(:Difference of Scores, :Subject)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:57:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54736#M30947</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-04-10T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to delimit the range of my calculation in a JMP column with different numbers of participant</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54737#M30948</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your post.&lt;/P&gt;&lt;P&gt;In the Col Mean(parameter 1, parameter 2), does the second parameter work as a filter? If so, it is possible to add more filters such as parameter 3 and so on..?&lt;/P&gt;&lt;P&gt;In this example of difference of scores, there is no problem to use "ProTest - PreTest".&amp;nbsp;Yes, it can be done using a single formula.&lt;/P&gt;&lt;P&gt;However, if I have a operation which&amp;nbsp;requires&amp;nbsp;to be delimited for each participant such as the equation enclosed in this post, how can I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that equation, while is the same participant, JMP needs to calculate the squared difference between two columns per row (i) and then divide by the total number of trials (N) per participant.&lt;/P&gt;&lt;P&gt;I must implement that equation for a large number of participants (more than 100).&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:39:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54737#M30948</guid>
      <dc:creator>Reinaldo</dc:creator>
      <dc:date>2018-04-10T12:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to delimit the range of my calculation in a JMP column with different numbers of participant</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54738#M30949</link>
      <description>&lt;P&gt;The second argument acts as a By variable, the same way as a column acts in the By role in launching an platform.&lt;/P&gt;
&lt;P&gt;See &lt;STRONG&gt;Help&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Scripting Index&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Functions&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Col Mean&lt;/STRONG&gt; for more details about the&amp;nbsp;syntax and arguments.&lt;/P&gt;
&lt;P&gt;Yes, you can use more than one data column in the By role for &lt;STRONG&gt;Col Mean()&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Your new computation is more complex than the one you originally asked about. Using column formulas and data tables, I think the solution is to break it up into two levels. First compute the squared difference in the original data table, then use Tables &amp;gt; Summarize to get the sum and N, then add a new formula to compute the final index.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:59:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54738#M30949</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-04-10T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to delimit the range of my calculation in a JMP column with different numbers of participant</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54739#M30950</link>
      <description>&lt;P&gt;Yes, Mark (&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;), it works in that example! Great!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:26:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-delimit-the-range-of-my-calculation-in-a-JMP-column-with/m-p/54739#M30950</guid>
      <dc:creator>Reinaldo</dc:creator>
      <dc:date>2018-04-10T13:26:22Z</dc:date>
    </item>
  </channel>
</rss>

