<?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 Means tables from ANCOVA in SurveyReg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48079#M2118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd think they are provided in one of the ODS tables (see: &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002649072.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002649072.htm&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Surveyreg is in the second section of the page, under the SAS/Stat procs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 23:06:08 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-02-07T23:06:08Z</dc:date>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48078#M2117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SAS Survey:&lt;/P&gt;&lt;P&gt;How can I get a means table of the data resulting from an ANCOVA in proc surveyreg? I'm trying to find the variable means that result when a regression of two variables is controlled for gender (or age or another variable). I can't seem to build appropriate syntax. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 22:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48078#M2117</guid>
      <dc:creator>LindaW</dc:creator>
      <dc:date>2012-02-07T22:47:03Z</dc:date>
    </item>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48079#M2118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd think they are provided in one of the ODS tables (see: &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002649072.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002649072.htm&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Surveyreg is in the second section of the page, under the SAS/Stat procs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 23:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48079#M2118</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-07T23:06:08Z</dc:date>
    </item>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48080#M2119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I probably shouldn't have posted a response as I have never used the proc.&amp;nbsp; However, that said, wouldn't specifying contrasts provide what you want or, if not, proc surveymeans?&amp;nbsp; Take a look at: &lt;A href="http://support.sas.com/rnd/app/papers/survey.pdf"&gt;http://support.sas.com/rnd/app/papers/survey.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 23:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48080#M2119</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-07T23:40:52Z</dc:date>
    </item>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48081#M2120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for trying to help me with this. The thing is, I need to tell SAS to provide adjusted means based on the ANCOVA and I can't see how to write that request. If I use the standard surveymeans request, the response is the unadjusted means. I can't understand how to tell SAS to provide adjusted means in SAS Survey. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 15:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48081#M2120</guid>
      <dc:creator>LindaW</dc:creator>
      <dc:date>2012-02-08T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48082#M2121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Linda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you specified an LSMEANS statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you have presented, I assume you have something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc surveyreg data=have;&lt;/P&gt;&lt;P&gt;strata sex;&lt;/P&gt;&lt;P&gt;class sex;&lt;/P&gt;&lt;P&gt;model depvar=sex othervar sex*othervar/solution;&lt;/P&gt;&lt;P&gt;weight weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the LSMEANS statement that looks something like the following, and it should give you marginal means, adjusted for the covariate 'othervar'.&amp;nbsp; Note that these are predicted marginals for a hypothetical balanced population.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc surveyreg data=have;&lt;/P&gt;&lt;P&gt;strata sex;&lt;/P&gt;&lt;P&gt;class sex;&lt;/P&gt;&lt;P&gt;model depvar=sex othervar sex*othervar/solution;&lt;/P&gt;&lt;P&gt;weight weight;&lt;/P&gt;&lt;P&gt;lsmeans sex;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several options available to the LSMEANS statement that you might want to explore.&amp;nbsp; Also, I specified a model that had different slopes for each sex in the ANCOVA--you may wish to fit a common slopes model which would not include the interaction term.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48082#M2121</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-02-09T12:45:34Z</dc:date>
    </item>
    <item>
      <title>Means tables from ANCOVA in SurveyReg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48083#M2122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly! Thanks, Steve!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Means-tables-from-ANCOVA-in-SurveyReg/m-p/48083#M2122</guid>
      <dc:creator>LindaW</dc:creator>
      <dc:date>2012-02-09T13:54:25Z</dc:date>
    </item>
  </channel>
</rss>

