Jump to: Page Content, Site Navigation, Site Search,
You are seeing this message because your web browser does not support basic web standards. Find out more about why this message is appearing and what you can do to make your experience on this site better.
a Department of Public Health Sciences, St George's Hospital Medical School, London SW17 0RE, b ICRF Medical Statistics Group, Centre for Statistics in Medicine, Institute of Health Sciences, PO Box 777, Oxford OX3 7LF
Correspondence to: Professor Bland.
Logarithms (or logs for short) are much used in statistics. We often analyse the logs of measurements rather than the measurements themselves, and some widely used methods of analysis, such as logistic and Cox regression, produce coefficients on a logarithmic scale. Here we shall give a brief summary of the properties of logarithms which make them so useful.
We shall start with logarithms to base 10. These are the common logarithms formerly widely used to do calculations for which we now use calculators and computers. The log to base 10 of a number a is b where a=10b. We write b=log
If we multiply two numbers, the log of the product is the sum of their logs: log(ab)=log(a)+log(b). For example, 100x1000=102x103=102+3=105=100000. Or in log terms: log
Most scientific calculators have a LOG key, which will give the logarithm of the number in the display. They usually have a 10x key, too, which gives us the number of which the display is the logarithm. This is called the antilogarithm or antilog and is useful when dealing with the results of calculations on the log scale.
Many statistical computer programs do not use logs to base 10, but logs to the base e, called natural logarithms. Here e=2.7183 . . . is a mathematical constant, in much the same way that (pi)=3.1412.... Mathematicians, and hence statisticians, almost always use logs to the base e because it simplifies many formulae. On a calculator this is usually given by the LN key, and the antilog by the ex key. The numerical relation between logs to base e and base 10 is that log
The base which is used for logarithms is a matter of convenience, depending only on the particular application. The base chosen affects the values of the logs themselves, but nothing else. Provided we use the correct antilog to return to the natural scale, it does not matter what base we use.
What can you learn from this BMJ paper? Read Leanne Tite's Paper+