Skip to main content

Mock Endterm (Finance Track): answers

The questions with the correct answers filled in. A typed number is correct when it lies within 0.005 of the value shown.

Multiple Choice Questions

Question 1

In a balanced panel of 545 men observed from 1980 to 1987, 299 men never change their union status. What does this mean for a fixed-effects estimate of the union wage premium?

  1. The estimate is biased, because it ignores variation between men.
  2. Time-constant characteristics of the men cannot bias the estimate. ✓
  3. It is identified from differences in union membership between men.
  4. Individual effects cannot be estimated unless every man changes status.

Question 2

On the panel of Question 1, four statistical models are used to estimate the union wage premium. They produce the following estimates: between 0.271, pooled OLS 0.180, random effects 0.107 and fixed effects 0.082. What can we say about this ordering?

  1. The estimators use decreasing amounts of the comparison between men. ✓
  2. Random effects is closest to the truth, as it mixes pooled OLS and FE.
  3. Fixed effects is smallest because it uses the fewest observations.
  4. The ordering reflects sampling error in four noisy estimators.

Question 3

On the panel of Question 1, a researcher estimates fixed effects and a Mundlak (correlated random effects) model that adds each man’s average of every time-varying regressor. The union coefficient is 0.0821 in both models. The four averages are jointly significant: \(F = 7.18\) on (4, 544) degrees of freedom, \(p < 0.001\). Which statement is correct?

  1. Equal union coefficients show the individual effect is unrelated to union.
  2. The \(F\)-test shows that the average union effect is significant.
  3. On a balanced panel, Mundlak is the same as ordinary random effects.
  4. The \(F\)-test rejects the restriction imposed by ordinary random effects. ✓

Question 4

On the panel of Question 1, the random-effects model estimates \(\hat\sigma^2_\alpha = 0.105\) for the individual effect and \(\hat\sigma^2_u = 0.123\) for the idiosyncratic error. With \(T = 8\) years, this gives \(\hat\theta = 0.643\). Which statement is correct?

  1. 64% of the variance of the error is due to the individual effect.
  2. With more years per man, \(\hat\theta\) would move towards pooled OLS.
  3. Random effects subtracts 64% of each man’s mean from every variable. ✓
  4. A value of \(\theta = 1\) would make random effects equal to pooled OLS.

Question 5

Comparing clean-energy firms to a general market proxy (e.g. the S&P 500 index) for estimating the impact of an event could be problematic because they are smaller and faster-growing. Which statement about the parallel-trends assumption is correct?

  1. It is hard to justify because of permanent differences in levels.
  2. It holds if both groups’ averages would have changed by the same amount. ✓
  3. It can be verified by checking that trends were parallel before the event.
  4. It requires that clean energy and the market earn the same average return.

Question 6

A researcher studies the abnormal-return reaction of 1,500 firms to a single regulatory announcement. With standard errors clustered by firm, they report a \(t\)-statistic of 9. What can we say about the standard errors without knowing more than this?

  1. They are too small, as the common shock is not averaged away. ✓
  2. Robust (HC1) standard errors are needed instead.
  3. 1,500 firms are too few for clustered standard errors.
  4. The correct level to cluster at would be the industry level.

Question 7

Two cohorts adopt a policy, in period 5 and in period 12, while some units never adopt. The effect grows with the time since adoption. The true average effect is 3.62, static two-way fixed effects gives 0.79 and Sun-Abraham gives 3.53. Why is the two-way fixed-effects estimate so small?

  1. Serial correlation within units biases the coefficient towards zero.
  2. An omitted variable changes over time in the adopting units.
  3. It compares the late cohort with the already-treated early cohort. ✓
  4. The cohorts differ in size, so they receive the wrong weights.

Question 8

In the time-series regression \(R_{it} = \alpha_i + \beta_i F_t + u_{it}\), \(R_{it}\) is the excess return of portfolio \(i\) and \(F_t\) the excess return of a traded factor. What is \(\alpha_i\)?

  1. The total risk of portfolio \(i\) that the factor does not explain.
  2. The risk premium of the factor, estimated from portfolio \(i\).
  3. Unobserved heterogeneity, to be removed with portfolio fixed effects.
  4. The mean excess return not explained by the factor exposure. ✓

Question 9

The momentum factor’s own time-series mean is +69 basis points per month. The Fama-MacBeth two-pass estimates of its premium are \(-201\) without control factors, \(+20\) with the market as control and \(+71\) with the three Fama-French factors. Which statement is correct?

  1. The differences are sampling error and vanish in a longer sample.
  2. Leaving out a priced factor biases the two-pass estimate. ✓
  3. The estimate without controls is unbiased, since it involves no choice.
  4. Fama-MacBeth needs the three Fama-French factors.

Question 10

Out-of-sample \(R^2\) of forecasts of the monthly market excess return, 1946 to 2026:

\(R^2_{oos}\)
Dividend-yield forecast against the historical mean \(-0.45\%\)
Dividend-yield forecast against a forecast of zero \(+1.82\%\)
Historical mean against a forecast of zero \(+2.27\%\)

Which statement is correct?

  1. The negative value means that the dividend yield predicts low returns.
  2. The two dividend-yield rows measure the same forecast accuracy.
  3. The dividend yield beats zero mainly because the historical mean does. ✓
  4. The first row is an error, because an \(R^2_{oos}\) cannot be negative.

Question 11

The stock panel stocks has one row per stock and month: 263,336 rows for 2,222 stocks over the 139 months from January 2015 to July 2026. To build an equal-weighted market factor, a researcher runs the following line. What does ew contain?

ew <- stocks |> mutate(mkt_ew = mean(ret), .by = month)
ew = stocks.assign(mkt_ew=stocks.groupby("month")["ret"].transform("mean"))
  1. 263,336 rows: each stock-month with its month’s average. ✓
  2. 139 rows: one equal-weighted market return per month.
  3. 2,222 rows: one average return per stock over all months.
  4. One row: the average return over all stocks and months.

Question 12

A replication of Gormley and Matsa (2016) estimates the effect of business-combination laws on log cash holdings, with firm, headquarters-state-by-year and industry-by-year fixed effects. Adding log assets, leverage and return on assets as controls lowers the coefficient from 0.108 to 0.080. How should the drop be read?

  1. If the controls are significant, the drop is bias removed, and if they are insignificant, it is part of the effect.
  2. If the controls confound the trends, the drop is part of the effect, and if they respond to the law, it is bias removed.
  3. If the controls raise the \(R^2\), the drop is bias removed, and if they leave it unchanged, it is part of the effect.
  4. If the controls confound the trends, the drop is bias removed, and if they respond to the law, it is part of the effect. ✓

Question 13

Frazzini and Pedersen argue that investors who cannot borrow hold more high-beta assets to reach a higher expected return. Compared with the CAPM, what follows?

  1. High-beta assets become expensive, so high-beta assets earn positive alphas.
  2. Low-beta assets become expensive, so high-beta assets earn positive alphas.
  3. High-beta assets become expensive, so low-beta assets earn positive alphas. ✓
  4. All assets become expensive, so every alpha falls by the same amount.

Question 14

GRS tests of the Fama-French three-factor model on the 25 size/book-to-market portfolios:

Sample \(F\) df \(p\) Mean \(\lvert\hat\alpha\rvert\) (%/month)
July 1963 to December 1991 1.45 (25, 314) 0.080 0.094
July 1963 to December 1993 1.62 (25, 338) 0.033 0.094

At the 5% level, what do the two tests show?

  1. The alphas became economically meaningful only after 1991.
  2. More months estimate alphas of the same size more precisely. ✓
  3. Every one of the 25 alphas differs from zero by 1993.
  4. One of the two tests must be computed incorrectly.

Question 15

In pass 2 of the three-pass estimator of Giglio and Xiu (2021), the average monthly excess returns of 45 portfolios (in percent) are regressed on their loadings on the first three principal components, with the intercept restricted to zero. The coefficient on the first component is 4.56. How is 4.56 interpreted?

  1. The average portfolio has a loading of 4.56 on the first component.
  2. A portfolio’s return rises by 4.56 points in a month the component rises by one.
  3. The first component explains 4.56 percent of the variance of returns.
  4. A portfolio with a loading one unit higher earns 4.56 points more per month. ✓

Data Questions

Each block describes one dataset and the code that was run on it. All code is shown in R and in Python; the two versions do the same thing, and either can be used to answer.

Block A: business-combination laws and cash holdings

Between 1985 and 1997, 33 US states adopted business-combination (BC) laws, which make hostile takeovers harder for firms incorporated in the adopting state (Gormley and Matsa, 2016). The panel d_cash has one row per firm and fiscal year: Compustat firms, 1976 to 2006, 174,627 firm-years.

Variable Meaning
gvkey Firm identifier
fyear Fiscal year
inc_state State in which the firm is incorporated
hq_state State in which the firm has its headquarters
sic4 Four-digit industry code
ln_cash Log of cash holdings
bc 1 from the fiscal year in which the firm’s state of incorporation adopts a BC law, 0 otherwise

The table laws has one row per adopting state, with the columns state and bc_year (the year of adoption). Its contents, by year of adoption:

Year States
1985 New York
1986 Indiana, Missouri, New Jersey
1987 Arizona, Kentucky, Minnesota, Washington, Wisconsin
1988 Delaware, Georgia, Idaho, Maine, Nebraska, South Carolina, Tennessee, Virginia
1989 Connecticut, Illinois, Kansas, Maryland, Massachusetts, Michigan, Pennsylvania, Wyoming
1990 Ohio, Rhode Island, South Dakota
1991 Nevada, Oklahoma, Oregon
1997 Iowa, Texas

States that are not in the table never adopted a BC law.

Question 16 (3 points)

The table reports means of ln_cash for three groups of firms, by state of incorporation, with the same firms in every year from 1995 to 1998. The last row is the mean over 1997 and 1998.

Texas, Iowa Delaware California
Firms 165 3,455 220
1995 0.869 1.467 0.841
1996 1.192 1.818 1.239
1997-1998 (mean) 1.350 1.980 1.238

The difference-in-differences estimate of the effect of the 1997 laws in Texas and Iowa compares 1995-1996 with 1997-1998 and does not use a forbidden comparison. Report each answer rounded to two decimals.

  1. The change in the mean of ln_cash for the firms in Texas and Iowa.

  2. The change in the mean of ln_cash for the comparison group.

  3. New York adopted its law in 1985. For the same firms in every year from 1983 to 1986, the change in the mean of ln_cash from 1983-1984 to 1985-1986 is:

    Change Firms
    New York 0.052 205
    Never-adopting states -0.079 320

    The difference-in-differences estimate of the effect of the New York law on ln_cash.

Question 17 (2 points)

Gormley and Matsa’s specification includes firm fixed effects, fixed effects for every combination of four-digit industry and year, and fixed effects that absorb shocks hitting all firms headquartered in the same state in the same year. The standard errors are clustered at the level at which the treatment is assigned. Complete the code. Each blank is a dropdown list.

feols(ln_cash ~ bc | A + B^fyear + C^fyear,
      data = d_cash, cluster = ~D)
pf.feols("ln_cash ~ bc | A + B^fyear + C^fyear",
         data=d_cash, vcov={"CRV1": "D"})
A B C D

Question 18 (1 point)

The code below builds bc from a firm-year table firms and the table laws. It runs without an error, but bc is wrong for many firms. Which statement identifies the error?

d_cash <- firms |>
  left_join(laws, by = c("hq_state" = "state")) |>              # (1)
  mutate(bc = as.integer(!is.na(bc_year) & fyear >= bc_year))    # (2)
d_cash = firms.merge(laws, left_on="hq_state", right_on="state",
                     how="left")                                         # (1)
d_cash["bc"] = (d_cash["bc_year"].notna()
                & (d_cash["fyear"] >= d_cash["bc_year"])).astype(int)    # (2)
  1. Line (1) matches each firm to the law of its headquarters state. The laws apply by state of incorporation, so the join must use inc_state. ✓
  2. Line (1) must be an inner join. The left join keeps the firms from states that never adopted a law, and they contaminate the comparison group.
  3. Line (2) must use > instead of >=, because a law adopted during year \(t\) cannot yet affect the cash holdings of that same year.
  4. Line (2) sets bc to 0 for firms whose state never adopted a law. These firms have no treatment date and must be dropped before estimation.

Question 19 (1 point)

Gormley and Matsa also estimate the effect of BC laws on risk. stockvol is a firm’s annualised stock volatility in a fiscal year, in percent. The output below is from the specification of Question 17 with stockvol in place of ln_cash, printed by R and by Python.

> coeftable(fit)["bc", ]
   Estimate  Std. Error     t value    Pr(>|t|) 
-2.32238646  0.79739111 -2.91248098  0.00534653 
>>> fit.tidy().loc[["bc"]]
             Estimate  Std. Error   t value  Pr(>|t|)      2.5%     97.5%
Coefficient                                                              
bc          -2.322386    0.797371 -2.912556  0.005345 -3.923952 -0.720821

Complete the interpretation, with the number rounded to two decimals.

The adoption of a BC law is associated with a percentage point change in stockvol. The estimate is .

Block B: the cross-section of returns

Stocks. The panel stocks holds monthly returns of 2,222 US stocks from Yahoo Finance, January 2015 to July 2026: ticker, month (the first day of the month), ret (the return in month \(t\), in %) and mktcap (market capitalisation at the end of month \(t-1\)). Two characteristics are known at the end of month \(t-1\): reversal, rev, the return of month \(t-1\), and momentum, mom, the return from month \(t-12\) to month \(t-2\). Each characteristic is standardised across stocks every month (rev_z, mom_z). A Fama-MacBeth regression runs one cross-sectional regression of ret on the characteristics per month and averages the monthly slopes.

Test assets. For the three-pass estimator of Giglio and Xiu (2021), the matrix R holds the monthly excess returns of the test assets, one row per month and one column per asset, and g is the monthly series of a non-traded factor.

Question 20 (2 points)

Over the 59 months from February 2016 to December 2020, the monthly slopes of ret on rev_z alone have a mean of -0.4081 and a standard deviation of 1.6399.

  1. The Fama-MacBeth standard error of the reversal slope over these months, rounded to two decimals.
  2. Over the 67 months from January 2021 to July 2026, the mean of the monthly slopes is 0.0515 and its Fama-MacBeth standard error is 0.1384. The Fama-MacBeth \(t\)-statistic of the reversal slope over these months, rounded to two decimals.

Question 21 (3 points)

The code below estimates the premium of g with the three-pass estimator of Giglio and Xiu (2021), using three components and imposing \(\mu_0 = 0\) in pass 2. Complete the code. Each blank is a dropdown list.

pc  <- prcomp(R)                                      # pass 1
pcs <- c("PC1", "PC2", "PC3")
cs  <- data.frame(rbar = colMeans(R), A[, pcs])     # one row per asset
ts  <- data.frame(g = g, B[, pcs])                  # one row per month
mu  <- coef(feols(rbar ~ 0 + PC1 + PC2 + PC3, cs))    # pass 2
eta <- coef(feols(g ~ PC1 + PC2 + PC3, ts))[pcs]      # pass 3
premium <- C
U, s, Vt = np.linalg.svd(R - R.mean(axis=0), full_matrices=False)  # pass 1
pcs = ["PC1", "PC2", "PC3"]
cs  = pd.DataFrame(A, columns=pcs).assign(rbar=R.mean(axis=0))   # one row per asset
ts  = pd.DataFrame(B, columns=pcs).assign(g=g)                    # one row per month
mu  = pf.feols("rbar ~ 0 + PC1 + PC2 + PC3", data=cs).coef()[pcs]   # pass 2
eta = pf.feols("g ~ PC1 + PC2 + PC3", data=ts).coef()[pcs]          # pass 3
premium = C
A B C

Question 22 (2 points)

The code below standardises the two characteristics before the Fama-MacBeth regressions. Complete the text. Each blank is a dropdown list.

x <- stocks |>
  filter(!is.na(mom)) |>
  mutate(across(c(rev, mom), ~ (.x - mean(.x)) / sd(.x), .names = "{.col}_z"),
         .by = ticker)
x = stocks.dropna(subset=["mom"]).copy()
for c in ["rev", "mom"]:
    x[c + "_z"] = x.groupby("ticker")[c].transform(lambda v: (v - v.mean()) / v.std())

rev_z compares a stock’s reversal with . The cross-sectional regressions compare , so the grouping variable must be . As written, rev_z uses .

Block C: the betting-against-beta factor and funding conditions

Data. The data frame d has one row per month, with date the first day of the month. bab is the return of AQR’s betting-against-beta (BAB) factor, in %: long low-beta stocks and short high-beta stocks, each leg rescaled to a beta of one. mkt_rf, SMB and HML are French’s factors, in %. d_ted is the change in the TED spread over the month and ted_lag its level at the end of the previous month, both in percentage points. ted_g is the standardised innovation of the TED spread, the part of its change that its own past does not predict: a positive value means that funding conditions tighten.

Question 23 (2 points)

The code below estimates BAB’s premium and its alphas against the CAPM and the three Fama-French factors (December 1930 to May 2026, 1,146 months). The standard errors are robust to heteroskedasticity and to autocorrelation up to one year. Complete the code. Each blank is a dropdown list.

vc <- D(12) ~ date                          # used in all three regressions
f_mean <- feols(bab ~ A, d, vcov = vc)      # premium
f_capm <- feols(bab ~ B, d, vcov = vc)      # CAPM alpha
f_ff3  <- feols(bab ~ C, d, vcov = vc)      # FF3 alpha
vc = {"vcov": "D", "vcov_kwargs": {"lag": 12, "time_id": "date"}}   # used in all three regressions
f_mean = pf.feols("bab ~ A", data=d, **vc)                           # premium
f_capm = pf.feols("bab ~ B", data=d, **vc)                           # CAPM alpha
f_ff3  = pf.feols("bab ~ C", data=d, **vc)                           # FF3 alpha
A B C D

Question 24 (1 point)

Frazzini and Pedersen regress BAB’s return on the change in the TED spread, d_ted, and its lagged level, ted_lag. The output below is from February 1986 to January 2022 (432 months), printed by R and by Python.

> coeftable(fit)[, 1:4]
             Estimate Std. Error   t value     Pr(>|t|)
(Intercept)  1.913545  0.2966009  6.451583 2.979392e-10
d_ted       -5.167174  1.0643929 -4.854574 1.690040e-06
ted_lag     -2.157665  0.4893119 -4.409591 1.309470e-05
>>> fit.tidy()
             Estimate  Std. Error   t value      Pr(>|t|)      2.5%     97.5%
Coefficient                                                                  
Intercept    1.913545    0.298496  6.410625  3.809859e-10  1.326857  2.500234
d_ted       -5.167174    1.054584 -4.899727  1.360601e-06 -7.239941 -3.094406
ted_lag     -2.157665    0.490628 -4.397765  1.379615e-05 -3.121986 -1.193345

Complete the interpretation, with the number rounded to two decimals.

Holding the lagged level of the TED spread fixed, a one percentage point increase in the TED spread over a month is associated with a percentage point change in BAB’s return in that month. The estimate is .

Question 25 (3 points)

Over the 274 months from March 1991 to December 2013, BAB’s mean return is 0.930 %/month. In a regression of bab on ted_g and mkt_rf, the coefficient on ted_g is -0.778. The three-pass estimate (Giglio and Xiu, 2021) of the premium of ted_g, with \(\mu_0 = 0\) imposed, is -0.083 %/month per unit of ted_g.

  1. The part of BAB’s mean return that its exposure to ted_g explains, in %/month, rounded to two decimals.
  2. With a free intercept \(\mu_0\) in pass 2, the part of BAB’s mean return that its exposure to ted_g explains is 0.0569 %/month. The percentage of BAB’s mean return that this part explains, rounded to two decimals.
  3. Complete the sentence: BAB its expected return.