Relative change and difference
Encyclopedia
The relative difference, percent difference, relative percent difference, or percentage difference between two quantities is the difference between them, expressed as a comparison to the size of one or both of them. Such measures are unitless numbers
Number
A number is a mathematical object used to count and measure. In mathematics, the definition of number has been extended over the years to include such numbers as zero, negative numbers, rational numbers, irrational numbers, and complex numbers....

. Such measures are often used as a quantitative indicators of quality assurance
Quality Assurance
Quality assurance, or QA for short, is the systematic monitoring and evaluation of the various aspects of a project, service or facility to maximize the probability that minimum standards of quality are being attained by the production process...

 and quality control
Quality control
Quality control, or QC for short, is a process by which entities review the quality of all factors involved in production. This approach places an emphasis on three aspects:...

 for repeated measurements where the outcomes are expected to be the same. Similar terms are percentage change and relative change, which are ways to express a change in a variable
Variable
Variable may refer to:* Variable , a logical set of attributes* Variable , a symbol that represents a quantity in an algebraic expression....

 compared to its starting value.

Background

Percent difference is similar to another comparison technique called percent error, which is when one determines an experimental value and is comparing it to the accepted or actual value. Percent difference is different in that neither of the two values are assumed to be incorrect if there is a difference.

Formula

The percent difference of two experimental values, x1 and x2, can be calculated by dividing the absolute difference
Absolute difference
The absolute difference of two real numbers x, 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...

 of the two values by the average value of the same two values as shown in the equation below:
.


Both values (x1 and x2) must contain the same units in order to be compared correctly with one another. And as mentioned before, a zero percent difference is optimum and the higher the percent value, the less precision of the two values.

As the values are the result of an experiment, this formula has the advantage that if one of the values is zero, the result is still valid. The formula for percent error cannot be computed if the theoretical value is zero.

One final note to make is that a lot of confusion lies in mistakenly assuming that percent difference is the same as percent error. The difference is that percent difference is comparing two experimental values, whereas percent error compares one experimental value with the actual/accepted value.

Other approaches

One approach to obtain the relative difference of two numbers is their absolute difference
Absolute difference
The absolute difference of two real numbers x, 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...

 divided
Ratio
In mathematics, a ratio is a relationship between two numbers of the same kind , usually expressed as "a to b" or a:b, sometimes expressed arithmetically as a dimensionless quotient of the two which explicitly indicates how many times the first number contains the second In mathematics, a ratio is...

 by the maximum of the two numbers.


for at least one of the values not equal zero.

It is especially useful when comparing floating point
Floating point
In computing, floating point describes a method of representing real numbers in a way that can support a wide range of values. Numbers are, in general, represented approximately to a fixed number of significant digits and scaled using an exponent. The base for the scaling is normally 2, 10 or 16...

 values in programming language
Programming language
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely....

s for equality with a certain tolerance. Another application is in the computation of approximation error
Approximation error
The approximation error in some data is the discrepancy between an exact value and some approximation to it. An approximation error can occur because#the measurement of the data is not precise due to the instruments...

s when the relative error of a measurement is required.

Another approach to obtain the relative difference of two numbers is their absolute
Absolute value
In mathematics, the absolute value |a| of a real number a is the numerical value of a without regard to its sign. So, for example, the absolute value of 3 is 3, and the absolute value of -3 is also 3...

 difference
Subtraction
In arithmetic, subtraction is one of the four basic binary operations; it is the inverse of addition, meaning that if we start with any number and add any number and then subtract the same number we added, we return to the number we started with...

 divided
Ratio
In mathematics, a ratio is a relationship between two numbers of the same kind , usually expressed as "a to b" or a:b, sometimes expressed arithmetically as a dimensionless quotient of the two which explicitly indicates how many times the first number contains the second In mathematics, a ratio is...

 by a standard value of the two numbers, e.g. their arithmetic mean
Arithmetic mean
In mathematics and statistics, the arithmetic mean, often referred to as simply the mean or average when the context is clear, is a method to derive the central tendency of a sample space...

:


This approach is often used when the two numbers reflect a change in some single underlying entity. Again, the relative difference is a unitless number expressed as a fraction
Fraction
In common usage a fraction is any part of a unit.Fraction may also mean:*Fraction , one of more equal parts of something, eg...

.

A problem with the above approach is that if x and y have the same magnitude but opposite sign, then
which causes division by 0. So it may be better to replace the denominator with the average of the absolute values of x and y:

Percent error

The general standard of calculating the percent error involves using the absolute difference
Absolute difference
The absolute difference of two real numbers x, 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...

 of the experimental (measured) and theoretical (accepted) values. Then take the difference and divide it by the theoretical (accepted) value to get percent error,
.


The terms "Experimental" and "Theoretical" used in the equation above are commonly replaced with other similar terms. Other terms used for "experimental" could be measured or calculated and other terms used for "theoretical" could be actual or accepted. Either way, don't let the varying word choices confuse value assignment in the equation. Experimental value is what someone derived by use of calculation and measurement and would like to test its accuracy with the theoretical value, a value that is accepted by a scientific community or a value that could be seen as a goal for a successful result.

By using absolute functions in the percent error equation, we understand that the solution will always be a positive percent value. However, in the academic arena, it can be beneficial to remove the absolute function so as to provide more information to the result. Therefore, if a experimental value is less than the theoretical value, the percent error will be negative. This negative result lets the author and reader know more information about the experimental result. For example, experimentally calculating the speed of light and coming up with a negative percent error tells us that the experimental value is a velocity that is less than the speed of light. This is a big difference to 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
Theory of relativity
The theory of relativity, or simply relativity, encompasses two theories of Albert Einstein: special relativity and general relativity. However, the word relativity is sometimes used in reference to Galilean invariance....

).

So rewriting the percent error equation by removing the absolute function, we have,


Without the use of the absolute function, it's important to note that the two values in the numerator are not commutative due to the use of subtraction without the absolute function. Therefore, it must remain as shown 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 today is worth $100,000 and the year after its worth goes up to $110,000, the percentage change of its worth can be expressed as


It can then be said that the worth of the house went up by 10%.

More generally, if V1 represents the old value and V2 the new one,


When the variable in question is a percentage itself, it is better to talk about its change by using percentage point
Percentage point
Percentage points are the unit for the arithmetic difference of two percentages.Consider the following hypothetical example: in 1980, 40 percent of the population smoked, and in 1990 only 30 percent smoked...

s, to avoid confusion between relative difference and absolute difference
Absolute difference
The absolute difference of two real numbers x, 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...

.

Note you would need to use an absolute value
Absolute value
In mathematics, the absolute value |a| of a real number a is the numerical value of a without regard to its sign. So, for example, the absolute value of 3 is 3, and the absolute value of -3 is also 3...

 for V1 in the denominator regarding values with V1 being a negative and V2 being positive, as well as V1 being negative, and V2 being greater than V1 but still negative.

Comparing different groups

Let's look at a group of people, some males and some females. Here are the percentages of each subgroup that enjoy watching a particular TV show:

Males 35%
Females 75%

The absolute difference is 40 percentage points (75% − 35%). The relative differences can be stated several ways:

47% = 35%/75%
Males enjoy the TV show 47% less frequently than females.
Or, about half as often as females.

214% = 75%/35%
Females enjoy the TV show 214% more frequently than males.
Or, over twice as often as males.

As ratios:

0.47 = 35/75 Males relative to females.
2.14 = 75/35 Females relative to males.

As percentages:

47% = 35/75 Males relative to females.
214% = 75/35 Females relative to males.

Characterizing change

Now let's look at a group of genderless Martians, before and after watching that TV show. The percentages of the group favorable to Earthling
Earthling
Earthling is a term commonly used in science fiction to identify humans as opposed to extraterrestrials. The literary effect aimed for is a distancing effect, inviting the readers to contemplate their own species as it might be seen from an external point of view...

s are

Before 75%
After 35%

The absolute difference is −0.4 or −40% (35% − 75%), e.g. Martian favorability to Earthlings decreased by 40 percentage points after watching the show. The relative difference (−0.4/0.75) can also be stated as a ratio (−0.53) or as a percentage (−53%), e.g. Martian favorability to Earthlings decreased 53% after watching the show.

See also

  • Approximation error
    Approximation error
    The approximation error in some data is the discrepancy between an exact value and some approximation to it. An approximation error can occur because#the measurement of the data is not precise due to the instruments...

  • Errors and residuals in statistics
    Errors and residuals in statistics
    In statistics and optimization, statistical errors and residuals are two closely related and easily confused measures of the deviation of a sample from its "theoretical value"...


External links

  • http://www.acponline.org/clinical_information/journals_publications/ecp/janfeb00/primer.htm
  • http://books.google.com/books?id=AY7LnYkiLNkC&lpg=PA62&ots=_7s0zd_KtZ&dq=%22relative%20difference%22%20%22absolute%20difference%22&pg=PA61
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK