Probability and thermodynamic space in a statistical model for potentiometry, calorimetry, and thermal analysis