Fama MacBeth (1973) type of analysis
Lecture
R
example