Hi
I am applying a second order moving average process (MA(2)) to uncover the
unobserved returns.

I am trying to estimate the parameters of the model for each hedge fund strategy by maximum likeli-
hood. Then the estimated parameters will be used to desmooth returns.
How do i go about this last part. You help would be greatly appreciated
My codes so far just gives me the moving average factor
proc arima data = sample ;
by mainstrategy;
identify var=returns nlag=6 outcov=acf noprint ;
estimate q=2;
run ;
Is there a problem with using the by statement in arima procedure. Is there another way to achieve the same results without using the by statement.
My orginal data is too huge to upload so here is a sample
Date Return AUM mainstrategy
199512 -0.0055 26.9 Relative value
199601 0.0048 27.1 Relative value
199602 0.0089 30.7 CTA