corrected formula for nominal model