Xin Liu Feb 25, 2013. * Compared to Arithmetic mean, or average * The Geometric Mean of 2 numbers is defined as.

Slides:



Advertisements
Similar presentations
DESCRIBING DISTRIBUTION NUMERICALLY
Advertisements

T-5 Mean, Median and Mode. Definitions Mean: the average; add up the numbers in your list and divide by how many numbers you have Median: the middle value.
Tutorial on Tukey Charts Farrokh Alemi, Ph.D. Sunday, 11/25/2007.
Central Tendency Mean – the average value of a data set. Add all the items in a data set then divide by the number of items in the data set.
Numerical Summaries: Measuring Center of the Data Set
Slide 1 © 2002 McGraw-Hill Australia, PPTs t/a Introductory Mathematics & Statistics for Business 4e by John S. Croucher 1 Measures of central tendency.
Arithmetic & Logic Unit Does the calculations Everything else in the computer is there to service this unit Handles integers May handle floating point.
Chapter 6 Math Review 5 th Grade May Mean 1.Set of numbers (a, b, ….., z) 2.Find the sum of all the numbers in the set. a+b+….+z= Total 3. Count.
(a) (b) (c) (d). What is (1,2,3)  (3,4,2)? (a) (1, 2, 3, 4) (b) (1,2)  (3,4) (c) (1,3,4,2) (d) (3,1)  (4,2)
12.2 – Measures of Central Tendency
Selecting the Appropriate Measure of Central Tendency to Describe a Set of Data.
Unit 6: Statistics Ms. Nau- 6 th Grade Math Week 1.
0-12 Mean, Median, Mode, Range and Quartiles Objective: Calculate the measures of central tendency of a set of data.
Mean, Median, Mode Review ENGR 1181 Class 7. Mean.
Tuesday, November 08, 2011 Instructor: Mr. Johnson.
Practice 1 Tao Yuchun Medical Statistics
5 Minute Check Find the mean, median and mode of the data sets. Round to the tenth. Complete in your notebook
5 Minute Check Find the mean, median and mode for each data set. Complete in your notebook , 85, 92, , 71, 73, 64, 67, 71, , 62,
Review Calculate the perimeter.. Review Calculate the perimeter. P = 21(2) + 38(2) P = 118m.
Warm-Up Define mean, median, mode, and range in your own words. Be ready to discuss.
Median Median is the middle number in a data set when the data are arranged in numerical order. If you have an even number of data items, add the two middle.
Geometric Mean and Right Triangles
Xin Liu Jan 30, * By default, input() read a string from keyboard * This can be changed with an indirection operator ‘
Xin Liu Feb 4, * Use midterm questions for previous 231/217 midterms for practices * ams
M M M R.
Mean: The AVERAGE values of a set of numbers. The mean is found by ADDING all of the values, then DIVIDING by the number of values in the set of data.
Comparing mean and median measures of central tendency.
Graphing Rational Functions Objective: To graph rational functions without a calculator.
Math Skills in Science Scientific Inquiry #4. Vocabulary Mean Mean Median Median Mode Mode.
1.8 Absolute Value Equations and Inequalities Warm-up (IN) Learning Objective: to write, solve and graph absolute value in math and in real-life situations.
Mean, Median, Mode, and Range Nate Basalyga. Mean The mean is the average of your group set of numbers When finding the mean, you add up each number in.
The number which appears most often in a set of numbers. Example: in {6, 3, 9, 6, 6, 5, 9, 3} the Mode is 6 (it occurs most often). Mode : The middle number.
February 21,2014. Number Types Integers, Odd and Even Numbers, Prime Numbers, Digits Integers…, -4, -3, -2, -1, 0, 1, 2, 3, 4, … Consecutive Integers:
Central Tendency Mean – the average value of a data set. Add all the items in a data set then divide by the number of items in the data set.
Measures of Central Tendency. The Big Three – Mean, Median & Mode Mean Most common measure Arithmetic average Statistical symbols PopulationSample μ Nn.
Statistics Review  Mode: the number that occurs most frequently in the data set (could have more than 1)  Median : the value when the data set is listed.
Measures of Central Tendency (0-12) Objective: Calculate measures of central tendency, variation, and position of a set of data.
14.0 Math Review 14.1 Using a Calculator Calculator
BUSINESS MATHEMATICS & STATISTICS.
5.6 – Solving Equations with Decimals
Measures of Central Tendency
Measures of Central Tendency
Calculating Median and Quartiles
Statistics in Science.
25 Math Review Part 1 Using a Calculator
Objective: Given a data set, compute measures of center and spread.
HAPPY SEPTEMBER!! September 1, 2015 Have a pencil ready to go
(12) students were asked their SAT Math scores:
9.2 - Measures of Central Tendency
12.2 – Measures of Central Tendency
Mean: average 2. Median: middle number 3. Mode: most often
מדינת ישראל הוועדה לאנרגיה אטומית
Sigma Notation.
Skill: Mean, Median, Range
searching Concept: Linear search Binary search
Calculating the median
Box and Whisker Plots.
DESCRIBING DATA = NUMERICAL MEASURES =.
Intro to Programming & Algorithm Design
Tuesday Maths KS4 Week 15 Key Skill – Averages 2.
Section 13.4 Measures of Central Tendency
Ms. Saint-Paul A.P. Psychology
Median.
First Quartile- Q1 The middle of the lower half of data.
Box and Whisker Plots.
Warm-Up Define mean, median, mode, and range in your own words. Be ready to discuss.
Calculate 81 ÷ 3 = 27 3 x 3 x 3 3 x 3 x 3 x 3 ÷ 3 = This could be written as
2018 Arithmetic.
Answer Key Practice Problems
Tukey Control Chart Farrokh Alemi, Ph.D.
Presentation transcript:

Xin Liu Feb 25, 2013

* Compared to Arithmetic mean, or average * The Geometric Mean of 2 numbers is defined as

* The Geometric Mean of 3 numbers is defined as

* The Geometric Mean of n numbers is defined as

* Download data files from pages.cpsc.uca lgary.ca/~liuxi n * Improvements * Use sentinel * Use list * Check zero input # read data into a list list_data = [] while True: line = input() if line == 'end': # check sentinel break list_data.append(float(line)) # calculate the geometric mean product = 1.0 for i in range(len(list_data)): product = product * list_data[i] if len(list_data) == 0: # check zero input print("Zero input") else: product = product ** (1/len(list_data)) print("The Geometric Mean is: ", product)

* Math concept * The median of a list of n numbers, is the numerical value separating the higher half, from the lower half. * Calculation * Sort the numbers in increasing order * The median is * the number in the middle If n is odd * The mean of the two numbers in the middle * Examples: * The median of [0, 1, 100] is 1 * The median of [0, 1, 2, 100] is (1+2)/2 = 1.5

# read data into a list list_data = [] while True: line = input() if line == 'end': # check sentinel break list_data.append(float(line)) # sort the list list_data.sort() print("the input list after sorting is:"); print(list_data) # calculate the median numData = len(list_data) if numData == 0: # check zero input print("Zero input") elif numData % 2 == 1: # odd median = list_data[numData // 2] print("The median is: ", median) else: # even median = (list_data[numData // 2 - 1] + list_data[numData // 2]) / 2.0 print("The median is: ", median)

* Just released on John’s webpage * Due: 4pm Friday, 1 March 2013