<?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 Case-Control Analysis with SURVEYLOGISTIC? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981072#M49145</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to conduct a matched case-control analysis of data from the National Health Interview Survey (NHIS). I've previously used PROC SURVEYLOGISTIC for other analyses of NHIS data, controlling for the complex survey design (specifying the STRATA, CLUSTER, and WEIGHT provided with the survey data for each respondent). I'm unclear how (or if) SURVEYLOGISTIC can be used to analyze matched cases and controls; for data not from complex surveys, the STRATA statement in PROC LOGISTIC can be used to identify matched cases and control. Is there a way to use PROC SURVEYLOGISTIC for case-control analyses using complex survey data?&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Dec 2025 03:36:16 GMT</pubDate>
    <dc:creator>MichaelTH</dc:creator>
    <dc:date>2025-12-19T03:36:16Z</dc:date>
    <item>
      <title>Case-Control Analysis with SURVEYLOGISTIC?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981072#M49145</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to conduct a matched case-control analysis of data from the National Health Interview Survey (NHIS). I've previously used PROC SURVEYLOGISTIC for other analyses of NHIS data, controlling for the complex survey design (specifying the STRATA, CLUSTER, and WEIGHT provided with the survey data for each respondent). I'm unclear how (or if) SURVEYLOGISTIC can be used to analyze matched cases and controls; for data not from complex surveys, the STRATA statement in PROC LOGISTIC can be used to identify matched cases and control. Is there a way to use PROC SURVEYLOGISTIC for case-control analyses using complex survey data?&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 03:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981072#M49145</guid>
      <dc:creator>MichaelTH</dc:creator>
      <dc:date>2025-12-19T03:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Case-Control Analysis with SURVEYLOGISTIC?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981076#M49146</link>
      <description>Also could check PROC MIXED or PROC GLIMMIX .</description>
      <pubDate>Fri, 19 Dec 2025 08:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981076#M49146</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-12-19T08:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Case-Control Analysis with SURVEYLOGISTIC?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981267#M49148</link>
      <description>&lt;P&gt;Thank you for the suggestions. From a couple of online SAS notes (&lt;A href="http://www.asasrms.org/Proceedings/y2009/Files/304072.pdf;" target="_blank"&gt;http://www.asasrms.org/Proceedings/y2009/Files/304072.pdf;&lt;/A&gt; &lt;A href="https://www.lexjansen.com/wuss/2010/HOC/2930_2_HOR-Short.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2010/HOC/2930_2_HOR-Short.pdf&lt;/A&gt;), I came up with this PROC GLIMMIX code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc GLIMMIX data=survey_data;&lt;BR /&gt;class PSTRAT PPSU predictor_vars ;&lt;BR /&gt;model outcome=predictor_vars /dist=binary link=logit solution;&lt;BR /&gt;random PPSU(PSTRAT) ;&lt;BR /&gt;random int/subject=study_id;&lt;BR /&gt;weight WTFA_A;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where PSTRAT is the stratum&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPSU is the cluster (PSU)&amp;nbsp;&lt;/P&gt;&lt;P&gt;WTFA_A is the observation-level weight&amp;nbsp;&lt;/P&gt;&lt;P&gt;study_id is the matching variable linking case and control observations&lt;/P&gt;&lt;P&gt;outcome is the binary outcome for the logistic regression analysis&lt;/P&gt;&lt;P&gt;response_vars represents the response variables used in the logistic regression analysis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comments on this?&amp;nbsp; Alternatively, I received a suggestion to use PROC SURVEYLOGISTIC for this analysis, controlling for the complex survey design using the STRATA, CLUSTER, and WEIGHT statements and adjusting for the matched cases and controls using within-set centering. That is, for each matched set of case and control observations, compute the within-set mean for each predictor variable and use the deviation from the set mean as the predictor variables in the logistic regression analyses. So, for each predictor variable pred1 that has a within-set mean of pred1_mean, compute the deviation from the set mean&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;pred1_dev = pred1 - pred1_mean;&lt;/P&gt;&lt;P&gt;and use this in the SURVEYLOGISTIC MODEL statement&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SURVEYLOGISTIC data=survey_data;&lt;BR /&gt;STRATA PSTRAT;&lt;BR /&gt;CLUSTER PPSU;&lt;BR /&gt;WEIGHT WTFA_A;&lt;BR /&gt;model outcome (event='1') = pred1_dev;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a reasonable approach?&amp;nbsp; Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 18:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Case-Control-Analysis-with-SURVEYLOGISTIC/m-p/981267#M49148</guid>
      <dc:creator>MichaelTH</dc:creator>
      <dc:date>2025-12-23T18:39:50Z</dc:date>
    </item>
  </channel>
</rss>

