<?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 Make a table with estimates and s.e. + ODS layout in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Make-a-table-with-estimates-and-s-e-ODS-layout/m-p/124623#M34228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if it's possible to create a table in SAS in which I report the regression estimates along with the standard errors of these &lt;EM&gt;below&lt;/EM&gt; the estimates e.g. in parentheses?&lt;/P&gt;&lt;P&gt;I have used the ods output parameterestimates=data code and used proc tabulate to make a table, but it reports the estimates of my different models in the first columns and the standard errors corresponding to each estimate grouped by model in the last columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example I have done as below:&lt;/P&gt;&lt;P&gt;The following step has been repeated to create 4 data sets with estimates from different models: est_iv1 est_iv2 est_iv3 est_ols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SYSLIN 2SLS DATA = mergedata OUT=out2SLS3 ;&lt;/P&gt;&lt;P&gt;Title 'Regression with two IVs';&lt;/P&gt;&lt;P&gt;ENDOGENOUS lyr_60 lyrssa ;&lt;/P&gt;&lt;P&gt;INSTRUMENTS alatitude ala_ssa strucK strucH la ssa yrsopen yrsop_ssa;&lt;/P&gt;&lt;P&gt;MODEL g60_00 = lyr_60 lyrssa strucK strucH la ssa ;&lt;/P&gt;&lt;P&gt;OUTPUT RESIDUAL=res2SLS3 ; &lt;/P&gt;&lt;P&gt;ods output parameterestimates=est_iv3;&lt;/P&gt;&lt;P&gt;RUN ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data est;&lt;/P&gt;&lt;P&gt;merge est_iv1 est_iv2 est_iv3 est_ols;&lt;/P&gt;&lt;P&gt;by model variable;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I try to make a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=est format=commax16.4;&lt;/P&gt;&lt;P&gt;var estimate stderr;&lt;/P&gt;&lt;P&gt;class variable model;&lt;/P&gt;&lt;P&gt;tables variable, model*estimate model*stderr;&lt;/P&gt;&lt;P&gt;title 'Comparison of regression methodsr';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I would like to be able to create titles in my ODS-output. When I make the titles "Exercise 1" and "Exercise 2", "Exercise 2" is written in the top of the paper as soon as exercise 2 enters the paper, even though exercise 1 fills up the first part of the paper. I would like "Exercise 2" to be written just &lt;EM&gt;after&lt;/EM&gt; all the codes belonging to exercise 1 are finished - but how to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope anyone has an idea of how to solve my problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 11:50:21 GMT</pubDate>
    <dc:creator>MariaJuul</dc:creator>
    <dc:date>2012-05-23T11:50:21Z</dc:date>
    <item>
      <title>Make a table with estimates and s.e. + ODS layout</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Make-a-table-with-estimates-and-s-e-ODS-layout/m-p/124623#M34228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me if it's possible to create a table in SAS in which I report the regression estimates along with the standard errors of these &lt;EM&gt;below&lt;/EM&gt; the estimates e.g. in parentheses?&lt;/P&gt;&lt;P&gt;I have used the ods output parameterestimates=data code and used proc tabulate to make a table, but it reports the estimates of my different models in the first columns and the standard errors corresponding to each estimate grouped by model in the last columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example I have done as below:&lt;/P&gt;&lt;P&gt;The following step has been repeated to create 4 data sets with estimates from different models: est_iv1 est_iv2 est_iv3 est_ols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SYSLIN 2SLS DATA = mergedata OUT=out2SLS3 ;&lt;/P&gt;&lt;P&gt;Title 'Regression with two IVs';&lt;/P&gt;&lt;P&gt;ENDOGENOUS lyr_60 lyrssa ;&lt;/P&gt;&lt;P&gt;INSTRUMENTS alatitude ala_ssa strucK strucH la ssa yrsopen yrsop_ssa;&lt;/P&gt;&lt;P&gt;MODEL g60_00 = lyr_60 lyrssa strucK strucH la ssa ;&lt;/P&gt;&lt;P&gt;OUTPUT RESIDUAL=res2SLS3 ; &lt;/P&gt;&lt;P&gt;ods output parameterestimates=est_iv3;&lt;/P&gt;&lt;P&gt;RUN ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data est;&lt;/P&gt;&lt;P&gt;merge est_iv1 est_iv2 est_iv3 est_ols;&lt;/P&gt;&lt;P&gt;by model variable;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I try to make a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=est format=commax16.4;&lt;/P&gt;&lt;P&gt;var estimate stderr;&lt;/P&gt;&lt;P&gt;class variable model;&lt;/P&gt;&lt;P&gt;tables variable, model*estimate model*stderr;&lt;/P&gt;&lt;P&gt;title 'Comparison of regression methodsr';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I would like to be able to create titles in my ODS-output. When I make the titles "Exercise 1" and "Exercise 2", "Exercise 2" is written in the top of the paper as soon as exercise 2 enters the paper, even though exercise 1 fills up the first part of the paper. I would like "Exercise 2" to be written just &lt;EM&gt;after&lt;/EM&gt; all the codes belonging to exercise 1 are finished - but how to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope anyone has an idea of how to solve my problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Make-a-table-with-estimates-and-s-e-ODS-layout/m-p/124623#M34228</guid>
      <dc:creator>MariaJuul</dc:creator>
      <dc:date>2012-05-23T11:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Make a table with estimates and s.e. + ODS layout</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Make-a-table-with-estimates-and-s-e-ODS-layout/m-p/124624#M34229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the following URL can give you some clue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/thread/34794" title="https://communities.sas.com/thread/34794"&gt;https://communities.sas.com/thread/34794&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 05:07:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Make-a-table-with-estimates-and-s-e-ODS-layout/m-p/124624#M34229</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-05-24T05:07:21Z</dc:date>
    </item>
  </channel>
</rss>

