<?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: Interrupted time series using proc mised in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908743#M45106</link>
    <description>I found my error "subject = class" should have been "subject = group". &lt;BR /&gt;&lt;BR /&gt;Unfortunately I receive the warning: unable to make Hessian positive definite.  That seems to be a separate problem&lt;BR /&gt;&lt;BR /&gt;Apologies that I can't figure out how to delete the original post.</description>
    <pubDate>Tue, 19 Dec 2023 00:40:38 GMT</pubDate>
    <dc:creator>sophiec</dc:creator>
    <dc:date>2023-12-19T00:40:38Z</dc:date>
    <item>
      <title>Interrupted time series using proc mised</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908741#M45105</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to run an interrupted time series analysis with a control group and stratified by race/ethnicity. The intervention (a health policy change) occurred at the state level, so I have 2 states (one that did the intervention and a control state). The outcome is mortality, which was derived from CDC data. I created four separate groups (based on race/ethnicity and state) and have repeated measures over a 10 year period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used code from the 2020 SAS Global Forum&amp;nbsp;Paper 4674-2020&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=work.state method=ml 
	plots(maxpoints=60000)=(residualpanel(unpack) vcirypanel(unpack)); 
	class group exposed intervention; 
	model mortality= year intervention intervention*year exposed exposed*year exposed*intervention exposed*intervention*year/s;
	repeated / subject = class type=un R;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to run the code, I get this error message. Any suggestions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;NOTE: PROCEDURE MIXED used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;ERROR: Variable class not found.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 19 Dec 2023 00:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908741#M45105</guid>
      <dc:creator>sophiec</dc:creator>
      <dc:date>2023-12-19T00:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted time series using proc mised</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908743#M45106</link>
      <description>I found my error "subject = class" should have been "subject = group". &lt;BR /&gt;&lt;BR /&gt;Unfortunately I receive the warning: unable to make Hessian positive definite.  That seems to be a separate problem&lt;BR /&gt;&lt;BR /&gt;Apologies that I can't figure out how to delete the original post.</description>
      <pubDate>Tue, 19 Dec 2023 00:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908743#M45106</guid>
      <dc:creator>sophiec</dc:creator>
      <dc:date>2023-12-19T00:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted time series using proc mised</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908784#M45109</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441111"&gt;@sophiec&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Unfortunately I receive the warning: unable to make Hessian positive definite. That seems to be a separate problem.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a separate problem indeed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Home &amp;gt; Analytics &amp;gt; Statistical Procedures &amp;gt; &lt;BR /&gt;Proc Mixed with warning "unable to make hessian positive definite"&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-warning-quot-unable-to-make-hessian-positive/m-p/448519" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-warning-quot-unable-to-make-hessian-positive/m-p/448519&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In that post &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;refers to &lt;BR /&gt;&lt;A href="https://www.theanalysisfactor.com/wacky-hessian-matrix/" target="_blank"&gt;https://www.theanalysisfactor.com/wacky-hessian-matrix/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 11:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908784#M45109</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-12-19T11:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted time series using proc mised</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908836#M45115</link>
      <description>&lt;P&gt;what happens if you change type=un to type=cs?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 15:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interrupted-time-series-using-proc-mised/m-p/908836#M45115</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-12-19T15:34:06Z</dc:date>
    </item>
  </channel>
</rss>

