<?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: Proc Univariate Histograms...can I look at a subset of the data? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47077#M12596</link>
    <description>You might want to share your SAS code.  Also, you can list the MIDPOINTS= values to be used, rather than specifying the parameter as a value-range.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
PROC UNIVARIATE - Volume 3, DOC on HISTOGRAM and MIDPOINTS= parameter:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_proc_8977.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_proc_8977.pdf&lt;/A&gt;</description>
    <pubDate>Wed, 17 Sep 2008 16:14:57 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2008-09-17T16:14:57Z</dc:date>
    <item>
      <title>Proc Univariate Histograms...can I look at a subset of the data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47076#M12595</link>
      <description>Hello all,&lt;BR /&gt;
&lt;BR /&gt;
    I am trying to plot a histogram of some data in proc univariate.  The data values range from 1 to 1,500,000, but most of them are less than 100,000.  I want to only look at the range from 1 to 100,000 so my graphs are readable.&lt;BR /&gt;
    Using a where statement won't do, because I would like the end bin of the histogram to peak to represent those that have been truncated.&lt;BR /&gt;
    The MIDPOINTS = option doesn't work...I get the following error:&lt;BR /&gt;
&lt;BR /&gt;
WARNING: The MIDPOINTS= list was extended to accommodate the data.&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions?  Can this automatic "fix" for the MIDPOINTS option be overwritten?&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much!</description>
      <pubDate>Wed, 17 Sep 2008 15:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47076#M12595</guid>
      <dc:creator>JohnW_</dc:creator>
      <dc:date>2008-09-17T15:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate Histograms...can I look at a subset of the data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47077#M12596</link>
      <description>You might want to share your SAS code.  Also, you can list the MIDPOINTS= values to be used, rather than specifying the parameter as a value-range.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
PROC UNIVARIATE - Volume 3, DOC on HISTOGRAM and MIDPOINTS= parameter:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_proc_8977.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/base_proc_8977.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 17 Sep 2008 16:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47077#M12596</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-17T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate Histograms...can I look at a subset of the data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47078#M12597</link>
      <description>My code follows:&lt;BR /&gt;
&lt;BR /&gt;
/* The variable ranges from 1 to 1,592,250, with most values less than 100,000 */&lt;BR /&gt;
proc univariate noprint data = analysis_AE;&lt;BR /&gt;
var analysis_var;&lt;BR /&gt;
histogram analysis_var / midpoints = 0 to 25000 by 5000;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Specifying individual midpoints doesn't work either, I get the same error. However the goal is to write a macro for this so eventually that would not work (different variables input would have different ranges, etc.), but I just want it to work on a hard coded level first.&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for your interest and any further help!</description>
      <pubDate>Wed, 17 Sep 2008 16:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47078#M12597</guid>
      <dc:creator>JohnW_</dc:creator>
      <dc:date>2008-09-17T16:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate Histograms...can I look at a subset of the data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47079#M12598</link>
      <description>Honestly, you may want to share code that gets a "hard" SAS error, where you have coded explicit MIDPOINTS= values showing how you cannot code a low to high set of values, with intermediate midpoint values more frequent at the lower range.  The DOC appears to contradict what you indicate is your experience.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 17 Sep 2008 17:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47079#M12598</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-17T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate Histograms...can I look at a subset of the data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47080#M12599</link>
      <description>Nevermind I just realized that I can code records beyond my bounds as equal to the bounds, creating the effect that I want.  Any computed stats from univariate won't be correct, but I don't want any here so that's great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for trying to help me, sorry to waste your time.</description>
      <pubDate>Wed, 17 Sep 2008 17:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Univariate-Histograms-can-I-look-at-a-subset-of-the-data/m-p/47080#M12599</guid>
      <dc:creator>JohnW_</dc:creator>
      <dc:date>2008-09-17T17:16:00Z</dc:date>
    </item>
  </channel>
</rss>

