Ma function

Create a moving average (MA) model