Comparison of methods concerning the selection of a function describing the thermal decomposition of solids