Combining categorical and numerical data