Skip to content

Commit

Permalink
Fixed bug that caused wrong VAR prediction for large numbers of trials
Browse files Browse the repository at this point in the history
  • Loading branch information
mbillingr committed Jan 29, 2016
1 parent 1fb8f96 commit d2a0e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scot/varbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def predict(self, data):
for k in range(1, p + 1):
bp = self.coef[:, (k - 1)::p]
for n in range(p, l):
y[:, :, n] += np.dot(data[:, :, n - k], bp)
y[:, :, n] += np.dot(data[:, :, n - k], bp.T)
else:
for k in range(1, p + 1):
bp = self.coef[:, (k - 1)::p]
Expand Down

0 comments on commit d2a0e92

Please sign in to comment.