<?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: How to create a table of baseline characteristics in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195722#M10449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc tabulate ,proc report , proc sqll&amp;nbsp; all could get it. All you need is to post an example to explain it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jul 2015 12:25:20 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-07-04T12:25:20Z</dc:date>
    <item>
      <title>How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195721#M10448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a table like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Diseases&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Group 1 (also a variable)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Group 2 (also a variable)&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Variable 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum and percentage&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum and percentage&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Variable 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Variable 3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Variable 4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Variable 5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum and percentage&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do anyone know how to to the programing? I have tried but it hasn't worked out yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;/Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 10:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195721#M10448</guid>
      <dc:creator>ChrisMac</dc:creator>
      <dc:date>2015-07-04T10:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195722#M10449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc tabulate ,proc report , proc sqll&amp;nbsp; all could get it. All you need is to post an example to explain it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 12:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195722#M10449</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-04T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195723#M10450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;Thanks for the reply! I have a dataset with the following variables &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;hyperlipidemi DM_type IHD_disp antal_tidl_CABG sex.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I want the table to look like this. All variables are categorial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;sex&lt;/SPAN&gt;=1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;sex=0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;hyperlipidemi &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;DM_type &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;IHD_disp &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333330154419px; background-color: #ffffff;"&gt;antal_tidl_CABG &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 12:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195723#M10450</guid>
      <dc:creator>ChrisMac</dc:creator>
      <dc:date>2015-07-04T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195724#M10451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't mean to be standoffish, but this is something your employed to do.&amp;nbsp; Much the same that I have to produce these tables as well.&amp;nbsp; Its not a question requiring an answer.&amp;nbsp; You can have a look at the PHUSE Wiki:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.phusewiki.org/wiki/index.php?title=Standard_Script_Index" title="http://www.phusewiki.org/wiki/index.php?title=Standard_Script_Index"&gt;http://www.phusewiki.org/wiki/index.php?title=Standard_Script_Index&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They have some example code which may help you, however you would need to follow your SOPs and coding guidelines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 12:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195724#M10451</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-04T12:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195725#M10452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you want what I think you want, you need the percentages and numbers in the same cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on each work environment I've found that you do need to customize each macro/report, but there are A TON of papers on Lexjansen.com that cover this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's one example, starting on page 9 of the report. Good Luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www2.sas.com/proceedings/forum2008/173-2008.pdf" title="http://www2.sas.com/proceedings/forum2008/173-2008.pdf"&gt;http://www2.sas.com/proceedings/forum2008/173-2008.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Note the Resources section:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;RESOURCES&lt;/P&gt;
&lt;P&gt;You can download the programs and data in this paper from the SAS Web site for Technical Papers and Presentations for SAS Global Forum 2008 Conference at support.sas.com/rnd/papers/. Alternate versions of some of the programs are included in the downloadable zip file. These versions show more macro coding, alternate versions of the same program, or the downside of using some of the techniques in non-HTML destinations. &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jul 2015 13:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195725#M10452</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-07-04T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table of baseline characteristics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195726#M10453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you didn't post some sample data yet ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 04:01:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-table-of-baseline-characteristics/m-p/195726#M10453</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-05T04:01:02Z</dc:date>
    </item>
  </channel>
</rss>

