Quantitative methods for portfolio analysis