1. A method for determining a linear relationship in a set of measured data that can be stored electronically, it being possible for the linear relationship to be represented graphically by means of a straight line and the measured data in each case comprising a measured value assigned to a measured variable, the method having the following steps: selecting a set of measured values from the at least two measured variables from the set of measured data that can be stored electronically; assigning a respective measurement uncertainty interval to the selected measured values; forming a set of hypothetical linear relationships by means of the set of selected measured values; determining partial probabilities for the set of hypothetical linear relationships and assigning the partial probabilities determined to the hypothetical linear relationships, a partial probability being determined and assigned for one of the measured values for one of the hypothetical linear relationships if the measurement uncertainty interval of the one of the measured values is intersected by the one of the hypothetical linear relationships; determining a total probability for at least some of the hypothetical linear relationships by the associated partial probabilities for at least some of the hypothetical linear relationships being summed; and determining a rank of the hypothetical linear relationships as a function of the total probabilities determined for at least some of the hypothetical linear relationships.