Determination of the physical parameters of binary systems: a statistical approach