<?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: Best Plot for 2 Likert Scale Variables in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505285#M17199</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140721"&gt;@Melk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have 2 likert scale variables of which I ran a Spearman Correlation on. I want to produce a plot to show the strong positive association so I did a scatter, but it seemed to not have made much sense. What would be the best plot for this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It might help to show the code you used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you used the full data and not a summary to plot the data try using TRANAPARENCY= with a value around .9 start. A large value, near 1, is closer to fully transparent. When multiple symbols are plotted over each other the color builds up so that the darker or more intense color of the markers shows a more frequent answer.&lt;/P&gt;
&lt;P&gt;The following doesn't show a specific association but can give you a feel of what the result might look like. Larger symbols will help.&lt;/P&gt;
&lt;PRE&gt;data example;
   do i = 1 to 1000;    
      var1 = rand('table',.05,.15,.2,.3,.4);
      var2 = rand('table',.05,.15,.2,.3,.4);
      output;
   end;
run;

proc sgplot data=example;
   scatter x=var1 y=var2/ transparency=.95 
                          markerattrs=(color=blue size=5mm) 
   ;
run;
      &lt;/PRE&gt;
&lt;P&gt;HEATMAP is another way to show intensity of color for multiple identical responses though might imply continuity to some.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 18:57:26 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-10-17T18:57:26Z</dc:date>
    <item>
      <title>Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505276#M17197</link>
      <description>&lt;P&gt;I have 2 likert scale variables of which I ran a Spearman Correlation on. I want to produce a plot to show the strong positive association so I did a scatter, but it seemed to not have made much sense. What would be the best plot for this?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505276#M17197</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-10-17T18:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505284#M17198</link>
      <description>&lt;P&gt;If your goal&amp;nbsp;is to visualize the agreement&amp;nbsp;between the two variables,&amp;nbsp;you might consider the agreement plot. There is an example in &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_freq_gettingstarted02.htm&amp;amp;locale=en" target="_self"&gt;a Getting Started example for PROC FREQ.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you might consider &lt;A href="https://blogs.sas.com/content/iml/2013/11/04/create-mosaic-plots-in-sas-by-using-proc-freq.html" target="_self"&gt;a mosaic plot, which you can create automatically by using PROC &lt;/A&gt;FREQ. Mosaic plots&amp;nbsp;are often used for nominal categories, whereas you have ordinal categories, but it could still be a potentially interesting plot.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505284#M17198</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-17T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505285#M17199</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140721"&gt;@Melk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have 2 likert scale variables of which I ran a Spearman Correlation on. I want to produce a plot to show the strong positive association so I did a scatter, but it seemed to not have made much sense. What would be the best plot for this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It might help to show the code you used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you used the full data and not a summary to plot the data try using TRANAPARENCY= with a value around .9 start. A large value, near 1, is closer to fully transparent. When multiple symbols are plotted over each other the color builds up so that the darker or more intense color of the markers shows a more frequent answer.&lt;/P&gt;
&lt;P&gt;The following doesn't show a specific association but can give you a feel of what the result might look like. Larger symbols will help.&lt;/P&gt;
&lt;PRE&gt;data example;
   do i = 1 to 1000;    
      var1 = rand('table',.05,.15,.2,.3,.4);
      var2 = rand('table',.05,.15,.2,.3,.4);
      output;
   end;
run;

proc sgplot data=example;
   scatter x=var1 y=var2/ transparency=.95 
                          markerattrs=(color=blue size=5mm) 
   ;
run;
      &lt;/PRE&gt;
&lt;P&gt;HEATMAP is another way to show intensity of color for multiple identical responses though might imply continuity to some.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505285#M17199</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-17T18:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505287#M17200</link>
      <description>&lt;P&gt;Diverging stacked bar chart is the best one IMO. I sometimes also pull out the neutral and put that on a separate chart to show a comparison more clearly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if it's only two scales, you could probably also do a tree map type diagram, with the squares representing the number in each group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.r-bloggers.com/plotting-likert-scales/" target="_blank"&gt;https://www.r-bloggers.com/plotting-likert-scales/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505287#M17200</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-17T19:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505297#M17201</link>
      <description>&lt;P&gt;Clearly, we need more information. If the OP only wants to overlay two bars, see&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2014/10/30/likert-graphs/" target="_self"&gt; Sanjay's post on Likert Charts.&lt;/A&gt;&amp;nbsp;But IMHO, that doesn't do a good job of showing the statistical agreement between two variables.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505297#M17201</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-17T19:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Best Plot for 2 Likert Scale Variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505299#M17202</link>
      <description>The 2 variables each have 4 levels but are not the same, although both are ordinal. I do want the graph to reflect the statistical agreement (spearman r=0.7)</description>
      <pubDate>Wed, 17 Oct 2018 19:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Best-Plot-for-2-Likert-Scale-Variables/m-p/505299#M17202</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-10-17T19:24:48Z</dc:date>
    </item>
  </channel>
</rss>

