Skip to content

Commit d97fca2

Browse files
committed
BUG: start params for VMA with trend or exog
1 parent 3d92588 commit d97fca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsmodels/tsa/statespace/varmax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def start_params(self):
392392
ma_params *= 0
393393

394394
# Transform trend / exog params from mean form to intercept form
395-
if self.k_ar > 0 and self.k_trend > 0 or self.mle_regression:
395+
if self.k_ar > 0 and (self.k_trend > 0 or self.mle_regression):
396396
coefficient_matrices = (
397397
ar_params.reshape(
398398
self.k_endog * self.k_ar, self.k_endog

0 commit comments

Comments
 (0)