<?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: difference-in-differences in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573905#M28214</link>
    <description>&lt;P&gt;Go to your favorite search engine and type in&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hessian not positive definite&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 15:49:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-07-16T15:49:02Z</dc:date>
    <item>
      <title>difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573900#M28213</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing difference-in-differences analysis by using Proc Mixed as follow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC MIXED DATA = diff1;&lt;BR /&gt;CLASS POST EXPOSED;&lt;BR /&gt;MODEL VISIT=POST|EXPOSED / SOLUTION ;&lt;BR /&gt;LSMEANS POST|EXPOSED / DIFF;&lt;BR /&gt;ESTIMATE 'D-I-D' EXPOSED*POST 1 -1 -1 1;&lt;BR /&gt;REPEATED /SUBJECT=PKID TYPE=UN ;&lt;BR /&gt;FORMAT EXPOSED STATUS. POST PERIOD.;&lt;BR /&gt;TITLE2 "RANDOM INTERCEPT MODEL FOR PRE/POST GP Visits by EXPOSURE GROUP";&lt;BR /&gt;TITLE3 "UNADJUSTED: INCLUDING LEAST-SQUARES MEANS ESTIMATES";&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am getting the following log;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{334 PROC MIXED DATA = diff1;&lt;BR /&gt;335 CLASS POST EXPOSED;&lt;BR /&gt;336 MODEL VISIT=POST|EXPOSED / SOLUTION;&lt;BR /&gt;337 LSMEANS POST|EXPOSED / DIFF;&lt;BR /&gt;338 ESTIMATE 'D-I-D' EXPOSED*POST 1 -1 -1 1;&lt;BR /&gt;339 RANDOM INT/SUBJECT=PKID TYPE=UN ;&lt;BR /&gt;340 FORMAT EXPOSED STATUS. POST PERIOD.;&lt;BR /&gt;341 TITLE2 "RANDOM INTERCEPT MODEL FOR PRE/POST ADHERENCE by EXPOSURE GROUP";&lt;BR /&gt;342 TITLE3 "UNADJUSTED: INCLUDING LEAST-SQUARES MEANS ESTIMATES";&lt;BR /&gt;343 RUN;&lt;/P&gt;&lt;P&gt;NOTE: Convergence criteria met but final Hessian is not positive definite.&lt;BR /&gt;NOTE: PROCEDURE MIXED used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.06 seconds&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it's not giving any p-values in the output tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone have a look and advise please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:42:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573900#M28213</guid>
      <dc:creator>sks521</dc:creator>
      <dc:date>2019-07-16T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573905#M28214</link>
      <description>&lt;P&gt;Go to your favorite search engine and type in&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hessian not positive definite&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573905#M28214</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-16T15:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573908#M28215</link>
      <description>&lt;P&gt;Actually I did that before posting the query on here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It brings me to this forum where someone has posted a reply saying that either the model doesn't fit or the sample size is too small.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming my sample size is not too small (depending on what 'too small' means).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how to assess model fit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I thought to post it on here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573908#M28215</guid>
      <dc:creator>sks521</dc:creator>
      <dc:date>2019-07-16T15:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573927#M28216</link>
      <description>&lt;P&gt;For an overview of this issue, see&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/04/03/g-matrix-is-not-positive-definite.html" target="_self"&gt;"Convergence in mixed models: When the estimated G matrix is not positive definite"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;which includes tips and links to papers and SAS Notes that you can read for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/difference-in-differences/m-p/573927#M28216</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-07-16T16:30:20Z</dc:date>
    </item>
  </channel>
</rss>

