<?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 - statistic in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207381#M13743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you will have to restructure your data. PROC REPORT will only add another report row for WEIGHT and HEIGHT if you have an observation in the data. This may mean you need to use 1 procedure (like MEANS or TABULATE to calculate the statistics you want) and then restructure your DATA so that you can use PROC REPORT to get the final report the way you want.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 17:56:04 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-04-30T17:56:04Z</dc:date>
    <item>
      <title>Proc report - statistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207380#M13742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(252, 251, 248, 0.901961);"&gt;Hi, I need to know how to add median , first quartile to the third quartile on the second line of the report;&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(252, 251, 248, 0.901961);"&gt;this is my script:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;proc format;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt; value RAN_TO_AP 2='Octreotide' 1='Soma' ;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt; run;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt; ods listing close;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ods ESCAPECHAR = '!';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ods rtf file="&amp;amp;path.rtf" style=statsinrows; &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;proc report data=aladin nowd ;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;column&amp;nbsp; Parameter RAN_TO_AP, (('Baseline' map_v1=h map_v1=hsd map_v1=hm)('treatment' map_v7=w map_v7=wsd map_v7=wm)('Recovery' map_24f_270415=m map_24f_270415=msd map_24f_270415=mm) ); &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define RAN_TO_AP / across width=3;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define h /' ' analysis median style=[cellwidth=50 just=R borderrightstyle=hidden] format=2.1;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define hsd / ' ' analysis q1 style=[cellwidth=50 just=L borderleftstyle=hidden]f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define hm / ' ' analysis q3 style=[cellwidth=50 just=L borderleftstyle=hidden]f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define w /' ' analysis median style=[cellwidth=50 just=R borderrightstyle=hidden] format=2.1;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define wsd / ' ' analysis q1 style=[cellwidth=50 just=L borderleftstyle=hidden] f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define wm / ' ' analysis q3 style=[cellwidth=50 just=L borderleftstyle=hidden]f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define m /' ' analysis median style=[cellwidth=50 just=R borderrightstyle=hidden] format=2.1;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define msd / ' ' analysis q1 style=[cellwidth=50 just=L borderleftstyle=hidden] f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;define mm / ' ' analysis q3 style=[cellwidth=50 just=L borderleftstyle=hidden] f=paren.;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;title1 'Table 1: Patients characteristics at randomization and at the end of treatment period&amp;nbsp; according to study treatment - overall';&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;run;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ods rtf close;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ods listing;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;output&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&amp;nbsp; Active Placebo&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseline Treatment Recovery Baseline Treatment Recovery&lt;BR /&gt;Parameter&amp;nbsp; &lt;BR /&gt;Weight 103 (409.99) 1024 (426.97) 935 (345.12) 1016 (367.61) 1042&amp;nbsp; &lt;BR /&gt;Height 15 (28.06) 12 (17.15) 15 (57.30) 20 (61.99) 16 (77.52) 12 (15.18)&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: left; background-color: rgba(252, 251, 248, 0.901961);"&gt;output i need it:+&lt;/P&gt;&lt;P style="margin: 0px 0px 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-align: left; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Active Placebo Baseline Treatment Recovery Baseline Treatment Recovery &lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;Parameter &lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;Weight&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103 (409.99) 1024 (426.97) 935 (345.12) 1016 (367.61) 1042 &lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 88 (75 to 107) 91 (73 to 97) 89 (83.3 to 100) 88 (75 to 107) 91 &lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;Height&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15 (28.06) 12 (17.15) 15 (57.30) 20 (61.99) 16 (77.52) 12 (15.18)&lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;CODE style="font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 88 (75 to 107) 91 (73 to 97) 89 (83.3 to 100) 88 (75 to 107) 91 &lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(252, 251, 248, 0.901961);"&gt;where in first line there is mEAN (STD) and the second line median (q1 to q3)&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(252, 251, 248, 0.901961);"&gt;Thanks guys&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 15:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207380#M13742</guid>
      <dc:creator>Angela</dc:creator>
      <dc:date>2015-04-30T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - statistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207381#M13743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you will have to restructure your data. PROC REPORT will only add another report row for WEIGHT and HEIGHT if you have an observation in the data. This may mean you need to use 1 procedure (like MEANS or TABULATE to calculate the statistics you want) and then restructure your DATA so that you can use PROC REPORT to get the final report the way you want.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 17:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207381#M13743</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-30T17:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - statistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207382#M13744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply !&lt;/P&gt;&lt;P&gt;I have several variables representing three different time : baseline, treatmente and recovery so I dont know how to change the dataset; the advice of the different procedures is appreciated,&lt;/P&gt;&lt;P&gt;thank you &lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6000003814697px; font-family: inherit;"&gt;Cynthia&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 10:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207382#M13744</guid>
      <dc:creator>Angela</dc:creator>
      <dc:date>2015-05-02T10:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - statistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207383#M13745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Still not at a good computer for long posts, but this looks like a standard demographic type report. I had a paper back in 2008 called "Creating Complex Reports" that had 3 different examples of creating demographic reports similar to this. 2 of them used PROC REPORT and 1 of them used PROC TEMPLATE, DATA _NULL_ and a custom table template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think if you go to support.sas.com/rnd/papers and search for the paper title for 2008, you should find the paper.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 14:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207383#M13745</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-05-02T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - statistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207384#M13746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Cynthia, my case is&amp;nbsp; Complex 8: Demographic Report Example, i found it&amp;nbsp; for you help!! I use &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc TABULATE (for summary) and&amp;nbsp; TEMPLATE (for table &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;template)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much, you are really kind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 18:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-statistic/m-p/207384#M13746</guid>
      <dc:creator>Angela</dc:creator>
      <dc:date>2015-05-02T18:06:36Z</dc:date>
    </item>
  </channel>
</rss>

