data handling (discrete and ordinal continuous vars)