<?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 How to interpret proc autoreg in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-proc-autoreg/m-p/796279#M4339</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a interrupted time series analysis / autogregression and I am not sure about the interpretation of the output.&lt;/P&gt;&lt;P&gt;My dataset / variables looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;period ddd     denominator prop_ddd swissmedic swissmedic_per
1      1125320 1115442     10088.56     0             0
2      1227815 1115442     11007.43     0             0
3      1315611 1115442     11794.53     0             0
4      1287360 1115442     11541.25     0             0
...
60     1243608 1077136     11545.51     1             .
61     1111666 1084254     10252.82     1             1
62      929344 1130519      8220.51     1             2
63     1031575 1130519      9124.79     1             3
...
85     1160896 1241240      9352.71     1             25&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my comand is following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc autoreg data=bpmedi.autoreg_ddd_hct;
model prop_ddd = period swissmedic swissmed_per / method=ml nlag=1 dwprob
covb;
output out=autoreg_out predicted=pred pm=trend lcl=pred_l ucl=pred_u residual=resid
        predictedm=predm lclm=predm_l uclm=predm_u residualm=residm;
run;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And i get the output attached as screenshots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know the trend before the intervention (in period 60), the immediate effect after the invention and the trend after the intervention. My understanding is, that I need the table with "Parameter Estimates", but why is my intercept not the value of the pro_ddd in period 1 (11627 vs 10088.56)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Autoreg1.jpg" style="width: 758px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68479i8247BF252720D036/image-size/large?v=v2&amp;amp;px=999" role="button" title="Autoreg1.jpg" alt="Autoreg1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Autoreg2.jpg" style="width: 775px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68480i6690817B6613B009/image-size/large?v=v2&amp;amp;px=999" role="button" title="Autoreg2.jpg" alt="Autoreg2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 14:32:55 GMT</pubDate>
    <dc:creator>Tamino</dc:creator>
    <dc:date>2022-02-15T14:32:55Z</dc:date>
    <item>
      <title>How to interpret proc autoreg</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-proc-autoreg/m-p/796279#M4339</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a interrupted time series analysis / autogregression and I am not sure about the interpretation of the output.&lt;/P&gt;&lt;P&gt;My dataset / variables looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;period ddd     denominator prop_ddd swissmedic swissmedic_per
1      1125320 1115442     10088.56     0             0
2      1227815 1115442     11007.43     0             0
3      1315611 1115442     11794.53     0             0
4      1287360 1115442     11541.25     0             0
...
60     1243608 1077136     11545.51     1             .
61     1111666 1084254     10252.82     1             1
62      929344 1130519      8220.51     1             2
63     1031575 1130519      9124.79     1             3
...
85     1160896 1241240      9352.71     1             25&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my comand is following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc autoreg data=bpmedi.autoreg_ddd_hct;
model prop_ddd = period swissmedic swissmed_per / method=ml nlag=1 dwprob
covb;
output out=autoreg_out predicted=pred pm=trend lcl=pred_l ucl=pred_u residual=resid
        predictedm=predm lclm=predm_l uclm=predm_u residualm=residm;
run;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And i get the output attached as screenshots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know the trend before the intervention (in period 60), the immediate effect after the invention and the trend after the intervention. My understanding is, that I need the table with "Parameter Estimates", but why is my intercept not the value of the pro_ddd in period 1 (11627 vs 10088.56)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Autoreg1.jpg" style="width: 758px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68479i8247BF252720D036/image-size/large?v=v2&amp;amp;px=999" role="button" title="Autoreg1.jpg" alt="Autoreg1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Autoreg2.jpg" style="width: 775px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68480i6690817B6613B009/image-size/large?v=v2&amp;amp;px=999" role="button" title="Autoreg2.jpg" alt="Autoreg2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-interpret-proc-autoreg/m-p/796279#M4339</guid>
      <dc:creator>Tamino</dc:creator>
      <dc:date>2022-02-15T14:32:55Z</dc:date>
    </item>
  </channel>
</rss>

