Enter your answers, then click Check for each question. When you are done, download your completion PDF.
mutate()
Use mutate() to add a new variable grp that takes on "winner" or "loser".
You may want to arrange() first. Paste the code you used.
Compute the equal-weight Winner portfolio return and the equal-weight Loser portfolio return. Copy-paste your whole code chunk. Then compute the long-short return.
Compute the 3-month buy-and-hold total return for monthly returns: 0.01, -0.02, 0.03.
Use: (1+r1)(1+r2)(1+r3)-1.
You form a 2-month holding strategy every month: Cohort 1 forms in January (holds Jan and Feb), Cohort 2 forms in February (holds Feb and Mar), Cohort 3 forms in March (holds Mar and Apr). In February, how many cohorts are active at the same time?
True or False: If a strategy uses overlapping holding periods, then the strategy’s monthly returns are more likely to be correlated over time than if it used non-overlapping periods.
This month: long-short return \(r_{LS}=0.015\), risk-free rate \(r_f=0.002\), market return \(r_m=0.010\). Compute (1) excess long-short return \(r_{LS}-r_f\) and (2) market-adjusted long-short return \(r_{LS}-r_m\).
Suppose a strategy has average monthly return \(\bar r = 0.004\) and standard error \(SE(\bar r)=0.0016\). Compute \(t=\bar r/SE(\bar r)\).
If you ignore time-series dependence in an overlapping strategy, your t-stat is most likely to look: