Docsity

Understanding Logarithms in Biostatistics: Math Function and Statistical Application, Study notes of Mathematical Methods

Toggle sidebar
bg1
1
Applied Biostatistics
Logarithms
Martin Bland
Professor of Health Statistics
University of York
http://www-users.york.ac.uk/~mb55/msc/
Logarithms
Mathematical function widely used in statistics.
10
2
= 10×10 = 100 log
10
(100) = 2
10
3
= 10×10×10 = 1000 log
10
(1000) = 3
10
5
= 10×10×10×10×10 = 100000 log
10
(100000) = 5
10
1
= 10 log
10
(10) = 1
log
10
(1000) + log
10
(100) = 3 + 2 = 5 = log
10
(100000)
1000 × 100 = 100000
Add on the log scale multiply on the natural scale.
log
10
(1000) – log
10
(100) = 3 – 2 = 1 = log
10
(10)
1000 ÷ 100 = 10
Subtract on the log scale divide on the natural scale.
Logarithms
10
0
= 1 log
10
(1) = 0
Why is this?
log
10
(10) – log
10
(10) = 1 – 1 = 0
10 ÷ 10 = 1
Logarithms do not have to be whole numbers.
10
0.5
=10
½
= root 10 = 3.1622777
We know this because 10
½
× 10
½
= 10
½+½
= 10
1
= 10.
½ is the log
10
of the square root of 10.
pf3
pf4

Partial preview of the text

Download Understanding Logarithms in Biostatistics: Math Function and Statistical Application and more Study notes Mathematical Methods in PDF only on Docsity!

Applied Biostatistics

Logarithms

Martin Bland

Professor of Health Statistics University of York http://www-users.york.ac.uk/~mb55/msc/

Logarithms

Mathematical function widely used in statistics. 102 = 10×10 = 100 log 10 (100) = 2 103 = 10×10×10 = 1000 log 10 (1000) = 3 105 = 10×10×10×10×10 = 100000 log 10 (100000) = 5 101 = 10 log 10 (10) = 1 log 10 (1000) + log 10 (100) = 3 + 2 = 5 = log 10 (100000) 1000 × 100 = 100000 Add on the log scale  multiply on the natural scale. log 10 (1000) – log 10 (100) = 3 – 2 = 1 = log 10 (10) 1000 ÷ 100 = 10 Subtract on the log scale  divide on the natural scale.

Logarithms

100 = 1 log 10 (1) = 0 Why is this? log 10 (10) – log 10 (10) = 1 – 1 = 0 10 ÷ 10 = 1 Logarithms do not have to be whole numbers. 10 0.5^ =10½^ = root 10 = 3. We know this because 10½^ × 10½^ = 10½+½^ = 10^1 = 10. ½ is the log 10 of the square root of 10.

What is log 10 (0)? It does not exist. There is no power to which we can raise 10 to give zero. Logarithms of negative numbers do not exist, either. We can only use logarithmic transformations for positive numbers.

Logarithms

If we multiple a logarithm by a number, on the natural scale we raise to the power of that number. For example, 3×log 10 (100) = 3×2 = 6 = log 10 (1000000) and 100^3 = 1000000. If we divide a logarithm by a number, on the natural scale we take that number root. For example, log 10 (1000)/3 = 3/3 = 1 = log 10 (10) and the cube root of 1000 is 10, i.e. 10 ×10 ×10 = 1000.

Logarithms

To convert from logarithms to the natural scale, we antilog. antilog 10 (2) = 10^2 = 100 On a calculator, use the 10x^ key.

Mathematicians find it convenient to use a different base, called ‘e’, to give natural logarithms. ‘e’ is a number which cannot be written down exactly, like . e = 2.... They use this because the slope of the curve y = log 10 ( x ) is log 10 (e)/ x. The slope of the curve y = loge( x ) is 1/ x. Using natural logs avoids awkward constants in formulae. When you see ‘log’ written in statistics, it is the natural log.

Logarithms

To antilog from logs to base e on a calculator, use the key labelled ‘e x ’ or ‘exp( x )’.