Simple Moving average model



Dear friends, could anyone help me to performe the following simple problem in matlab?
I want to estimate with maximum likelihood, a simple moving average(MA) model where the MA coefficients are constrained to sum to 1. In particular:

R(t) = a0*MA + a1*MA(t-1) + a2*MA(t-2) + ... + ak*MA(t-k)

1 = a0 + a1 + a2 + ... + ak

Thanks in advance.
.



Relevant Pages

  • Re: Suggestions for parallelizing Fortran code on dual G5?
    ... so we're moving to ... I'd first check why the MATLAB code is slow. ... moving to Fortran won't change much. ... The major players are OpenMP and MPI. ...
    (comp.lang.fortran)
  • Maximum likelihood
    ... I am trying to optimize a maximum likelihood problem. ... problem is relatively easy: I would like matlab to estimate ... fminunc wrp to mu and sigma. ...
    (comp.soft-sys.matlab)
  • Function to simulate the effect of a "moved" image
    ... For an application I'm programming, I need to simulate the effect of ... "moving" an image... ... the other day I found a function in Matlab that ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • 3D Figure: Keep object in same place (or camera pointed in the same direction)
    ... I am working with matlab, and I have a 3D figure that plots a moving ... The Object changes shape, although the position of the point ...
    (comp.soft-sys.matlab)
  • MLE
    ... estimate in MATLAB the parameters of a simple classical linear ... regression model via maximum likelihood estimation. ...
    (comp.soft-sys.matlab)