<?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: Estimated means in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69946#M20141</link>
    <description>Thanks for your reply, but what about this?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/140-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/140-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Example 6 page 5, they use SURVEYREG to obtain adjusted proportion.&lt;BR /&gt;
Also, does the SURVEYLOGISTIC procedure have a ESTIMATE statement?&lt;BR /&gt;
&lt;BR /&gt;
Best regards.

Message was edited by: Iron_grief</description>
    <pubDate>Mon, 06 Sep 2010 15:05:10 GMT</pubDate>
    <dc:creator>Iron_grief</dc:creator>
    <dc:date>2010-09-06T15:05:10Z</dc:date>
    <item>
      <title>Estimated means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69944#M20139</link>
      <description>I am quiet new to SAS and I apologize in advance if it is a silly question. I am trying to obtain estimated proportions for a categorical variable, but it seems that I can only get confidence interval if a specify a grouping variable. Suppose I have catVAR1 whose proportion is 0.20, I want to adjust the proportion for age and gender. I have to put gender into the CLASS statement and in the LSMEANS statement of the GLM procedure, like this:&lt;BR /&gt;
&lt;BR /&gt;
PROC GLM;&lt;BR /&gt;
   CLASS gender;&lt;BR /&gt;
   MODEL catVAR1 = gender age;&lt;BR /&gt;
   LSMEANS gender / CL;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
This way i get the proportions of catVAR1 for males and females. What if I want the overall proportion in the population, only adjusted for age and gender? if I remove gender from the LSMEANS statement, I get the adjusted proportion but not the CI.&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
Iron.</description>
      <pubDate>Sat, 04 Sep 2010 14:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69944#M20139</guid>
      <dc:creator>Iron_grief</dc:creator>
      <dc:date>2010-09-04T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Estimated means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69945#M20140</link>
      <description>You are using the wrong statistical procedure; GLM assumes normal distribution on the residuals.  You need to be using PROC LOGISTIC.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Sun, 05 Sep 2010 17:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69945#M20140</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-09-05T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Estimated means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69946#M20141</link>
      <description>Thanks for your reply, but what about this?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/140-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/140-31.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Example 6 page 5, they use SURVEYREG to obtain adjusted proportion.&lt;BR /&gt;
Also, does the SURVEYLOGISTIC procedure have a ESTIMATE statement?&lt;BR /&gt;
&lt;BR /&gt;
Best regards.

Message was edited by: Iron_grief</description>
      <pubDate>Mon, 06 Sep 2010 15:05:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69946#M20141</guid>
      <dc:creator>Iron_grief</dc:creator>
      <dc:date>2010-09-06T15:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Estimated means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69947#M20142</link>
      <description>I've never used SURVEYREG.  I did look at the example and saw that the sample size was nearly 8000.  When your sample size is that large, the Central Limit Theorem allows you to use a linear regression procedure when a categorical regression procedure might be more appropriate.</description>
      <pubDate>Tue, 07 Sep 2010 14:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Estimated-means/m-p/69947#M20142</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-09-07T14:54:25Z</dc:date>
    </item>
  </channel>
</rss>

