Methods of probability theory also apply to description of complex systems given only partial knowledge of their state , as in statistical mechanics . Methods of probability theory also apply to descriptions of complex systems given only partial knowledge of their state , as in statistical mechanics .