# Standard Deviation of Mean Absolute Error

#### excelmac

##### New Member
Hi guys,

As basic as this question is, I'm looking for a way to calculate standard deviation of mean absolute error using pivot table or atleast using excel.

I have fitted and predicted values. I calculated abs(y-yhat). and then when i used pivot tables i used "average" value to be displayed for y-yhat which gives me the mean absolute error value for each category.

Now, I also need the standard deviation for this mean absolute error. The value of "stdev" in pivot tables won't work since the value it will work upon is abs(y-yhat) which isnt a mean.