<?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: average based on different colums in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/453392#M70032</link>
    <description>&lt;P&gt;Try this formula for&amp;nbsp;Average of each containers of each batch, each product&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean( :Result, :Product, :Batches, :Container )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and this one for&amp;nbsp;Average of products&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean( :Result, :Product )&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 24 Jan 2022 11:25:47 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-01-24T11:25:47Z</dc:date>
    <item>
      <title>average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/453383#M70031</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have different products. And each product have different batches. And I have different containers of each batch. I analyze 3 location of each container. How can I calculate mean value of each container obtained from different batches and products. And how can I calculate&amp;nbsp; the mean of each product. Please find enclosed my JMP document.&amp;nbsp; I would be very grateful if you don't let me fish, teach me how can I get the fish. I mean, ı have problems with JMP formulas, they are so different compare to excel. If you let me know what are the properties of functions, it would be great.&lt;/P&gt;&lt;P&gt;Thanks anyone help for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:43:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/453383#M70031</guid>
      <dc:creator>nac</dc:creator>
      <dc:date>2023-06-10T23:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/453392#M70032</link>
      <description>&lt;P&gt;Try this formula for&amp;nbsp;Average of each containers of each batch, each product&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean( :Result, :Product, :Batches, :Container )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and this one for&amp;nbsp;Average of products&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean( :Result, :Product )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Jan 2022 11:25:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/453392#M70032</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-01-24T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461364#M70632</link>
      <description>&lt;P&gt;Really thanks for your help. I would like to calculate the difference average of each containers of each batch, each product - average of each product then take square of it then sum of them. But when I try to make it. Average of product is written each line. Each location part. So, jmp calculate it each location because they are not empty. Is there a simple solution for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the enclosed jmp file what I try to do.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:27:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461364#M70632</guid>
      <dc:creator>nac</dc:creator>
      <dc:date>2022-02-16T14:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461367#M70633</link>
      <description>&lt;P&gt;I need to put average of each product paste into 1 time for each container. Because of automatic formulation it calculate for all of the locations. Is there a simple automatic way for it&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:30:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461367#M70633</guid>
      <dc:creator>nac</dc:creator>
      <dc:date>2022-02-16T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461453#M70640</link>
      <description>&lt;P&gt;You appear to be treating JMP as if it is Excel.&amp;nbsp; That is, from the questions you are asking, you seem to be attempting to calculate the statistics, like a t-test or Anova, etc. as you would have to do it in Excel.&amp;nbsp; This is not the approach to use in JMP.&amp;nbsp; JMP has built in platforms that you should be using for these calculations.&amp;nbsp; The Fit Y by X and/or the Fit Model platforms are what you need to be looking at.&amp;nbsp; They will perform all of the calculations and provide you with the results.&amp;nbsp; Please take the time to read the Discovering JMP documentation, available under the Help pull down menu.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:10:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461453#M70640</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-16T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461700#M70661</link>
      <description>&lt;P&gt;Actually, I try to apply this test by using JMP.&amp;nbsp; &lt;A href="https://www.accessdata.fda.gov/drugsatfda_docs/psg/Budesonide_Inhalation_Sus_20929_RC_09-12.pdf" target="_blank"&gt;https://www.accessdata.fda.gov/drugsatfda_docs/psg/Budesonide_Inhalation_Sus_20929_RC_09-12.pdf&lt;/A&gt;. So, I find Match formula to help this part of this test. But I need a formula to counting how many location do we have for each product. I mean product A have 3 location (B,M,E) but ı need to count it automatically in accordance with product. Is there a way for it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 05:20:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461700#M70661</guid>
      <dc:creator>nac</dc:creator>
      <dc:date>2022-02-17T05:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: average based on different colums</title>
      <link>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461703#M70662</link>
      <description>&lt;P&gt;Here is a formula that will return the number of locations per product.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	If( Row() == 1,
		dt = Current Data Table();
		Summarize( dt, prod = by( :" Product"n ) );
		Summarize( dt, prodLoc = by( :" Product"n, :Location ) );
		prodCount = {};
		For( i = 1, i &amp;lt;= N Items( prod ), i++,
			Insert Into( prodCount, N Items( Loc( prodLoc[1], prod[i] ) ) )
		);
	)
);
prodCount[Loc( prod, :" Product"n )][1];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I continue to think that you are still trying to create a data table that you generate columns with different formulas in them, in an attempt to get to your final answer.&amp;nbsp; This is not a good way to use JMP.&amp;nbsp; If you want to do calculations such as described in the document you referenced, I believe that you need to learn how to program in JMP, using JMP Scripting Language,(JSL).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 06:14:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/average-based-on-different-colums/m-p/461703#M70662</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-17T06:14:54Z</dc:date>
    </item>
  </channel>
</rss>

