<?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 REPORT and WEIGHT and PCTN in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30313#M4576</link>
    <description>Thanks for the advice, Cynthia. I'll contact Tech Support. Have a wonderful day.</description>
    <pubDate>Thu, 10 Jul 2008 16:31:03 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-10T16:31:03Z</dc:date>
    <item>
      <title>PROC REPORT and WEIGHT and PCTN</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30311#M4574</link>
      <description>I'm new to using the REPORT procedure and am looking for help showing weighted data. I'm creating a cross-tab and have been able to see the sums weighted, but I can't see the percentages weighted. &lt;BR /&gt;
&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;Here is my syntax and the resulting output:&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
PROC REPORT DATA=trash.BOLiesTR1 NOWD;&lt;BR /&gt;
	COLUMN post (userfin fage301), PCTN;&lt;BR /&gt;
	DEFINE post / GROUP;&lt;BR /&gt;
	WEIGHT weights;&lt;BR /&gt;
	RUN;&lt;BR /&gt;
&lt;BR /&gt;
post   userfin  fage302&lt;BR /&gt;
1	0.38	  0.36&lt;BR /&gt;
2	0.30	  0.24&lt;BR /&gt;
3	0.18	  0.19&lt;BR /&gt;
4	0.08	  0.14&lt;BR /&gt;
5	0.05	  0.07&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;And here it is without the weights (same results):&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
PROC REPORT DATA=trash.BOLiesTR1 NOWD;&lt;BR /&gt;
	COLUMN post (userfin fage301), PCTN;&lt;BR /&gt;
	DEFINE post / GROUP;&lt;BR /&gt;
	RUN;&lt;BR /&gt;
&lt;BR /&gt;
post   userfin  fage302&lt;BR /&gt;
1	0.38	  0.36&lt;BR /&gt;
2	0.30	  0.24&lt;BR /&gt;
3	0.18	  0.19&lt;BR /&gt;
4	0.08	  0.14&lt;BR /&gt;
5	0.05	  0.07&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;But this is what I get from a PROC FREQ statement:&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
PROC FREQ DATA=trash.BOLiesTR1;&lt;BR /&gt;
	TABLES post*(userfin fage302)/norow nocol nofreq;&lt;BR /&gt;
	WEIGHT weights;&lt;BR /&gt;
	RUN;&lt;BR /&gt;
&lt;BR /&gt;
post   userfin  fage302&lt;BR /&gt;
1	0.39	  0.38&lt;BR /&gt;
2	0.30	  0.23&lt;BR /&gt;
3	0.18	  0.18&lt;BR /&gt;
4	0.08	  0.13&lt;BR /&gt;
5	0.05 	  0.07</description>
      <pubDate>Thu, 10 Jul 2008 00:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30311#M4574</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-10T00:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT and WEIGHT and PCTN</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30312#M4575</link>
      <description>Hi:&lt;BR /&gt;
   Every time I have used the WEIGHT statement with PROC REPORT, I have tested the REPORT results against PROC MEANS -- so I can use the same VARDEF= value for both procedures. &lt;BR /&gt;
&lt;BR /&gt;
  It seems to me that this is a question for Tech Support -- because either the weight statement works differently for PROC REPORT than PROC FREQ or it can't be used with PCTN stat in PROC REPORT or ??? &lt;BR /&gt;
    &lt;BR /&gt;
  Tech Support is your best resource for this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 10 Jul 2008 15:37:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30312#M4575</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-07-10T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT and WEIGHT and PCTN</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30313#M4576</link>
      <description>Thanks for the advice, Cynthia. I'll contact Tech Support. Have a wonderful day.</description>
      <pubDate>Thu, 10 Jul 2008 16:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-and-WEIGHT-and-PCTN/m-p/30313#M4576</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-10T16:31:03Z</dc:date>
    </item>
  </channel>
</rss>

