Merging Compustat/CRSP/SDC database. Calculate Earnings-to-price/Book-to-market ratio