Docsity

computer scinceryryryr, Essays (university) of Computer Vision

Partial preview of the text

Download computer scinceryryryr and more Essays (university) Computer Vision in PDF only on Docsity!

Click to edit Copyright section SECI2143: PROBABILITY & STATISTICAL DATA ANALYSIS

CHAPTER 3

Descriptive Statistics

Measure of Central Tendency

Mean

  • Mean is the sum of the observations divided

by the number of observations.

  • It is the most common measure of central

tendency,

Sample mean: Population mean:

Example

  • Data: 13, 18, 13, 14, 13, 16, 14, 21, 13
  • The mean is 15.

Calculation:

(13 + 18 + 13 + 14 + 13 + 16 + 14 + 21 + 13) ÷ 9 = 15

Mean of Grouped Data

  • The formula for the mean of grouped data, where, f i : frequency in a class or frequency of an observed value. X i : class midpoint or an observed value. n : number of classes or number of observed values.

Example Number of children ( Xi ) 1 2 3 4 5 6 7 Frequency ( fi )

Solution:

Σ f

i

X

i

Find the mean value for the following data:

Example Class interval Midpoint Frequency fiXi 40.5 – 45. 45.5 – 50. 50.5 – 55. 55.5 – 60. 60.5 – 65. (40.5+45.5)÷2= 48 53 58 63 7 10 15 2 6 43x7= 480 795 696 378 Total 50 2650

Median

  • The median is the middle value when the data

are arranged from smallest to largest.

  • To find the median, your numbers have to be

listed in an order, so you may have to rewrite

your list first.

  • For an odd number of observations, the formula

for the place to find the median is

([the number of data points] + 1) ÷ 2

  • For an even number of observations, the median is the mean of the two middle numbers.
  • Example: 2, 3, 3, 5, 6 , 7, 8, 9 (5 + 6) ÷ 2 = 5.5 (median)
  • The median is meaningful for ratio, interval, and ordinal data.
  • The median is not affected by outliers.
  • Example: 3, 4, 6, 4, 7, 3, 6, 5, 1500 3, 3, 4, 4, 5 , 6, 6, 7, 1500
  • Median: 5

Example Class interval Frequency^ Cumulative frequency 40.5 – 45. 45.5 – 50. 50.5 – 55. 55.5 – 60. 60.5 – 65. 7 10 15 2 6 7 17 32 34 40 Total 40 N ÷2 = 40÷2= .: median class = 50.5 - 55. = 51.

Mode

  • The mode is the value that occurs most often.
  • If no number is repeated, then there is no mode for the list.

Example Case study: A marathon race was completed by 5 participants. The time taken by each participant is recorded as follows: 2. 7 hr, 8. 3 hr, 3. 5 hr, 5. 1 hr, 4. 9 hr What is the mode of these times given in hours? Solution: Ordering the data from least to greatest, we get:

  1. 7 , 3. 5 , 4. 9 , 5. 1 , 8. 3 Since each value occurs only once in the data set, there is no mode for this set of data.

Example Case study: In a crash test, 11 cars were tested to determine what impact speed was required to obtain minimal bumper damage. The collected data as shown below: 24, 15, 18, 20, 18, 22, 24, 26, 18, 26, 24 Find the mode of the speeds given in miles per hour. Solution: Ordering the data from least to greatest, we get: 15, 18, 18, 18, 20, 22, 24, 24, 24, 26, 26 Since both 18 and 24 occur three times, the modes are 18 and 24 miles per hour. This data set is bimodal.