<?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 and zero standard error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540074#M7174</link>
    <description>&lt;P&gt;When a variable has no variability, such as all the values being exactly the same, which appears to be the case with one of your variables then the standard deviation is zero. Period. Notice that you summary shows that mean, max, and minimum are also all 0 for the first variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens in this case for correlation is that the constant variable has no correlation because there is no change when the other variable changes values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest investigating why that variable only has a value of zero will likely gain more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 15:52:52 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-04T15:52:52Z</dc:date>
    <item>
      <title>Scatter plot and zero standard error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540063#M7169</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking at values from the right and left side of the body and using PROC CORR to test for a correlation between the two sides. I have a zero-inflated data set (the zeroes are meaningful to me and thus cannot be removed), and while doing PROC CORR, I'm getting matrices back without estimates because the standard error is zero. Is there a way around this/how should this be reported?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also getting scatter plots back with curved fit lines. Can I fix this somehow? Or is this just how it is because of my data? Examples of both are below, along with the code that is being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC CORR Data=coimbra_big PLOTS=SCATTER(NVAR=all);&lt;BR /&gt;VAR EXTLZ2CA EXTRZ2CA;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;TABLE border="0" cellspacing="1" cellpadding="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The SAS System&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;DIV class="c proctitle"&gt;The CORR Procedure&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;2 Variables: &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;EXTLZ1ER EXTRZ1ER&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Simple StatisticsVariable N Mean Std Dev Sum Minimum Maximum &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;181&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;205&lt;/TD&gt;&lt;TD&gt;0.01463&lt;/TD&gt;&lt;TD&gt;0.15587&lt;/TD&gt;&lt;TD&gt;3.00000&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2.00000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Pearson Correlation CoefficientsProb &amp;gt; |r| under H0: Rho=0Number of Observations&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="center"&gt;EXTLZ1ER EXTRZ1EREXTLZ1EREXTRZ1ER &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;181&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;129&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;129&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1.00000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;205&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class="branch"&gt;&lt;DIV class="c"&gt;&lt;DIV class="branch"&gt;&lt;DIV class="c"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540063#M7169</guid>
      <dc:creator>UnGiffted</dc:creator>
      <dc:date>2019-03-04T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scatter plot and zero standard error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540074#M7174</link>
      <description>&lt;P&gt;When a variable has no variability, such as all the values being exactly the same, which appears to be the case with one of your variables then the standard deviation is zero. Period. Notice that you summary shows that mean, max, and minimum are also all 0 for the first variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens in this case for correlation is that the constant variable has no correlation because there is no change when the other variable changes values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest investigating why that variable only has a value of zero will likely gain more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540074#M7174</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-04T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scatter plot and zero standard error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540114#M7181</link>
      <description>&lt;P&gt;Report those correlations as missing: there is no way they can be estimated from your data.&amp;nbsp; The curved lines on the scatter graphs are prediction ellipses. To get rid of them, specify PLOTS=SCATTER(ELLIPSE=NONE) on the proc corr statement.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 17:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Scatter-plot-and-zero-standard-error/m-p/540114#M7181</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-03-04T17:29:33Z</dc:date>
    </item>
  </channel>
</rss>

