<?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 How to group/seperate a correlation plot by a variable? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753825#M93574</link>
    <description>&lt;P&gt;Following is an example similar to my actual data case. I am interested in looking at the correlation between two process variables known to be dependent on each other. Especially, I would like to understand the wafer number dependence of the correlation.&lt;/P&gt;&lt;P&gt;For my actual data case, unlike the example case here,&amp;nbsp; the x-axis variable is bi-modal on the wafer number (first say &lt;EM&gt;n&lt;/EM&gt; wafers sit on one mode, the rest on the other mode).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to best analyse the data to understand if there is a&lt;STRONG&gt; statistically significant&lt;/STRONG&gt; correlation on a wafer number basis between the two variables?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
clear log ();
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
Bivariate( Y( :PNP1 ), X( :PNP2), Fit Line( {Line Color( {212, 73, 88} )} ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I admit that the way I have approached this may not be the best way to look at this problem, so alternate routes are welcome, but I would like to keep the analysis simple for a start and keep deep statistics away unless unavoidable .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 10:11:05 GMT</pubDate>
    <dc:creator>Neo</dc:creator>
    <dc:date>2024-05-13T10:11:05Z</dc:date>
    <item>
      <title>How to group/seperate a correlation plot by a variable?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753825#M93574</link>
      <description>&lt;P&gt;Following is an example similar to my actual data case. I am interested in looking at the correlation between two process variables known to be dependent on each other. Especially, I would like to understand the wafer number dependence of the correlation.&lt;/P&gt;&lt;P&gt;For my actual data case, unlike the example case here,&amp;nbsp; the x-axis variable is bi-modal on the wafer number (first say &lt;EM&gt;n&lt;/EM&gt; wafers sit on one mode, the rest on the other mode).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to best analyse the data to understand if there is a&lt;STRONG&gt; statistically significant&lt;/STRONG&gt; correlation on a wafer number basis between the two variables?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
clear log ();
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
Bivariate( Y( :PNP1 ), X( :PNP2), Fit Line( {Line Color( {212, 73, 88} )} ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I admit that the way I have approached this may not be the best way to look at this problem, so alternate routes are welcome, but I would like to keep the analysis simple for a start and keep deep statistics away unless unavoidable .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 10:11:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753825#M93574</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2024-05-13T10:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to group/seperate a correlation plot by a variable?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753870#M93581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28235"&gt;@Neo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand well your problem, you might be interested by the platform&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/response-screening.shtml#" target="_blank" rel="noopener"&gt;Response Screening (jmp.com).&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You want to check if there is significant correlations between PNP1 and PNP2 for all wafers separately :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Launch the Response screening platform, specify "PNP1" as Y and "PNP2" as X, and waferID as your grouping variable :&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1715604691791.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64148i9F28659954B973C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1715604691791.png" alt="Victor_G_0-1715604691791.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;You have then the results provided by the platform, and you can sort by pvalue, effect size, Rsquare ...&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1715604803716.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64149i71EF020B2B874EE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1715604803716.png" alt="Victor_G_1-1715604803716.png" /&gt;&lt;/span&gt;
&lt;P&gt;By right-clicking on the results, and then choosing "Make Combined Data Table", you can then export the results in a JMP datatable and process the results further/differently if needed.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="jsl"&gt;Names Default To Here(1);
clear log ();
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");&lt;/LI-CODE&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Launch platform: Response Screening Data Table( "Semiconductor Capability" ) &amp;lt;&amp;lt; Response Screening( Y( :PNP2 ), X( :PNP1 ), Grouping( :Wafer ID in lot ID ), PValues Table on Launch( 0 ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option could be to look at correlations with the&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/correlations-and-multivariate-techniques.shtml#" target="_blank" rel="noopener"&gt;Multivariate platform.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Specify your variables and the wafer ID in the "By" variable, and you can look at correlations for each wafer, and/or right-click on the Correlations values, "Make Combined Datatable" to export the datatable and process it :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1715610748606.png" style="width: 328px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64151iE4F8CDBE47FF5C51/image-dimensions/328x268?v=v2" width="328" height="268" role="button" title="Victor_G_0-1715610748606.png" alt="Victor_G_0-1715610748606.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1715610783930.png" style="width: 168px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64152i88A8D407822EBFC7/image-dimensions/168x317?v=v2" width="168" height="317" role="button" title="Victor_G_1-1715610783930.png" alt="Victor_G_1-1715610783930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also simply use Graph Builder to visualize each pair of X and Y for each wafer using waferID as "Page" :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 534, 99956 ),
	Show Control Panel( 0 ),
	Variables( X( :PNP2 ), Y( :PNP1 ), Page( :Wafer ID in lot ID ) ),
	Elements(
		Points( X, Y, Legend( 29 ) ),
		Line Of Fit( X, Y, Legend( 31 ), R²( 1 ), F Test( 1 ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will have R² coefficient and you can also display a F test to check for statistical significance :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1715614389671.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64162iF992CCC3120DDD4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1715614389671.png" alt="Victor_G_0-1715614389671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it answer your needs or did I understand your topic ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 15:33:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753870#M93581</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-05-13T15:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to group/seperate a correlation plot by a variable?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753932#M93598</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp; Thanks for your suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the response screening platform, for my actual data case, I do not seem to get any additional information than what I get by just plotting box-plot trends the two variables one above the other i.e. each mode of my bi-modal variable corelate well with the dependent variable as expected or in other words, there is wafer number dependence on both parameters. But this is for a small data set.&lt;/P&gt;&lt;P&gt;For a very large data set I would like to JMP to tell me if expected correlation exists or not as it is no longer visually apparent.&amp;nbsp; Perhaps I need to understand what the various numbers which JMP outputs in the Process Screening Platform. But plotting them by wafer number shows me the same trend as the box-plots do.&amp;nbsp; I will try to understand the numbers - work in progress anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already looked at correlation matrix, unfortunately its not what I am looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can factor analysis via Fit Model help in my case, if yes, how to include wafer number in the analysis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 15:42:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-group-seperate-a-correlation-plot-by-a-variable/m-p/753932#M93598</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2024-05-13T15:42:04Z</dc:date>
    </item>
  </channel>
</rss>

