<?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 can I graph my results from MVE or MCD analysis? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-graph-my-results-from-MVE-or-MCD-analysis/m-p/293978#M2969</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just discovered SAS/IML while looking for a means to identify outliers in multivariate data with 3 dimensions. It looks as if either the Minimum Volume Ellipsoid (MVE) or Minimum Covariance Determinant (MCD) may be just what I need. I have looked at the Robust Regression examples within the SAS documentation as well as "Detecting outliers in SAS: Part 3: Multivariate location and scatter" (Wicklin, 2012). Using those sources I have managed to run both MVE and MCD and get estimated outlier, however, I cannot graph the data. I have pasted below the example in the SAS documentation using the stackloss data where a subroutine SCATMVE is used. It seems to be in a library file called robustmc.sas which I do not seem to have. I am running SAS version 9.3 (although I can upgrade to 9.4). I just feel like there are some key points missing in the example and I would be grateful for any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following specification generates three bivariate plots of the classical and robust tolerance ellipsoids. They are shown in &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve21_plot" target="_blank"&gt;Figure 12.5.5&lt;/A&gt;, &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve31_plot" target="_blank"&gt;Figure 12.5.6&lt;/A&gt;, and &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve32_plot" target="_blank"&gt;Figure 12.5.7&lt;/A&gt;, one plot for each pair of variables.&lt;/P&gt;&lt;DIV class="pre"&gt;&lt;PRE class="sascode"&gt;optn = j(9,1,.); optn[5]= -1;
vnam = { "Rate", "Temperature", "AcidConcent" };
filn = "stlmve";
titl = "Stackloss Data: Use All Subsets";
%include 'robustmc.sas';
call scatmve(2,optn,.9,a,vnam,titl,1,filn);&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Aug 2016 10:35:14 GMT</pubDate>
    <dc:creator>MECT</dc:creator>
    <dc:date>2016-08-25T10:35:14Z</dc:date>
    <item>
      <title>How can I graph my results from MVE or MCD analysis?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-graph-my-results-from-MVE-or-MCD-analysis/m-p/293978#M2969</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just discovered SAS/IML while looking for a means to identify outliers in multivariate data with 3 dimensions. It looks as if either the Minimum Volume Ellipsoid (MVE) or Minimum Covariance Determinant (MCD) may be just what I need. I have looked at the Robust Regression examples within the SAS documentation as well as "Detecting outliers in SAS: Part 3: Multivariate location and scatter" (Wicklin, 2012). Using those sources I have managed to run both MVE and MCD and get estimated outlier, however, I cannot graph the data. I have pasted below the example in the SAS documentation using the stackloss data where a subroutine SCATMVE is used. It seems to be in a library file called robustmc.sas which I do not seem to have. I am running SAS version 9.3 (although I can upgrade to 9.4). I just feel like there are some key points missing in the example and I would be grateful for any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following specification generates three bivariate plots of the classical and robust tolerance ellipsoids. They are shown in &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve21_plot" target="_blank"&gt;Figure 12.5.5&lt;/A&gt;, &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve31_plot" target="_blank"&gt;Figure 12.5.6&lt;/A&gt;, and &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/imlug_robustregexpls_sect008.htm#imlug.robustregexpls.stlmve32_plot" target="_blank"&gt;Figure 12.5.7&lt;/A&gt;, one plot for each pair of variables.&lt;/P&gt;&lt;DIV class="pre"&gt;&lt;PRE class="sascode"&gt;optn = j(9,1,.); optn[5]= -1;
vnam = { "Rate", "Temperature", "AcidConcent" };
filn = "stlmve";
titl = "Stackloss Data: Use All Subsets";
%include 'robustmc.sas';
call scatmve(2,optn,.9,a,vnam,titl,1,filn);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Aug 2016 10:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-graph-my-results-from-MVE-or-MCD-analysis/m-p/293978#M2969</guid>
      <dc:creator>MECT</dc:creator>
      <dc:date>2016-08-25T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I graph my results from MVE or MCD analysis?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-graph-my-results-from-MVE-or-MCD-analysis/m-p/293984#M2970</link>
      <description>&lt;P&gt;I know longer have SAS 9.3 installed, and I don't remember the details from that era, but the &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/68150/HTML/default/viewer.htm#imlug_robustregexpls_sect012.htm" target="_self"&gt;current SAS/IML documentation&lt;/A&gt;&amp;nbsp;answers your question. In &lt;STRONG&gt;SAS 9.4&lt;/STRONG&gt; you can &amp;nbsp;%INCLUDE the robustmc.sas file and then use the functions. The example shows the details, but it begins with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include sampsrc(robustmc);   /* define graphing modules */
proc iml;
load module=_all_;            /* load graphing modules */
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Although I don't remember the 9.3 details, I think you can follow the instructions for &lt;A href="http://support.sas.com/kb/22/209.html" target="_self"&gt;"Accessing documentation and sample programs"&lt;/A&gt;&amp;nbsp;to get to the 9.3 programs. If necessary, you can&amp;nbsp;copy the programs onto your local computer or cut-and-paste directly into your program.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 11:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-can-I-graph-my-results-from-MVE-or-MCD-analysis/m-p/293984#M2970</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-25T11:49:45Z</dc:date>
    </item>
  </channel>
</rss>

