Skip to content

Commit 54528a8

Browse files
VARMAX parameters had wrong shape
1 parent 824d633 commit 54528a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc_experimental/statespace/models/VARMAX.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ def param_info(self) -> dict[str, dict[str, Any]]:
220220
"constraints": "Positive Semi-definite",
221221
},
222222
"ar_params": {
223-
"shape": (self.k_states, self.p, self.k_states),
223+
"shape": (self.k_endog, self.p, self.k_endog),
224224
"constraints": "None",
225225
},
226226
"ma_params": {
227-
"shape": (self.k_states, self.q, self.k_states),
227+
"shape": (self.k_endog, self.q, self.k_endog),
228228
"constraints": "None",
229229
},
230230
}

0 commit comments

Comments
 (0)