Skip to content

Commit

Permalink
finance -- fix some numerical noise
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Jul 9, 2008
1 parent 0a788a4 commit e9e1a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/finance/time_series.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@ def autoregressive_fit(acvs):
In fact it is closer than we would get by forecasting using a
linear filter made from all the autocovariances of our sequence:
sage: y2[:-1].autoregressive_forecast(y2[:-1].autoregressive_fit(len(y2)))
6.7701687056683...
6.770168705668...
We record the last 20 forecasts, always using all correct values up to the
one we are forecasting:
Expand Down

0 comments on commit e9e1a37

Please sign in to comment.