<?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: scatter plot for all my variables in proc corr in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712078#M34432</link>
    <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_corr_syntax01.htm&amp;amp;locale=en" target="_self"&gt;The documentation&lt;/A&gt; states "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 plots."&lt;/P&gt;
&lt;P&gt;An easy way to circumvent this restriction is to call PROC CORR several times, as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc corr data=mydata rank  plots=scatter(nvar=all);
var T0-T8;    
with y;
run;
proc corr data=mydata rank  plots=scatter(nvar=all);
var B0-B8;    
with y;
run;
proc corr data=mydata rank  plots=scatter(nvar=all);
var G0-G8;    
with y;
run;

...&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Jan 2021 11:46:44 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-01-18T11:46:44Z</dc:date>
    <item>
      <title>scatter plot for all my variables in proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712009#M34427</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How to get scatter plot for all my variables using proc corr in sas 9.4?&lt;/P&gt;&lt;P&gt;I am applying proc corr to find correlation between response variable(y) and independent variables, It gives me scatter plot for only 9 of my variables. Appreciate for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 03:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712009#M34427</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2021-01-18T03:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: scatter plot for all my variables in proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712028#M34428</link>
      <description>&lt;P&gt;So, you want one Scatter Plot for each of your variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=p1lcbd3lhs3t3bn1jk6d8sjt2yqx.htm&amp;amp;locale=en" target="_self"&gt;PROC SGPLOT with the Scatter Statement.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 06:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712028#M34428</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-01-18T06:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: scatter plot for all my variables in proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712035#M34429</link>
      <description>&lt;P&gt;Proc CORR only deals with numeric variables. How many of your variables are numeric?&lt;/P&gt;
&lt;P&gt;And if any specific variable is missing for all values of another there is nothing to plot or calculate correlations with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does the LOG look like when you run the code? Best is to show the Log of any procedure you have questions about. Copy the entire code with any notes or messages from the Log and paste into a text box opened on the forum with the &amp;lt;/&amp;gt; icon to preserve formatting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of attachments for code it is better to just copy the code or other text and paste into a text box such as:&lt;/P&gt;
&lt;PRE&gt;proc corr data=mydata rank  plots=scatter(nvar=all);
 
var T0-T8  b0-b8  g0-g8 h0-h8       
    d0-d8  f0-f8 j0-j8  k0-k8;    
with y;

run;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 08:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712035#M34429</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-18T08:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: scatter plot for all my variables in proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712072#M34431</link>
      <description>proc sgscatter data=sashelp.heart;&lt;BR /&gt;matrix _numeric_;&lt;BR /&gt;run;</description>
      <pubDate>Mon, 18 Jan 2021 11:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712072#M34431</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-18T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: scatter plot for all my variables in proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712078#M34432</link>
      <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_corr_syntax01.htm&amp;amp;locale=en" target="_self"&gt;The documentation&lt;/A&gt; states "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 plots."&lt;/P&gt;
&lt;P&gt;An easy way to circumvent this restriction is to call PROC CORR several times, as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc corr data=mydata rank  plots=scatter(nvar=all);
var T0-T8;    
with y;
run;
proc corr data=mydata rank  plots=scatter(nvar=all);
var B0-B8;    
with y;
run;
proc corr data=mydata rank  plots=scatter(nvar=all);
var G0-G8;    
with y;
run;

...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:46:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/scatter-plot-for-all-my-variables-in-proc-corr/m-p/712078#M34432</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-01-18T11:46:44Z</dc:date>
    </item>
  </channel>
</rss>

