calculate market capitalization crsp code example
Example: calculate market capitalization crsp
CRSP['market_cap'] = (CRSP['PRC']/CRSP['CFACPR'])*(CRSP['SHROUT']*CRSP['CFACSHR'])
CRSP['market_cap'] = (CRSP['PRC']/CRSP['CFACPR'])*(CRSP['SHROUT']*CRSP['CFACSHR'])