Are the precise equations for how Determination, Critical Hit, and Direct Hit relate to damage output known? I regularly hear folks say which stats each class should prioritize, but rather than memorizing that for each class I'd personally like to have a better understanding of the equations these values are being plugged into; that way I can not only do the thing, but also understand why I'm doing it that way.

For example, I'm looking for something like (these are made up and not real!):
PercentChanceCriticalHit = CriticalHit * (PlayerLevel/EnemyLevel)
PercentChanceDirectHit = DirectHit * (PlayerLevel/EnemyLevel)

NormalHitDamage = AbilityPotency * WeaponDamage * Determination

CriticalHitDamage = NormalHitDamage * (CriticalHit/CriticalConstant)
DirectHitDamage = NormalHitDamage * (DirectHit/DirectConstant)
DirectCriticalHitDamage = NormalHitDamage * (CriticalHit/CriticalConstant) * (DirectHit/DirectConstant)
Thanks in advance for the assistance!