<?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 can I calculate yields and add to a summary table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16716#M15235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jim for the example with JSL!&amp;nbsp; Still need to learn more about tables I guess, but I got it running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 19:08:45 GMT</pubDate>
    <dc:creator>natalie_</dc:creator>
    <dc:date>2016-02-12T19:08:45Z</dc:date>
    <item>
      <title>How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16711#M15230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data for a set of devices I have tested.&amp;nbsp; There are several parameters that each device needs to pass in order to pass overall.&amp;nbsp; For example, in one column I have the threshold voltage for each device recorded and in the column beside it, it will either say "Pass" or "Fail".&amp;nbsp; How can I calculate the percentage of devices that passed, and add it to a summary table.&amp;nbsp; I have also created a summary table with the mean, min, max, etc for each parameter, and it would be great to have the yield in that table, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 18:44:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16711#M15230</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-04T18:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16712#M15231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Natalie,&lt;/P&gt;&lt;P&gt;Assuming you want to know the final yield, the method that I have used, is to set a new column to equal either a 1 or 0 based upon finding all passing, or finding at least one fail.&amp;nbsp; The formula I use is to find the minimum of the boulian comparisons.&amp;nbsp; For an example, if you have columns A, B, and C that have either a "Pass" or "Fail" value, I put the following formula into the new column called "Yield"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min(:A=="Pass",:B=="Pass",:C=="Pass")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all tests pass, the Min will be a 1, if not it will be a 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I simply do a Tables==&amp;gt;Summary and ask for %Total. and then delete the row for the "Fails" and then join with your summary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the Yield for each parameter, then I would use an Analyze==&amp;gt;Tabulate, with the parameters down the rows, and the Pass and Fail as the columns.&amp;nbsp; You can then Make into Data Table, and delete the "Fail" Column, and join this with your summary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10911_tabulate.jpg" style="width: 233px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2695iDB17C3009D3F4985/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10911_tabulate.jpg" alt="10911_tabulate.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 01:48:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16712#M15231</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-10-19T01:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16713#M15232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&amp;nbsp; I am not sure I am following you, though.&amp;nbsp; I am able to make one yield column for each parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dtSummary &amp;lt;&amp;lt; New Column("Yield_Vth", Numeric,Formula(Min(:Pass_Vth=="Pass")));&amp;nbsp; It puts a 0 or 1 in each row under the Yield_Vth column.&amp;nbsp; When I calculate % of Total, it just says 100% which isn't correct because not all of the rows have a 1.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table I am really looking for looks something like this, and I am not sure if it is totally possible:&lt;/P&gt;&lt;P&gt;&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; Mean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STDEV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; % Yield&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;p1&lt;/P&gt;&lt;P&gt;p2&lt;/P&gt;&lt;P&gt;p3&lt;/P&gt;&lt;P&gt;p4&lt;/P&gt;&lt;P&gt;All&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (blank)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (blank)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (blank)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (blank)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalYield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain what you did again?&amp;nbsp; I am getting more familiar with JSL, but I haven't been using the tables too much yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 15:29:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16713#M15232</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-05T15:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16714#M15233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Natalie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the attached file can help you. Let me know if you have any questions.&amp;nbsp; From the attached table, you can do a table summary and sum the occurrences of a '1' in the Overall Pass Column then divide by total number of rows to calculate the overall rate.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:50:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16714#M15233</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2016-02-05T18:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16715#M15234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Natalie,&lt;/P&gt;&lt;P&gt;Attached is a script that takes you from your primary data table structure all the way through to an output table with most of what you want.&amp;nbsp; You may want to take the final tabulation table and put it into a Table Box to clean it up a bit, but I think you will see what I am attempting to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 19:37:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16715#M15234</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-02-05T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16716#M15235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jim for the example with JSL!&amp;nbsp; Still need to learn more about tables I guess, but I got it running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:08:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16716#M15235</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-02-12T19:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16717#M15236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using this method a lot for calculating yields.&amp;nbsp; What one of my colleagues pointed out to me is that it says 0 and 1 above and not Fail and Pass.&amp;nbsp; How can I go about changing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code that makes the table.&amp;nbsp; Is there an easy easy way to change the label?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2=expr(dtSummary &amp;lt;&amp;lt; Tabulate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add Table(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Column Table( Category Table, Statistics( Name( "% of Total" ) ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Row Table( Columns by Categories( :OnId Yield, :OffId Yield, :Diff Yield, :Id0s Yield, :Id1s Yield, :OffId0s Yield, :OffId1s Yield, :Overall Yield&amp;nbsp; ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 16:34:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16717#M15236</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-04-08T16:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16718#M15237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect the solution is to set the Value Label column property for the columns so that 1=Pass and 0=Fail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is't the answer, could you provide a sample of your data table, and I will take a look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 13:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16718#M15237</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-04-09T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I calculate yields and add to a summary table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16719#M15238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, got it to work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 14:41:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-calculate-yields-and-add-to-a-summary-table/m-p/16719#M15238</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-04-20T14:41:51Z</dc:date>
    </item>
  </channel>
</rss>

