performing multivariate analysis on a dataset