# Fama Mac-Beth (1973) vs Fixed effect

Currently testing if monthly fund characteristics (size, capital flows, age, risk, persistence,...) explain funds abnormal returns.

My data is set as a panel with 1000 equity mutual funds over the period (2000-2017).

Therefore, I run the following regression

Alpha = intercept + B1(fund size) + B2(capital flows) + ... + u

Most past literature such as Chen et al. (2004) and Carhart (1997) use the Fama MacBeth procedure to test such relationship.

However since my dataset suffers from both time series and cross sectional correlation. I am better off (according to Petersen (2009)) by using a fixed effect regression and cluster residuals by fund and time to adjust standard errors.

Anyway, I run the regression using both models (fixed effect and Fama MacBeth procedure) and I get slightly different results.

I was just wondering what would be better model to tackle such problem.

References: Chen, J., Hong, H., Huang, M. and Kubik, J.D., 2004. Does fund size erode mutual fund performance? The role of liquidity and organization. The American Economic Review, 94(5), pp.1276-1302.

Petersen, M.A., 2009. Estimating standard errors in finance panel data sets: Comparing approaches. The Review of Financial Studies, 22(1), pp.435-480.

• If I understand properly, you have some procedure to develop yearly alpha estimates $\alpha_{it}$ and then you're regressing $\alpha_{it}$ on various fund level covariates? Is that correct? How are the $\alpha_{it}$ calculated? Or is it an $\alpha_i$ (i.e. that doesn't vary over time)? – Matthew Gunn Aug 24 '17 at 16:56
• I calculate alpha following Carhart (1997) where I regress excess returns against the four factors using the past three years and roll the regression forward on a monthly basis. For every month I obtain different estimates (b1, b2, b3, and b4) in which I use to calculate expected returns. Then I calculate monthly alpha as actual returns less expected return. – user28909 Aug 24 '17 at 18:20
• By "slightly different," is the difference substantive? Or not really? – Matthew Gunn Aug 26 '17 at 18:41
• @MatthewGunn Yes, the coefficient of one variable (fund family size) is positive according to the Fama MacBeth. It is, however, negative when I use a fixed effect panel. Both of them are significant at the 1% level. My dataset is unbalanced however due to having funds that incorporated after 2000 and funds that died before 2017. Would having an unbalanced panel be the issue why am getting inconsistent results? Thanks. – user28909 Aug 26 '17 at 20:36
• How do you measure fund family size? eg. Is it in units of billions or do you do something like log size? – Matthew Gunn Aug 26 '17 at 20:39

A more apples to apples comparison would be between (i) Fama-Macbeth procedure and (2) clustering standard-errors by date. Adding fixed-effects is somewhat different.

### Problem: cross-sectional correlation causes naively computed standard errors to be understated

Let $$r_{it}$$ denote the return of firm $$i$$ in month $$t$$. An important statistical issue is that firm returns are cross-sectionall correlated: $$\operatorname{Cov}(r_{it}, r_{jt})$$ is far from zero. This flows through to significant, positive cross-sectional correlation in the error terms for most any regression specification. The end result is that you'll underestimate standard errors (overstate significance) unless you use standard errors that are consistent in the presence of cross-sectional correlation.

### What to do?

Two possible approaches are:

1. The Fama-Macbeth procedure: run a cross-sectional regression each period and take a time-series average of those estimates.
2. Running a single panel regression and clustering standard-errors by date.

Both methods rely on zero correlation between the error terms of non-contemporaneous periods. A difference is weighting. The Fama-Macbeth procedure weights each time period equally. A panel regression will effectively give greater weight to periods with more observations or greater variation in right hand side variables.

If your results are basically the same with either method, that's great. If they differ, you need to be careful about what your precise research question is.

Somewhat related is an old debate in the event study literature as whether to equally weight events or calendar time periods. For example, initial public offerings (IPOs) tend to group together in time. Weighting each IPO equally or forming portfolios and weighting each month equally are quite different. Eg. Fama (1998) advocates for calendar time portfolios of abnormal returns. Critics (eg. Ritter) say this is inefficient.

### Setup

Imagine you have the panel data model:

$$y_{it} = \mathbf{x}_{it} \cdot \mathbf{b} + \epsilon_{it}$$

Let's assume:

1. Error terms are cross-sectionally correlated: $$\operatorname{E}[\epsilon_{it} \epsilon_{jt}] \neq 0$$ for $$i \neq j$$.
2. Error terms are uncorrelated over time: $$\operatorname{E}[\epsilon_{it} \epsilon_{j\tau}] = 0$$ for any $$i$$ and $$j$$ and $$t \neq \tau$$.

## Review of Fama-Macbeth procedure

For each time period $$t$$, run the a cross-sectional regression:

$$y_{it} = \mathbf{x}_{it} \cdot \mathbf{b}_t + \epsilon_{it}$$

From this, you obtain a time-series of estimates $$\hat{\mathbf{b}}_t$$. Under the assumption that error terms are uncorrelated over time, we can then compute the overall estimate and standard-errors using the most basic, Stats 1 method. For any component of the vector $$\mathbf{b}$$ one would compute the estimate and standard-error as:

$$\hat{b} = \frac{1}{T} \sum_t b_t \quad \quad \mathit{SE} = \sqrt{\frac{\frac{1}{T} \sum_t \left( b_t - \hat{b} \right)^2 }{T}}$$

## OLS regression and then clustering standard-errors by time

A more modern approach is to run a standard panel regression and then cluster on the date variable.

An advantage of the general panel setting is that it's reasonably straightforward to apply other kinds of corrections to standard errors if you so desired (eg. Hansen-Hodrick, Newey-West, two-way clustering, etc...)

### An instructive special case

If you have a balanced panel and no-time series variation in your right hand side variables (i.e. $$\mathbf{x}_{it} = \mathbf{x}_i$$ for all $$i$$ and $$t$$), then your estimate of $$\mathbf{b}$$ using a single ordinary least squares reression and using the Fama-Macbeth procedure are EXACTLY the same. The two approaches to estimating standard errors though may be quite different depending on the cross-sectional correlation in the errors.

If there is time-series variation in the right hand side variables, the two estimates will differ. What's happening? Fama-Macbeth equally weights each time period while a single OLS regression will effectively give greater weight to periods where $$\mathbf{x}_{it}$$ have greater variation.

### Simple example showing how Fama-Macbeth procedure differens on weighting:

Imagine we have the data: $$\begin{array}{cccc} y & x & i & t \\ 0 & 0 & 1 & 1 \\ 0 & 1 & 2 & 1 \\ 0 & 0 & 1 & 2 \\ 2 & 2 & 2 & 2 \end{array}$$

Running the Fama-Macbeth procedure we get $$b_1 = 0$$ for time period 1 and $$b_2 = 1$$ hence our estimate of $$b$$ is $$\frac{0 + 1}{2} = .5$$.

A single panel regression would estimate $$b$$ as approximately .9.

### References:

Fama, Eugene F., 1998, "Market Efficiency, Long-Term Returns, and Behavioral Finance"

• In your set up: Error terms are cross-sectionally correlated and Error terms are uncorrelated over time, won't this meaning that Fama Macbeth first cross-sectional OLS is biased? – JOHN Feb 9 '18 at 21:07
• @JOHN Thanks. If there's cross-sectional correlation in error terms, your usual standard errors are going to be inconsistent unless. I may have had a wrong sentence in there, and I've changed it. – Matthew Gunn Feb 9 '18 at 21:24
• I was trying to wrap my head around this. I am reading Petersen 2009, where he states that > for example. Since the Fama-MacBeth procedure is designed to address > a time effect, the Fama-MacBeth standard errors are unbiased but in your example, you uses Fama-MacBeth to solve a issue where Error terms are cross-sectionally correlated and time uncorrelated. So, I got confused. – JOHN Feb 9 '18 at 21:57
• @JOHN You can swap $i$ and $t$ and use Fama-Macbeth when error terms are cross-sectionally independent but correlated over time. You see people doing both. Clustering standard errors is arguably more modern and more general. You still see Fama-Macbeth all over finance though. – Matthew Gunn Oct 4 '18 at 13:44