<?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: Turn Histogram into a Line Graph - With Markers in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206669#M7701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Dan. Unfortunately my data is a bit on the side of being "super skewed." So I use the following code to graph it when I break my full distribution into 100 bins. The graph is much more healthy looking. Any suggestions on how to get markers in here to denote particular breaks in the distribution?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc rank data = CLAIMS_DATA out = CLAIMS_DATA groups = 100; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; var TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ranks B_TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods output "Summary statistics"=STATS;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc means data = CLAIMS_DATA mean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; var TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; class B_TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;quit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods output close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc sgplot data = STATS;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; series x = B_TRENDED_INCURRED Y = TRENDED_INCURRED_Mean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 12:55:15 GMT</pubDate>
    <dc:creator>Zachary</dc:creator>
    <dc:date>2015-08-25T12:55:15Z</dc:date>
    <item>
      <title>Turn Histogram into a Line Graph - With Markers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206667#M7699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been searching for a long time for the correct code to do this, but I have not found it yet. I have n = 20,000 cases. I have already sorted the order of the data by RESERVE from low to high. Basically I would like to see how all 20,000 records distribute with either the count or the % on the y-axis. No need for another variable. Sort of a very big histogram turned into a line graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, to add a little complexity to it, I would like to mark a few points on the graph. Currently my RESERVE variable goes from 100 to about 5 million. But it would be nice if I could denote where 100,000 is, or where 20,000 is in my distribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 12:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206667#M7699</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-08-25T12:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Turn Histogram into a Line Graph - With Markers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206668#M7700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to consider using a kernel density estimate instead of a histogram. Run these two programs and compare the output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.heart;&lt;/P&gt;&lt;P&gt;histogram weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.heart;&lt;/P&gt;&lt;P&gt;density weight / type=kernel scale=percent;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 12:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206668#M7700</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-08-25T12:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Turn Histogram into a Line Graph - With Markers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206669#M7701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Dan. Unfortunately my data is a bit on the side of being "super skewed." So I use the following code to graph it when I break my full distribution into 100 bins. The graph is much more healthy looking. Any suggestions on how to get markers in here to denote particular breaks in the distribution?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc rank data = CLAIMS_DATA out = CLAIMS_DATA groups = 100; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; var TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ranks B_TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods output "Summary statistics"=STATS;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc means data = CLAIMS_DATA mean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; var TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; class B_TRENDED_INCURRED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;quit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ods output close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;proc sgplot data = STATS;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; series x = B_TRENDED_INCURRED Y = TRENDED_INCURRED_Mean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 12:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206669#M7701</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-08-25T12:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Turn Histogram into a Line Graph - With Markers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206670#M7702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could put those break points in a separate data set and merge it back into the original. Then, just add a scatter overlay to your series plot referencing&amp;nbsp; those two columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206670#M7702</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-08-25T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turn Histogram into a Line Graph - With Markers</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206671#M7703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Feel free to send along the code to accomplish this, if you wish. I have never even remotely tried to pull something like that off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 18:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Turn-Histogram-into-a-Line-Graph-With-Markers/m-p/206671#M7703</guid>
      <dc:creator>Zachary</dc:creator>
      <dc:date>2015-08-25T18:51:36Z</dc:date>
    </item>
  </channel>
</rss>

