<?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: Question on proc corr output in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/649986#M31192</link>
    <description>&lt;P&gt;What this statistic is telling you is that there is a very weak, but not statistically significant, tendency of booking changes to increase with lead time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scatter graph might be more visually informative if you added some jitter to the discrete booking change values and made the aspect ratio of the graph closer to a square.&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 21:47:56 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2020-05-22T21:47:56Z</dc:date>
    <item>
      <title>Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/649979#M31191</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have tried the proc corr for the first time, to find relationship between two variables in my dataset. I used the following code and i got this output. I don't understand is this the increasing trend or decreasing mainly I wanted to check&lt;/P&gt;
&lt;PRE&gt;ods graphics on;
title'To find relation between variables';
proc corr data=hotel.Hotel_bookings plots(MAXPOINTS=NONE)=all;
var lead_time booking_changes;
run;
ods graphics off;
&lt;/PRE&gt;
&lt;P&gt;whether is the right output please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_0-1590172504686.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39764i64E87F2E7A72A4EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_0-1590172504686.png" alt="Amali6_0-1590172504686.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_1-1590172566402.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39765iB7F986D520A1EC9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_1-1590172566402.png" alt="Amali6_1-1590172566402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can someone please explain is this the right plots for this variables and this how it looks like?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 18:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/649979#M31191</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/649986#M31192</link>
      <description>&lt;P&gt;What this statistic is telling you is that there is a very weak, but not statistically significant, tendency of booking changes to increase with lead time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scatter graph might be more visually informative if you added some jitter to the discrete booking change values and made the aspect ratio of the graph closer to a square.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/649986#M31192</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-05-22T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650000#M31193</link>
      <description>I suspect it's only statistically significant because you have a large number of observations, 119330 obs. &lt;BR /&gt;&lt;BR /&gt;However, there is no clear linear relationship present between lead time and hotel bookings given the graph shown.</description>
      <pubDate>Fri, 22 May 2020 19:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650000#M31193</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T19:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650019#M31194</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much for the response.&amp;nbsp; I am trying to understand the correlation so i wanted to know in this scatter graph the p-value is 0.9590 how this is very weak, sorry i cant understand on what aspect to say when a plot correlation graph is strong or weak. I tried with some other variables in my dataset but the output looks like a line between two variables in between. Also could you please explain why the minimum value is 0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 20:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650019#M31194</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T20:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650020#M31195</link>
      <description>&lt;P&gt;There is no observable relationship between the two variables. And not significant.&lt;/P&gt;
&lt;P&gt;But be careful: with so many observations, it is easy to find significant correlations even when there is no meaningful or predictable relationship.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 20:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650020#M31195</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2020-05-22T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650022#M31196</link>
      <description>&lt;P&gt;Your correlation is 0.00015 so nearly &lt;STRONG&gt;zero&lt;/STRONG&gt; and your p-value is 0.9590.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This means you have no linear correlation and it's &lt;STRONG&gt;not&lt;/STRONG&gt; statistically significant.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:00:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650022#M31196</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T21:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650024#M31197</link>
      <description>Thank you. since mine is big dataset, the plots are showing very close and i cant understand clearly. Could you please explain how to say how to say there is relationship and not related?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 22 May 2020 21:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650024#M31197</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T21:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650025#M31198</link>
      <description>&lt;P&gt;There is no linear relationship between your two variables.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650025#M31198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T21:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650029#M31199</link>
      <description>Thank you very much for explaining. I have tried with other variables in there i got a line between left and right side of the graph, can you help what kind of relationship to say in that case please?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 22 May 2020 21:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650029#M31199</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T21:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650033#M31201</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/328574"&gt;@Amali6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you very much for explaining.&lt;STRONG&gt; I have tried with other variables in there i got a line between left and right side of the graph, can you help what kind of relationship to say in that case please?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not without seeing the graphs and numbers.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650033#M31201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T21:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650035#M31202</link>
      <description>&lt;P&gt;Sorry this is what i got.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_0-1590183712363.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39775iB31840DFA000FB44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_0-1590183712363.png" alt="Amali6_0-1590183712363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650035#M31202</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T21:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650036#M31203</link>
      <description>&lt;P&gt;You might try SPEARMAN correlation which is more concerned with direction of change than magnitude.&lt;/P&gt;
&lt;P&gt;A Spearman correlation close to 1 means that as one variable increases in value so does the other, or a value close to -1 means that when one variable increases the other decreases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see if this is interesting by adding the option SPEARMAN to the Proc Corr statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many times the plots the statistics procs generate are not the clearest.&lt;/P&gt;
&lt;P&gt;Try this with your data&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=hotel.hotel_bookings;
   scatter x=lead_time y=booking_changes / 
                      markerattrs=(symbol=circlefilled size=3pt) 
                      transparency=.9 
   ;
run;&lt;/PRE&gt;
&lt;P&gt;The transparency setting close to 1 means that the markers will be very faint. But when multiples are drawn in the same location the color density gets stronger. So sometimes you can see underlying patterns inside the data.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:43:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650036#M31203</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-22T21:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650040#M31204</link>
      <description>Thank you. Can you explain the condition on correlation how to predict that two variables are correlated or not please?</description>
      <pubDate>Fri, 22 May 2020 22:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650040#M31204</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T22:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650043#M31205</link>
      <description>The free SAS Stats course likely covers this topic, as does Khan Academy or a variety of free resources online. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.khanacademy.org/math/statistics-probability/describing-relationships-quantitative-data/introduction-to-scatterplots/v/constructing-scatter-plot" target="_blank"&gt;https://www.khanacademy.org/math/statistics-probability/describing-relationships-quantitative-data/introduction-to-scatterplots/v/constructing-scatter-plot&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/output/proc-corr/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/output/proc-corr/&lt;/A&gt;</description>
      <pubDate>Fri, 22 May 2020 22:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650043#M31205</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T22:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650045#M31206</link>
      <description>Thank you very much this helps a lot!!</description>
      <pubDate>Fri, 22 May 2020 22:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650045#M31206</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-22T22:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc corr output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650855#M31254</link>
      <description>&lt;P&gt;Also try this video from SAS:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=oC8FM-NNQ7Q" target="_blank"&gt;https://www.youtube.com/watch?v=oC8FM-NNQ7Q&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 17:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-on-proc-corr-output/m-p/650855#M31254</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2020-05-26T17:48:30Z</dc:date>
    </item>
  </channel>
</rss>

