<?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: ARIMAX times series with nonlinear input variable in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ARIMAX-times-series-with-nonlinear-input-variable/m-p/559767#M3550</link>
    <description>&lt;P&gt;You can do this in a few different ways: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; You can create and add the nonlinear effects (x*x, sin(x), etc)&amp;nbsp; in the input data set by using the DATA step and then use them as any other regressors &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;in PROC ARIMA&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; More complex nonlinear effects could also be created by using the BSPLINE function in PROC IML (for an example of how to add BSPLINE basis to a data set see &lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_examples09.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_examples09.htm&amp;amp;locale=en&lt;/A&gt; ) and then these basis columns can be used as usual regressors in PROC ARIMA (you might have to drop one of the columns to avoid multicollinearity since they always add up to 1).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; You can use PROC UCM for your time series analysis and use the SPLINEREG statement to add nonlinear regression effects (see&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_examples06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_examples06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt; ).&amp;nbsp; Note that you can specify ARIMA models with regressors in PROC UCM too (differencing is specified via DEPLAG statement and the stationary ARMA term is specified using the IRREGULAR statement).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope one of these ways works for you.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2019 19:24:27 GMT</pubDate>
    <dc:creator>rselukar</dc:creator>
    <dc:date>2019-05-17T19:24:27Z</dc:date>
    <item>
      <title>ARIMAX times series with nonlinear input variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ARIMAX-times-series-with-nonlinear-input-variable/m-p/559697#M3549</link>
      <description>&lt;DIV class="lia-message-heading lia-component-message-header"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-standard"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-left"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;DIV class="MessageReadByModeratorCell lia-moderation-moderated"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-04 lia-quilt-column-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-options"&gt;&lt;DIV class="lia-menu-navigation-wrapper lia-menu-action message-menu"&gt;&lt;DIV class="lia-menu-navigation"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="lia-message-dates lia-message-post-date lia-component-post-date-last-edited"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm looking for SAS procedures that can help me to fit an ARIMAX model to my data when the exogenous variables(input variables) have a nonlinear relationship with the dependent variable (target time series).&lt;/P&gt;&lt;P&gt;To capture this non linearity I simply enter the interaction of exogenous variable with itself in the model, for example I enter X and X*X in the model.&lt;/P&gt;&lt;P&gt;I know in this way we could not capture all non linearity in ARIMAX models.&lt;/P&gt;&lt;P&gt;please correct me if you have any suggestion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marjan&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 May 2019 15:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ARIMAX-times-series-with-nonlinear-input-variable/m-p/559697#M3549</guid>
      <dc:creator>mmrekabdar</dc:creator>
      <dc:date>2019-05-17T15:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: ARIMAX times series with nonlinear input variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ARIMAX-times-series-with-nonlinear-input-variable/m-p/559767#M3550</link>
      <description>&lt;P&gt;You can do this in a few different ways: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; You can create and add the nonlinear effects (x*x, sin(x), etc)&amp;nbsp; in the input data set by using the DATA step and then use them as any other regressors &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;in PROC ARIMA&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; More complex nonlinear effects could also be created by using the BSPLINE function in PROC IML (for an example of how to add BSPLINE basis to a data set see &lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_examples09.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_examples09.htm&amp;amp;locale=en&lt;/A&gt; ) and then these basis columns can be used as usual regressors in PROC ARIMA (you might have to drop one of the columns to avoid multicollinearity since they always add up to 1).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; You can use PROC UCM for your time series analysis and use the SPLINEREG statement to add nonlinear regression effects (see&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_examples06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_examples06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt; ).&amp;nbsp; Note that you can specify ARIMA models with regressors in PROC UCM too (differencing is specified via DEPLAG statement and the stationary ARMA term is specified using the IRREGULAR statement).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope one of these ways works for you.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 19:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ARIMAX-times-series-with-nonlinear-input-variable/m-p/559767#M3550</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2019-05-17T19:24:27Z</dc:date>
    </item>
  </channel>
</rss>

