<?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: PROC VARMAX: ML estimation, exact log likelihood, and State Space representation for VAR(4) in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-VARMAX-ML-estimation-exact-log-likelihood-and-State-Space/m-p/989257#M5082</link>
    <description>&lt;P&gt;Yes, for VAR(p) models, in fact for all VAR, VARX, VARMA, VARMAX models, when method = ML is used, the model is transformed into the state space form and Kalman filtering method is applied.&lt;/P&gt;
&lt;P&gt;Yes, for VAR(p) model, the state vector z_t includes only {y_t, y_t-1,.., y_t-(v-1)}, there are no&amp;nbsp;&lt;SPAN&gt;ε_t, ε_t-1, ..., ε_t-(q-1) terms in the state vector.&amp;nbsp; In the state space form discussed in the documentation in the VARMA and VARMAX modeling framework:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_075/etsug/etsug_varmax_details33.htm" target="_blank"&gt;SAS Help Center: VARMA and VARMAX Modeling&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;when there are no moving average terms, e.g., VAR(p) model, its state space form is a special case of the state space form presented in the VARMA case in the documentation, there are no columns involving moving average parameters in the transition matrix F, and no&amp;nbsp;ε_t, ε_t-1, ..., ε_t-(q-1) terms in the state vector.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2026 13:32:20 GMT</pubDate>
    <dc:creator>SASCom1</dc:creator>
    <dc:date>2026-06-04T13:32:20Z</dc:date>
    <item>
      <title>PROC VARMAX: ML estimation, exact log likelihood, and State Space representation for VAR(4)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-VARMAX-ML-estimation-exact-log-likelihood-and-State-Space/m-p/988626#M5076</link>
      <description>I am estimating a VAR(4) model. Initially, I used the CML method, but currently, I am trying to learn and explore another estimation method, which is the ML method. This led me to a few questions that I hope someone here can help clarify:&lt;BR /&gt;&lt;BR /&gt;1. Even though I am estimating a pure VAR(4) model (with no MA terms), does PROC VARMAX still compute the exact log likelihood by casting the model into a State Space representation and utilizing the Kalman Filter under the hood when method=ml is specified?&lt;BR /&gt;2. If computing the exact log likelihood indeed utilizes a state space formulation, how exactly is the state vector (z_t) constructed for a pure VAR(4) in SAS? I saw in a reference that z_t is defined as z_t = (y't, y'{t-1}, ..., y'{t-(v-1)}, ε't, ε{t-1}, ..., ε'{t-(q-1)})'. Because of this, I am wondering: does the state vector only contain the variables and their lags (y_t, y_t-1, y_t-2, y_t-3), or does it also explicitly incorporate the error/innovation components (e_t) despite the absence of any Moving Average (MA) terms?&lt;BR /&gt;&lt;BR /&gt;Any theoretical insights or references to the SAS documentation would be greatly appreciated</description>
      <pubDate>Sat, 23 May 2026 06:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-VARMAX-ML-estimation-exact-log-likelihood-and-State-Space/m-p/988626#M5076</guid>
      <dc:creator>tugasakhir</dc:creator>
      <dc:date>2026-05-23T06:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC VARMAX: ML estimation, exact log likelihood, and State Space representation for VAR(4)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-VARMAX-ML-estimation-exact-log-likelihood-and-State-Space/m-p/989257#M5082</link>
      <description>&lt;P&gt;Yes, for VAR(p) models, in fact for all VAR, VARX, VARMA, VARMAX models, when method = ML is used, the model is transformed into the state space form and Kalman filtering method is applied.&lt;/P&gt;
&lt;P&gt;Yes, for VAR(p) model, the state vector z_t includes only {y_t, y_t-1,.., y_t-(v-1)}, there are no&amp;nbsp;&lt;SPAN&gt;ε_t, ε_t-1, ..., ε_t-(q-1) terms in the state vector.&amp;nbsp; In the state space form discussed in the documentation in the VARMA and VARMAX modeling framework:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_075/etsug/etsug_varmax_details33.htm" target="_blank"&gt;SAS Help Center: VARMA and VARMAX Modeling&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;when there are no moving average terms, e.g., VAR(p) model, its state space form is a special case of the state space form presented in the VARMA case in the documentation, there are no columns involving moving average parameters in the transition matrix F, and no&amp;nbsp;ε_t, ε_t-1, ..., ε_t-(q-1) terms in the state vector.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 13:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-VARMAX-ML-estimation-exact-log-likelihood-and-State-Space/m-p/989257#M5082</guid>
      <dc:creator>SASCom1</dc:creator>
      <dc:date>2026-06-04T13:32:20Z</dc:date>
    </item>
  </channel>
</rss>

