HOME

TheInfoList



OR:

In any
quantitative science The exact sciences, sometimes called the exact mathematical sciences, are those sciences "which admit of absolute precision in their results"; especially the mathematical sciences. Examples of the exact sciences are mathematics, optics, astron ...
, the terms relative change and relative difference are used to compare two
quantities Quantity or amount is a property that can exist as a multitude or magnitude, which illustrate discontinuity and continuity. Quantities can be compared in terms of "more", "less", or "equal", or by assigning a numerical value multiple of a unit ...
while taking into account the "sizes" of the things being compared, i.e. dividing by a ''standard'' or ''reference'' or ''starting'' value. The comparison is expressed as a
ratio In mathematics, a ratio shows how many times one number contains another. For example, if there are eight oranges and six lemons in a bowl of fruit, then the ratio of oranges to lemons is eight to six (that is, 8:6, which is equivalent to the ...
and is a unitless
number A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers c ...
. By multiplying these ratios by 100 they can be expressed as percentages so the terms percentage change, percent(age) difference, or relative percentage difference are also commonly used. The terms "change" and "difference" are used interchangeably. Relative change is often used as a quantitative indicator of quality assurance and quality control for repeated measurements where the outcomes are expected to be the same. A special case of percent change (relative change expressed as a percentage) called ''percent error'' occurs in measuring situations where the reference value is the accepted or actual value (perhaps theoretically determined) and the value being compared to it is experimentally determined (by measurement). The relative change formula is not well-behaved under many conditions and various alternative formulas, called ''indicators of relative difference'', have been proposed in the literature. Several authors have found ''log change'' and log points to be satisfactory indicators, but these have not seen widespread use.


Definition

Given two numerical quantities, ''x'' and ''y'', with ''y'' a ''reference value'' (a theoretical/actual/correct/accepted/optimal/starting, etc. value), their ''actual change'', ''actual difference'', or ''absolute change'' . The term
absolute difference The absolute difference of two real numbers x and y is given by , x-y, , the absolute value of their difference. It describes the distance on the real line between the points corresponding to x and y. It is a special case of the Lp distance for ...
is sometimes also used even though the absolute value is not taken; the sign of Δ typically is uniform, e.g. across an increasing data series. If the relationship of the value with respect to the reference value (that is, larger or smaller) does not matter in a particular application, the absolute value may be used in place of the actual change in the above formula to produce a value for the relative change which is always non-negative. The actual difference is not usually a good way to compare the numbers, because it depends on the unit of measurement. For instance, 1 meter is the same as 100 centimeters, but the absolute difference between 2 m and 1 m is 1 while the absolute difference between 200 cm and 100 cm is 100, giving the impression of a larger difference. We can adjust the comparison to take into account the "size" of the quantities involved, by defining, for positive values of ''x''reference: \text(x, x_\text) = \frac = \frac = \frac. The relative change is independent of the unit of measurement employed; for example, the relative change from 2 meters to 1 meter is -50%, the same as for 200 cm to 100 cm. The relative change is not defined if the reference value (''x''reference) is zero, and gives negative values for positive increases if ''x''reference is negative, hence it is not usually defined for negative reference values either. For example, we might want to calculate the relative change of a thermometer from −10 °C to −6 °C. The above formula gives , indicating a decrease, yet in fact the reading increased. Measures of relative difference are unitless numbers expressed as a fraction. Corresponding values of percent difference would be obtained by multiplying these values by 100 (and appending the % sign to indicate that the value is a percentage).


Domain

The domain restriction of relative change to positive numbers often poses a constraint. To avoid this problem it is common to take the absolute value, so that the relative change formula works correctly for all nonzero values of ''x''reference: \text(x, x_\text) = \frac = \frac = \frac. This still does not solve the issue when the reference is zero. It is common to instead use an indicator of relative difference, and take the absolute values of both x and x_\text. Then the only problematic case is x=x_\text=0, which can usually be addressed by appropriately extending the indicator. For example, for arithmetic mean this formula may be used: d_r=\frac, d_r(0,0)=0


Percent error

The percent error is a special case of the percentage form of relative change calculated from the absolute change between the experimental (measured) and theoretical (accepted) values, and dividing by the theoretical (accepted) value. \%\text = \frac\times 100. The terms "Experimental" and "Theoretical" used in the equation above are commonly replaced with similar terms. Other terms used for ''experimental'' could be "measured," "calculated," or "actual" and another term used for ''theoretical'' could be "accepted." Experimental value is what has been derived by use of calculation and/or measurement and is having its accuracy tested against the theoretical value, a value that is accepted by the scientific community or a value that could be seen as a goal for a successful result. Although it is common practice to use the absolute value version of relative change when discussing percent error, in some situations, it can be beneficial to remove the absolute values to provide more information about the result. Thus, if an experimental value is less than the theoretical value, the percent error will be negative. This negative result provides additional information about the experimental result. For example, experimentally calculating the speed of light and coming up with a negative percent error says that the experimental value is a velocity that is less than the speed of light. This is a big difference from getting a positive percent error, which means the experimental value is a velocity that is greater than the speed of light (violating the
theory of relativity The theory of relativity usually encompasses two interrelated theories by Albert Einstein: special relativity and general relativity, proposed and published in 1905 and 1915, respectively. Special relativity applies to all physical phenomena in ...
) and is a newsworthy result. The percent error equation, when rewritten by removing the absolute values, becomes: \%\text = \frac\times100. It is important to note that the two values in the
numerator A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
do not
commute Commute, commutation or commutative may refer to: * Commuting, the process of travelling between a place of residence and a place of work Mathematics * Commutative property, a property of a mathematical operation whose result is insensitive to th ...
. Therefore, it is vital to preserve the order as above: subtract the theoretical value from the experimental value and not vice versa.


Percentage change

A percentage change is a way to express a change in a variable. It represents the relative change between the old value and the new one. For example, if a house is worth $100,000 today and the year after its value goes up to $110,000, the percentage change of its value can be expressed as \frac = 0.1 = 10\%. It can then be said that the worth of the house went up by 10%. More generally, if ''V''1 represents the old value and ''V''2 the new one, \text = \frac = \frac \times100\% . Some calculators directly support this via a or function. When the variable in question is a percentage itself, it is better to talk about its change by using percentage points, to avoid confusion between
relative difference In any quantitative science, the terms relative change and relative difference are used to compare two quantities while taking into account the "sizes" of the things being compared, i.e. dividing by a ''standard'' or ''reference'' or ''starting'' v ...
and
absolute difference The absolute difference of two real numbers x and y is given by , x-y, , the absolute value of their difference. It describes the distance on the real line between the points corresponding to x and y. It is a special case of the Lp distance for ...
.


Example of percentages of percentages

If a bank were to raise the interest rate on a savings account from 3% to 4%, the statement that "the interest rate was increased by 1%" would be ambiguous. The absolute change in this situation is 1 percentage point (4% − 3%), but the relative change in the interest rate is: \frac = 0.333\ldots = 33\frac\%. In general, the term "percentage point(s)" indicates an absolute change or difference of percentages, while the percent sign or the word "percentage" refers to the relative change or difference.


Examples


Comparisons

Car ''M'' costs $50,000 and car ''L'' costs $40,000. We wish to compare these costs. With respect to car ''L'', the absolute difference is . That is, car ''M'' costs $10,000 more than car ''L''. The relative difference is, \frac = 0.25 = 25\%, and we say that car ''M'' costs 25% ''more than'' car ''L''. It is also common to express the comparison as a ratio, which in this example is, \frac = 1.25 = 125\%, and we say that car ''M'' costs 125% ''of'' the cost of car ''L''. In this example the cost of car ''L'' was considered the reference value, but we could have made the choice the other way and considered the cost of car ''M'' as the reference value. The absolute difference is now since car ''L'' costs $10,000 less than car ''M''. The relative difference, \frac = -0.20 = -20\% is also negative since car ''L'' costs 20% ''less than'' car ''M''. The ratio form of the comparison, \frac = 0.8 = 80\% says that car ''L'' costs 80% ''of'' what car ''M'' costs. It is the use of the words "of" and "less/more than" that distinguish between ratios and relative differences.


Indicators of relative difference

An indicator of relative change C(x_\text,x) is a binary real-valued function defined for the domain of interest which satisfies the following properties: * Appropriate sign: C(x_\text,x)> 0 iff x>x_\text, C(x_\text,x)= 0 iff x=x_\text, C(x_\text,x)< 0 iff x. * C is an increasing function of x when x_\text is fixed. * C is continuous. * Independent of the unit of measurement: for all a>0, C(ax_\text,ax)=C(x_\text,x). Due to the independence condition, every such function C can be written as a single argument function H of the ratio x/x_\text. It is also clear that if H(x/x_\text) satisfies the other conditions then c H(x/x_\text) will as well, for every c>0. We thus further restrict indicators to normalized such that H'(1) = 1. Usually the indicator of relative difference is presented as the actual difference Δ scaled by some function of the values ''x'' and ''y'', say . \text(x, y) = \frac = \frac. As with relative change, the relative difference is undefined if is zero. Various choices for the function have been proposed: # Relative change: f(x,y)=y, H(y/x) = (y/x) - 1 # Reversed relative change: f(x,y)=x, H(y/x) = 1-(x/y) # Arithmetic mean change: f(x,y)=\frac(x + y), H(y/x) = ((y/x) - 1)/\frac(1 + (y/x)) # Geometric mean change: f(x,y)=\sqrt, H(y/x) = ((y/x) - 1)/\sqrt # Harmonic mean change: f(x,y)=2/(1/x+1/y), H(y/x) = ((y/x) - 1)(1+(x/y))/2 # Moment mean change of order k: f(x,y)=(\frac(x^k+y^k))^, H(y/x) = ((y/x) - 1)/ frac(1+(y/x)^k)) # Maximum mean change: f(x,y)=\max(x,y), H(y/x) = ((y/x) - 1)/\max(1,y/x). This approach has been recommended when comparing
floating point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can b ...
values in
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s for
equality Equality may refer to: Society * Political equality, in which all members of a society are of equal standing ** Consociationalism, in which an ethnically, religiously, or linguistically divided state functions by cooperation of each group's elit ...
with a certain tolerance. Another application is in the computation of approximation errors when the relative error of a measurement is required. # Minimum mean change: f(x,y)=\min(x,y), H(y/x) = ((y/x) - 1)/\min(1,y/x). This has been recommended for use in econometrics. # Logarithmic change: f(x,y)=\begin (y-x)/\ln(y/x) & x \neq y \\ x & x = y \end, H(y/x)=\ln(y/x) Tenhunen defines a general relative change function: H(K,L) = \begin \int_1^ t^ dt & \text K>L \\ -\int_^1 t^ dt & \text K which leads to H(K,L) = \begin \frac \cdot ((K/L)^c-1) & c \neq 0 \\ \ln(K/L) & c = 0, K > 0, L > 0 \end In particular for the special cases c=\pm 1, H(K,L) = \begin (K-L)/K & c=-1 \\ (K-L)/L & c=1 \end


Logarithmic change

Of these indicators of relative difference, the most natural is the natural logarithm (ln) of the ratio of the two numbers, called ''log change''. Indeed, when \left , \frac \right , \ll 1, the following approximation holds: \ln\frac = \int_^\frac \approx \int_^\frac = \frac = \text In the same way that relative change is scaled by 100 to get percentages, \ln\frac can be scaled by 100 to get what is commonly called log points. Log points are equivalent to the unit centinepers (cNp) when measured for root-power quantities. This quantity has also been referred to as a log percentage and denoted '' L%''. Since the derivative of the natural log at 1 is 1, log points are approximately equal to percentage difference for small differences – for example an increase of 1% equals an increase of 0.995 cNp, and a 5% increase gives a 4.88 cNp increase. This approximation property does not hold for other choices of logarithm base, which introduce a scaling factor due to the derivative not being 1. Log points can thus be used as a replacement for percentage differences.


Additivity

Using log change has the advantages of additivity compared to relative change. Specifically, when using log change, the total change after a series of changes equals the sum of the changes. With percent, summing the changes is only an approximation, with larger error for larger changes. For example: Note that in the above table, since ''relative change 0'' (respectively ''relative change 1'') has the same numerical value as ''log change 0'' (respectively ''log change 1''), it does not correspond to the same variation. The conversion between relative and log changes may be computed as \text = \ln(1 + \text). By additivity, \ln\frac + \ln\frac = 0, and therefore additivity implies a sort of symmetry property, namely \ln\frac = - \ln\frac and thus the
magnitude Magnitude may refer to: Mathematics *Euclidean vector, a quantity defined by both its magnitude and its direction *Magnitude (mathematics), the relative size of an object *Norm (mathematics), a term for the size or length of a vector *Order of ...
of a change expressed in log change is the same whether ''V''0 or ''V''1 is chosen as the reference. In contrast, for relative change, \frac \neq - \frac, with the difference \frac becoming larger as ''V''1 or ''V''0 approaches 0 while the other remains fixed. For example: Here 0+ means taking the
limit from above In calculus, a one-sided limit refers to either one of the two limits of a function f(x) of a real variable x as x approaches a specified point either from the left or from the right. The limit as x decreases in value approaching a (x approaches ...
towards 0.


Uniqueness and extensions

The log change is the unique two-variable function that is additive, and whose linearization matches relative change. There is a family of additive difference functions F_\lambda(x,y) for any \lambda\in\mathbb, such that absolute change is F_0 and log change is F_1.


See also

* Approximation error *
Errors and residuals in statistics In statistics and optimization, errors and residuals are two closely related and easily confused measures of the deviation of an observed value of an element of a statistical sample from its "true value" (not necessarily observable). The er ...
*
Relative standard deviation In probability theory and statistics, the coefficient of variation (CV), also known as relative standard deviation (RSD), is a standardized measure of dispersion of a probability distribution or frequency distribution. It is often expressed a ...
* Logarithmic scale


Notes


References

* * * * * * {{DEFAULTSORT:Relative Change and Difference Measurement Numerical analysis Statistical ratios Subtraction