<?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: Median for all columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73289#M35739</link>
    <description>&lt;P&gt;Actually that works. Thank you Dale.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2018 20:15:16 GMT</pubDate>
    <dc:creator>vishwasanj</dc:creator>
    <dc:date>2018-09-17T20:15:16Z</dc:date>
    <item>
      <title>Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73282#M35733</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an easier way to calculate median of all the columns, rather than getting the summary in different tables and then joining all the data tables together? I have like 200 columns that I need to calculate the median from.&amp;nbsp; I appreciate all the comments and suggestions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;for(r=1,r&amp;lt;=N Items(List),r++,
Summary(
Group( :Mask, :Lot,:Workweek ),
Median( Column(dt,List[r]) ),
Freq( "None" ),
Weight( "None" )
);
 
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:00:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73282#M35733</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2018-09-17T21:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73283#M35734</link>
      <description>&lt;P&gt;You can use the Table-Summary command.&amp;nbsp; Choose all the columns (of course, nominal columns will not give you medians) and choose Median from the drop down.&amp;nbsp; Do not put a grouping variable.&amp;nbsp; You will get a new data table with all the median values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 18:57:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73283#M35734</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-09-17T18:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73285#M35735</link>
      <description>&lt;P&gt;Hi Dale,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion. I need to put the grouping variable by workweek, lot and mask. Is there a way to open a new data table and populate it median values sorted by the grouping variable for different columns?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 19:09:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73285#M35735</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2018-09-17T19:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73286#M35736</link>
      <description>&lt;P&gt;Use the Tabulate platofrm (under the Analyze menu).&amp;nbsp; You should be able to put your grouping variables in any order you want and just ask for the median for all the continuous columns (put in the body of the table).&amp;nbsp; Then Make into a Data Table (found at the red arrow in the Tabulate platform).&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 19:15:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73286#M35736</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-09-17T19:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73287#M35737</link>
      <description>&lt;P&gt;Thats a really nice idea. Thanks Dale. If I have changing column names, I need to see how to represent the list of column names in "Analysis column" if I use a loop function. any thoughts?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(dt &amp;lt;&amp;lt;Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table(
Statistics( Median ),
Analysis Columns(
:Name( "ColA" ),
:Name( "ColB" ),
:Name( "ColC" ),
:Name( "ColD" ),
:Name( "ColE" )
)
),
Row Table( Grouping Columns( :LOTID, :MASK, :WW ) )
)
) )&amp;lt;&amp;lt; Make Into Data Table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:01:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73287#M35737</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2018-09-17T21:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Median for all columns</title>
      <link>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73289#M35739</link>
      <description>&lt;P&gt;Actually that works. Thank you Dale.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:15:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Median-for-all-columns/m-p/73289#M35739</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2018-09-17T20:15:16Z</dc:date>
    </item>
  </channel>
</rss>

