<?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: Exact Logistic Regression after Inverse Probability Weighting in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837178#M331015</link>
    <description>&lt;P&gt;If I were to make contingency tables for treatment and each outcome, several cell frequencies and expected cell frequencies would be small (some are less than 1). I would normally use Fisher's exact test, but with non-integer weights from the IPW, that is not an option, hence my pursuit to use exact logistic regression. I know this is possible in StatXact, but I do not have a license for it.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 14:52:50 GMT</pubDate>
    <dc:creator>JonKetchup</dc:creator>
    <dc:date>2022-10-06T14:52:50Z</dc:date>
    <item>
      <title>Exact Logistic Regression after Inverse Probability Weighting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837167#M331011</link>
      <description>&lt;P&gt;I am trying to run several exact logistic regressions after using inverse probability weighting; however, it does not seem like I am able to run an EXACT statement and a WEIGHT statement simultaneously. Is there a work around? I am using exact logistic regression instead of logistic regression due to sample size concerns.&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;PRE&gt;proc psmatch data=DATA region=allobs;
	class TREATMENT VAR1;
	psmodel TREATMENT(Treated='1')= VAR1 VAR2 VAR3 VAR4 VAR5;
	ASSESS LPS VAR=(VAR2 VAR3 VAR4 VAR5)/VARINFO PLOTS=(BOXPLOT BARCHART)
		WEIGHT=ATEWGT;
output out(obs=ALL)=PSDATA lps=Lps5 ATEWGT=ATEWGT5 PS=PS5;
run;

PROC LOGISTIC DATA=PSDATA;
CLASS VAR6 TREATMENT(REF='0');
MODEL VAR6=TREATMENT;
EXACT TREATMENT;
WEIGHT ATEWGT2;
RUN;&lt;/PRE&gt;
&lt;P&gt;The log warning I get is: "WARNING: The EXACT statement is ignored when the WEIGHT statement is specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 12:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837167#M331011</guid>
      <dc:creator>JonKetchup</dc:creator>
      <dc:date>2022-10-06T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Logistic Regression after Inverse Probability Weighting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837175#M331013</link>
      <description>&lt;P&gt;From the documentation for Proc Logistic and the Exact statement:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.logistic.xclexact" class="AAsection"&gt;
&lt;P&gt;Exact analyses are not performed when you specify a WEIGHT statement, a link other than LINK=LOGIT or LINK=GLOGIT, an offset variable, the NOFIT option, or a model selection method. Exact estimation is not available for ordinal response models.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What exactly are your sample size concerns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 14:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837175#M331013</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-06T14:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exact Logistic Regression after Inverse Probability Weighting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837178#M331015</link>
      <description>&lt;P&gt;If I were to make contingency tables for treatment and each outcome, several cell frequencies and expected cell frequencies would be small (some are less than 1). I would normally use Fisher's exact test, but with non-integer weights from the IPW, that is not an option, hence my pursuit to use exact logistic regression. I know this is possible in StatXact, but I do not have a license for it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 14:52:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-Logistic-Regression-after-Inverse-Probability-Weighting/m-p/837178#M331015</guid>
      <dc:creator>JonKetchup</dc:creator>
      <dc:date>2022-10-06T14:52:50Z</dc:date>
    </item>
  </channel>
</rss>

