<?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: Counting redundant rows using by variables - different outcome for continuous and nominal by variables? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/475249#M71987</link>
    <description>&lt;P&gt;Thank you for the example by the way. (Downloaded &amp;amp; saved.) I still find it illogical and weird that the numerical column as by variable doesn't recognize the missing value.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 16:49:32 GMT</pubDate>
    <dc:creator>Ressel</dc:creator>
    <dc:date>2022-04-01T16:49:32Z</dc:date>
    <item>
      <title>Counting redundant rows using by variables - different outcome for continuous and nominal/character by variables?</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474736#M71948</link>
      <description>&lt;P&gt;Here I am counting redundant rows based on info held in 2 columns (&lt;EM&gt;Batch ID&lt;/EM&gt; &amp;amp; &lt;EM&gt;Value [concentration]&lt;/EM&gt;).&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum( 1, :Batch ID, :"Value [concentration]"n )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, based on whether&amp;nbsp;&lt;EM&gt;Value [concentration] &lt;/EM&gt;is formatted as continuous or character variable in my table, a different result is obtained (see screenshots below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outcome with &lt;EM&gt;Value [concentration]&lt;/EM&gt; as&lt;STRONG&gt; continuous variable &lt;/STRONG&gt;(not what I want)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ressel_0-1648715514040.png" style="width: 600px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41347i451045BD41D58522/image-dimensions/600x228?v=v2" width="600" height="228" role="button" title="Ressel_0-1648715514040.png" alt="Ressel_0-1648715514040.png" /&gt;&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;Outcome with &lt;EM&gt;Value [concentration]&lt;/EM&gt;&lt;STRONG&gt; as character variable&amp;nbsp;&lt;/STRONG&gt;(what I want)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ressel_1-1648715604338.png" style="width: 596px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41348iACBC6452D78D7124/image-dimensions/596x228?v=v2" width="596" height="228" role="button" title="Ressel_1-1648715604338.png" alt="Ressel_1-1648715604338.png" /&gt;&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;Is there some computational issue (missing values...?) I need to wrap my head around to understand this?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.s.: I realize that it may appear nonsensical to count combinations of Batch ID and missing values, but there are practical reasons for this at the time of writing.&lt;/P&gt;&lt;P&gt;Edit: Revised "nominal" to "character" in text.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:46:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474736#M71948</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2023-06-10T23:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Counting redundant rows using by variables - different outcome for continuous and nominal by variables?</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474751#M71949</link>
      <description>&lt;P&gt;Some with more knowledge will have to provide correct answer why this is happening with numeric columns (your second example has Character column, not just Nominal numeric column), but you might be able to handle it depending on what you are doing by using something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum( 1, :Batch ID, Col Stored Value(:"Value [concentration]"n ))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum( 1, :Batch ID, IsMissing(:"Value [concentration]"n ))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Mar 2022 08:57:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474751#M71949</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-31T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Counting redundant rows using by variables - different outcome for continuous and nominal by variables?</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474768#M71952</link>
      <description>&lt;P&gt;Yes, sorry for using incorrect terminology. I have revised that now in the original post.&lt;/P&gt;&lt;P&gt;I changed the concentration data temporarily to character format, since I know (from experience) that this is working.&lt;/P&gt;&lt;P&gt;Thank you for your reply!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 09:12:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/474768#M71952</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2022-03-31T09:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Counting redundant rows using by variables - different outcome for continuous and nominal by variables?</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/475249#M71987</link>
      <description>&lt;P&gt;Thank you for the example by the way. (Downloaded &amp;amp; saved.) I still find it illogical and weird that the numerical column as by variable doesn't recognize the missing value.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 16:49:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-redundant-rows-using-by-variables-different-outcome-for/m-p/475249#M71987</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2022-04-01T16:49:32Z</dc:date>
    </item>
  </channel>
</rss>

