Download presentation

Presentation is loading. Please wait.

Published byYvonne Whiteaker Modified about 1 year ago

1
Unit 0, Pre-Course Math Review Session 0.2 More About Numbers J. Jackson Barnette, PhD Professor of Biostatistics

2
Unit 0, Session 0.2Copyright 2013, JJBarnette2 Topics for Session Discrete or continuous 2.Scientific notation 3.Rounding rules 4.Operations with negative numbers 5.Operations with zero 6.Order of operations 7.The deviation score 8.The factorial 9.The combination and permutation 10.Logs and anti-logs (inverses)

3
1. Discrete or Continuous We will need to be able to classify the variables we use as being discrete or continuous A discrete variable can only take on whole number values, no fractional values Discrete variables would be variables such as gender, political preference, marital status, disease status, etc. Unit 0, Session 0.2Copyright 2013, JJBarnette3

4
1. Discrete or Continuous Continuous variables can take on values that are fractional or points on a continuum that (theoretically) has no specific stop-end points Our measures are limited by the ability of our measuring instrument to measure to specific levels of precision Unit 0, Session 0.2Copyright 2013, JJBarnette4

5
1. Discrete or Continuous We sometimes have continuous variables that are measured using discrete points such as age to the nearest year, weight to the nearest pound, knowledge measured using number correct on an exam It is important to be able to distinguish between the actual variable and how it is measured relative to discrete/ continuous Unit 0, Session 0.2Copyright 2013, JJBarnette5

6
Unit 0, Session 0.2Copyright 2013, JJBarnette6 2. Scientific Notation Occasionally, we need to express very large or very small numbers in an easier form than the actual number A number such as 23,456,000,000,000 might be better expressed in what is referred to as scientific notation We use a power of ten to express this number in the form of x (the decimal place is moved 13 times to the LEFT)

7
Unit 0, Session 0.2Copyright 2013, JJBarnette7 2. Scientific Notation, Especially 10 -x In statistics, we are more likely to see decimal numbers less than 1 put in this form 0.1 is the same as 1 x is the same as 1.1 x is the same as 3 x – is the same as –1.4 x As the decimal place is moved one place to the RIGHT, the exponent number increases by –1

8
2. Scientific Notation Every time the decimal place moves to the LEFT, the exponent of 10 increases by +1 Every time the decimal place moves to the RIGHT, the exponent of 10 decreases by -1 Unit 0, Session 0.2Copyright 2013, JJBarnette8

9
Unit 0, Session 0.2Copyright 2013, JJBarnette9 2. Scientific Notation Examples Convertto Scientific Notation ?> 15,400,000,000 ?> ?> 10,450,000 ?> ?> 4.5 x x x x x 10 -3

10
Unit 0, Session 0.2Copyright 2013, JJBarnette10 2. Scientific Notation Examples Convertto Decimal Notation 2.45 x ?> 3.33 X10 7 ?> 1.11 x ?> x ?> 3.5 x ?> ,300, ,809,000,000,

11
Unit 0, Session 0.2Copyright 2013, JJBarnette11 2. Scientific Notation, Especially 10 -x Most of the time, we will carry values out to three decimal places However, computer programs will often give us small values in scientific notation form and we will need to interpret them Such as 3.2 x and this would be We often will need to be able to determine if this number is higher or lower than values such as 0.05 or 0.01, <0.05, <0.01

12
2. Scientific Notation, Especially 10 -x Where we are most likely to see the need for doing something related to this situation is when we have what’s called a p-value that a computer might present in this form such as: X which would be We usually only need to know that it is less than a given value (such as 0.05) that does not need this level of precision. So, we might report this as p< Unit 0, Session 0.2Copyright 2013, JJBarnette12

13
3. Rounding Rules In general, most of our computations need to be carried out to two or three decimal places. What we typically do is perform the mathematics using one more decimal place than we really want to report, we find our final answer and the we round it down to one less decimal place Unit 0, Session 0.2Copyright 2013, JJBarnette13

14
Unit 0, Session 0.2Copyright 2013, JJBarnette14 3. Rounding Rules When we have results in decimal form, we will may want to round off values In the course, when we compute values using decimal values, we will usually compute values to four decimal places and then we round off the final result to three decimal places If a value is less than 5, we round down If a value is 5 or greater, we round up

15
Unit 0, Session 0.2Copyright 2013, JJBarnette15 3. Rounding Examples Round the following to the next highest decimal place: ?> ?> ?> – ?> ?> –

16
Unit 0, Session 0.2Copyright 2013, JJBarnette16 4. Operations with Negative Numbers We will often use negative numbers in statistics and there are some rules we use for: 1.Adding with negative numbers 2.Subtracting with negative numbers 3.Multiplying and squaring with negative numbers 4.Dividing with a negative numerator

17
Unit 0, Session 0.2Copyright 2013, JJBarnette17 4. Operations with Negative Numbers Adding a negative and positive number +3 + (–4)= ? Subtract the lower number from the higher number and give the result the sign of the larger number (–) 4 – 3 = –1

18
Unit 0, Session 0.2Copyright 2013, JJBarnette18 4. Operations with Negative Numbers Adding two negative numbers –5 + (–6)= ? Add the two numbers together and give the result a negative sign (–)5 + (–)6= –11

19
Unit 0, Session 0.2Copyright 2013, JJBarnette19 4. Operations with Negative Numbers Subtracting a negative from a positive number +3 – (–4)= ? Change the negative number to a positive number and add the two positive numbers +3 + (+4)= 3 + 4= +7

20
Unit 0, Session 0.2Copyright 2013, JJBarnette20 4. Operations with Negative Numbers Subtracting a negative from a negative number –6 – (–4)= ? Change the subtracted negative number to a positive number, subtract the lower from the higher number, give result the sign of the higher number –6 – (–4)= –6 + (+4) = –2

21
Unit 0, Session 0.2Copyright 2013, JJBarnette21 4. Operations with Negative Numbers Multiplying a positive and negative number 4 x (–6)= ? Multiply the two numbers as positive numbers and give the product a negative sign 4 x (–)6= –24

22
Unit 0, Session 0.2Copyright 2013, JJBarnette22 4. Operations with Negative Numbers Multiplying two negative numbers –4 x (–8)= ? Multiply the two numbers as positive numbers and give the product a positive sign (–)4 x (–)8= +32 This rule also applies to squaring a negative number–4 2 = +16

23
Unit 0, Session 0.2Copyright 2013, JJBarnette23 4. Operations with Negative Numbers Division with a negative number We will not be dividing any number by a negative number so we only need to consider dividing a negative number by a positive number A negative number divided by a positive number results in a negative quotient –5.4 / 9= –0.6

24
Unit 0, Session 0.2Copyright 2013, JJBarnette24 4. Operations with Negative Numbers In the following, find the result: –7 2 = ?> –8 + (–14)=?> –7 – (–7)= ?> 12 – (–12)=?> 8 x (–9)= ?> –77 / 11= ?> –12 x (–10)=?> +49 – –72 –7 120

25
Unit 0, Session 0.2Copyright 2013, JJBarnette25 5. Statistical Operations with Zero A number multiplied by 0 equals 0 9 x 0= 0 A number divided by 0 equals 0 9 / 0= 0 Zero divided by a number equals 0 0 / 5= 0 These are rules statisticians must use for things to work (we don’t mess with “imaginary” numbers)

26
6. Order of Operations There will be many times where we have to decide the order we do various mathematical operations and there are rules for doing this First of all get a single value for anything within parentheses or under a square-root radical Other than parentheses/radicals, The order goes: 1.Square-root and exponents 2.Multiplication and division 3.Addition and subtraction Unit 0, Session 0.2Copyright 2013, JJBarnette26

27
6. Order of Operations Here are a few examples: Unit 0, Session 0.2Copyright 2013, JJBarnette27

28
6. Order of Operations How these are done (order) is very important: Unit 0, Session 0.2Copyright 2013, JJBarnette28

29
6. Order of Operations Unit 0, Session 0.2Copyright 2013, JJBarnette = = = = (-2)+0+1+4= 0

30
Unit 0, Session 0.2Copyright 2013, JJBarnette30 7. The Deviation Score One of the things we do often in statistics is comparing a score or variable value, symbolized as X with a standard such as the mean We will use a term referred to as a deviation score and we will symbolize it as a small case x, It is found as

31
Unit 0, Session 0.2Copyright 2013, JJBarnette31 7. The Deviation Score

32
Unit 0, Session 0.2Copyright 2013, JJBarnette32 7. The Deviation Score If the score is higher than the mean, the deviation score is positive and the square is + If the score is lower than the mean, the deviation score is negative and the square is +

33
Unit 0, Session 0.2Copyright 2013, JJBarnette33 7. The Deviation Score If we add all the deviation scores, we ALWAYS get 0 If we square each deviation score and add these up, we will not get 0 (assuming the scores are not all the same value)

34
Unit 0, Session 0.2Copyright 2013, JJBarnette34 8. The Factorial When we compute probabilities, we occasionally need to find a factorial It is symbolized as X! This represents the number that would result if you continuously multiplied the number (say it is 6) times the sequence of the number –1 down to 1 6!= 6 x 5 x 4 x 3 x 2 x 1= 720 You may have a factorial key stroke on your calculator

35
8. The Factorial What are the following factorials? 3!= ?> 10!= ?> 5!=?> 0!=?> Unit 0, Session 0.2Copyright 2013, JJBarnette35 3x2x1= 6 10x9x8x7x6x5x4x3x2x1= x4x3x2x1= (this goes against basic math theory, but in practice, it has to be 0 for the probabilities to work)

36
8. The Factorial There are two types of counting techniques that use the factorial and are used to determine probabilities of events happening One is the COMBINATION which is the number of different sets of non-ordered r objects that can be taken from a set of n possible objects The other is the PERMUTATION which is the number of sets of ordered r objects that can be taken from a set of n possible objects Unit 0, Session 0.2Copyright 2013, JJBarnette36

37
9. The Combination Unit 0, Session 0.2Copyright 2013, JJBarnette37

38
9. The Combination To me, the easiest way to think about this is in preparing a salad. Let’s say we start with lettuce and then we want to know how many different combinations of 4 additional salad ingredients out of 10 possible ingredients. Unit 0, Session 0.2Copyright 2013, JJBarnette38

39
9. The Combination Unit 0, Session 0.2Copyright 2013, JJBarnette39

40
9. The Permutation Unit 0, Session 0.2Copyright 2013, JJBarnette40

41
9. The Permutation Let’s continue to use the salad example. Let’s say we start with lettuce and then we want to know how many different permutations of 4 additional salad ingredients out of 10 possible ingredients. This could be considered how many ways or orders the ingredients could be entered into the salad bowl. Onion-pepper-radish-tomato would be counted as one and radish-pepper-tomato-onion would be counted as a different permutation because order is different Unit 0, Session 0.2Copyright 2013, JJBarnette41

42
9. The Permutation Unit 0, Session 0.2Copyright 2013, JJBarnette42

43
9. Permutations and Combinations Unit 0, Session 0.2Copyright 2013, JJBarnette

44
10. Logs and Anti-logs We will see the use of logs occasionally in the course The need for this is that sometimes we will have variables that are not normally distributed (a very desirable property), but their logs will be approximately normally distributed Thus, we may convert values to logs, find what we need to find, and then convert the logs back to values on the original variable scale Unit 0, Session 0.2Copyright 2013, JJBarnette44

45
10. Logs and Anti-logs Logs can be found in various forms depending on the base of the logs We will be using what are called “natural” logs Natural logs are on the basis of a constant referred to as “e” e is the basis of the natural logs and is equal to: …… The natural log of a number X is symbolized as ln(X) Unit 0, Session 0.2Copyright 2013, JJBarnette45

46
10. Logs and Anti-logs For example, here are some natural logs (values must be positive numbers, but can be less than 1: ln(20) = ln(0.65) = ln(0.001)= ln(45) = 3.81 In(1)= 0 A number higher than 1 will have a + ln A number less than 1 will have a – ln You can see how to do these with your calculator in Session 0.4 However, we will let the computers find these as we need them Unit 0, Session 0.2Copyright 2013, JJBarnette46

47
10. Logs and Anti-logs Unit 0, Session 0.2Copyright 2013, JJBarnette47

48
10. Logs and Anti-logs Unit 0, Session 0.2Copyright 2013, JJBarnette48

49
Conclusion I hope sessions 0.1 and 0.2 have provided a review of some of the terminology and mathematical methods you will see in this course. You may want to print the handouts that are with these two sessions and refer to them as we use some of these methods in the course Session 0.3 deals with a review of graphing methods used in the course Unit 0, Session 0.2Copyright 2013, JJBarnette49

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google