<?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: Doubts about proc corr in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921558#M1803</link>
    <description>&lt;P&gt;The online help for the Proc Corr&amp;nbsp; plots statement has this bit :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="procstat.corr.corrproc" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimple"&gt;If the resulting maximum number of variables in the VAR or WITH list is greater than 10, only the first 10 variables in the list are displayed in the scatter plot matrix.&lt;/P&gt;
&lt;P class="xisDoc-paraSimple"&gt;The available &lt;SPAN class=" aa-argument"&gt;scatter-options&lt;/SPAN&gt; are as follows:&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That means the maximum default is a 5 by 5 matrix (5 VAR and 5 With variables) If you don't provide a WITH then the first 5 Var variables repeat in both roles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can override that specifying a number or the value ALL with the NVAR= option for the plot.&lt;/P&gt;
&lt;PRE&gt;proc corr data=phd plots=matrix(histogram nvar=all);
var P MO pH K Ca Mg Na HAl Al SB CTC V m;
run;&lt;/PRE&gt;
&lt;P&gt;there are separate NVAR and NWITH options. Too many variables may not fit and would require multiple calls to Proc Corr with different variables.&lt;/P&gt;
&lt;P&gt;Consider your use as well. You may want to consider use of WITH so the variables on the VAR statement are compared with the WITH . I might guess from your variable names that K Ca mg na al and sb have something in common (elements IIRC). So perhaps your research question wants to compar P Mo ph CTC V and m with those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 20:01:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-03-22T20:01:45Z</dc:date>
    <item>
      <title>Doubts about proc corr</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921556#M1802</link>
      <description>&lt;P&gt;Hello, I have a doubt.&lt;/P&gt;&lt;P&gt;I wanna do a Scatter Plot Matrix. I have 13 variables, but in the results just apper 5 variables in the&amp;nbsp;Scatter Plot Matrix. What can I do for the results appear all variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My line program that I'm using is:&lt;/P&gt;&lt;P&gt;proc corr data=phd plots=matrix(histogram);&lt;BR /&gt;var P MO pH K Ca Mg Na HAl Al SB CTC V m;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 19:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921556#M1802</guid>
      <dc:creator>josuerodrigues</dc:creator>
      <dc:date>2024-03-22T19:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about proc corr</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921558#M1803</link>
      <description>&lt;P&gt;The online help for the Proc Corr&amp;nbsp; plots statement has this bit :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="procstat.corr.corrproc" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimple"&gt;If the resulting maximum number of variables in the VAR or WITH list is greater than 10, only the first 10 variables in the list are displayed in the scatter plot matrix.&lt;/P&gt;
&lt;P class="xisDoc-paraSimple"&gt;The available &lt;SPAN class=" aa-argument"&gt;scatter-options&lt;/SPAN&gt; are as follows:&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That means the maximum default is a 5 by 5 matrix (5 VAR and 5 With variables) If you don't provide a WITH then the first 5 Var variables repeat in both roles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can override that specifying a number or the value ALL with the NVAR= option for the plot.&lt;/P&gt;
&lt;PRE&gt;proc corr data=phd plots=matrix(histogram nvar=all);
var P MO pH K Ca Mg Na HAl Al SB CTC V m;
run;&lt;/PRE&gt;
&lt;P&gt;there are separate NVAR and NWITH options. Too many variables may not fit and would require multiple calls to Proc Corr with different variables.&lt;/P&gt;
&lt;P&gt;Consider your use as well. You may want to consider use of WITH so the variables on the VAR statement are compared with the WITH . I might guess from your variable names that K Ca mg na al and sb have something in common (elements IIRC). So perhaps your research question wants to compar P Mo ph CTC V and m with those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 20:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921558#M1803</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-22T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about proc corr</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921563#M1804</link>
      <description>&lt;P&gt;adding to the answer above by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A 13x13 scatterplot matrix will have cells so small that it will be difficult to read. That is a good reason for SAS to set the default at 5. You might want to re-think what the desired output should be.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 20:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921563#M1804</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-03-22T20:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about proc corr</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921564#M1805</link>
      <description>&lt;P&gt;Try adding PLOTS=MATRIX(NVARS=ALL) to your proc statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_corr_syntax01.htm#procstat.corr.plotsopt" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_corr_syntax01.htm#procstat.corr.plotsopt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 20:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Doubts-about-proc-corr/m-p/921564#M1805</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2024-03-22T20:41:35Z</dc:date>
    </item>
  </channel>
</rss>

