<?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: Can Proc Genmod include sampling weights for a complex-sampling design survey? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917981#M45552</link>
    <description>Read the example in the note I referred to more carefully. Notice that it includes an LSMEANS statement and uses (as required by LSMEANS) the PARAM=GLM option in the CLASS statement. You should probably also read the documentation of the NLMeans macro to understand what it requires.</description>
    <pubDate>Mon, 26 Feb 2024 23:52:28 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2024-02-26T23:52:28Z</dc:date>
    <item>
      <title>Can Proc Genmod include sampling weights for a complex-sampling design survey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917843#M45543</link>
      <description>&lt;DIV class=""&gt;&lt;SPAN&gt;I am using national survey data that include survey weights in the dataset. I'd like to use Proc Genmod to estimate the prevalence ratios (not the odds ratios estimated from PROC SURVEYLOGISTIC), but I am not sure if proc genmod can account for the complex sampling design structure.&amp;nbsp; Thank you in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Feb 2024 22:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917843#M45543</guid>
      <dc:creator>hongjie76</dc:creator>
      <dc:date>2024-02-25T22:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can Proc Genmod include sampling weights for a complex-sampling design survey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917847#M45544</link>
      <description>&lt;P&gt;No, GENMOD does not have the variance estimators necessary for proper analysis of survey data. But you don't need GENMOD for this. You can use PROC SURVEYLOGISTIC and then follow by using the NLMeans macro with OPTIONS=RATIO in the same was as shown in &lt;A href="http://support.sas.com/kb/23003" target="_self"&gt;this note&lt;/A&gt; with PROC LOGISTIC.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 23:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917847#M45544</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-02-25T23:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can Proc Genmod include sampling weights for a complex-sampling design survey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917977#M45551</link>
      <description>&lt;P&gt;Thank you for your response. I tried to use this SAS syntax but got a warning message. Could you please check if 'ods output coef=coeffs;' and 'store out=ques;' are correct? Thank you again!&lt;/P&gt;&lt;PRE&gt;proc surveylogistic data=c8_ncsr;&lt;BR /&gt;	strata sestrat;&lt;BR /&gt;	cluster seclustr;&lt;BR /&gt;	weight ncsrwtlg;&lt;BR /&gt;	class ag4cat (ref=first) sex (ref=last) ed4cat (ref=first) mar3cat (ref=first) &lt;BR /&gt;		/ param=ref;&lt;BR /&gt;	model mde (event='Yes')=ag4cat sex ald ed4cat mar3cat;&lt;BR /&gt;	format ag4cat af. sex sf. ed4cat edf. mar3cat mf. mde yn.;&lt;BR /&gt;    ods output coef=coeffs;&lt;BR /&gt;    store out=ques;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;DIV class=""&gt;WARNING: Output 'coef' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify&lt;/DIV&gt;&lt;DIV class=""&gt;that the appropriate procedure options are used to produce the requested output object. For example, verify that the&lt;/DIV&gt;&lt;DIV class=""&gt;NOPRINT option is not used.&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Feb 2024 23:25:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917977#M45551</guid>
      <dc:creator>hongjie76</dc:creator>
      <dc:date>2024-02-26T23:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can Proc Genmod include sampling weights for a complex-sampling design survey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917981#M45552</link>
      <description>Read the example in the note I referred to more carefully. Notice that it includes an LSMEANS statement and uses (as required by LSMEANS) the PARAM=GLM option in the CLASS statement. You should probably also read the documentation of the NLMeans macro to understand what it requires.</description>
      <pubDate>Mon, 26 Feb 2024 23:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917981#M45552</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-02-26T23:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can Proc Genmod include sampling weights for a complex-sampling design survey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917983#M45553</link>
      <description>Thanks. Hongjie</description>
      <pubDate>Tue, 27 Feb 2024 01:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-Proc-Genmod-include-sampling-weights-for-a-complex-sampling/m-p/917983#M45553</guid>
      <dc:creator>hongjie76</dc:creator>
      <dc:date>2024-02-27T01:47:25Z</dc:date>
    </item>
  </channel>
</rss>

