Measuring and modeling systematic risk in factor