Statistical-Thermodynamics Formalism of Self-Similarity