Statistical calculation of alignment in liquids