maxed out loyalty gives 50% chance for a freed slave to stay. maxed submission gives the other 50%. anything in between is linear.
You forgot personality multiplier.