Function to sequentially update the forgetting factor variance
update_var(ffvar, ffmean_old, lambda, v_old, v_new, w_new, x_new)
The new (current) value of the forgetting factor variance.
The old (previous) value of the forgetting factor mean. In fact, the formula requires this value, rather than the current value of the FF mean.
The value of the forgetting factor.
The old (previous) value of v
.
The new (current) value of v
.
The new (current) value of w
.
The new (current) observation.