Docsity

Probability Mathematics, Slides of Discrete Mathematics

Partial preview of the text

Download Probability Mathematics and more Slides Discrete Mathematics in PDF only on Docsity!

Introduction to Statistics

Dr. Ulviya Abdulkarimova

French-AZerbaijani University (UFAZ)

Statistics

Definition Statistics is the area of science that deals with collection, organization, analysis, and interpretation of data. It also deals with methods and techniques that can be used to draw conclusions about the characteristics of a large number of data points– commonly called a population– by using a smaller subset of the entire data ; called a Sample.

Statistics : Key terms

Simple Random Sample. This is a sample collected in such a way that every element in the population has an equal chance of being selected. Statistical Inference. The process of using sample statistics to draw conclusions about population parameters is known as statistical inference. For instance, using X (based on a sample of, say, n = 1000) to draw conclusions about μ (population of, say, 300 million). This is a measure of performance in which the sample measurement is used to estimate the population parameter.

Types of variables

There are two types of variables : qualitative and quantitative. Quantitative itself has two types : discrete and continuous. Qualitative data result in categorical responses. Also called Nominal, or categorical data. Examples : gender, occupation, ethnicity, marital status, etc. Quantitative data result in numerical responses, and may be discrete or continuous. Discrete data arise from a counting process. The variable number of children is discrete. It takes on integer values... there cannot be 2.5 kids in a family. Continuous data arise from a measuring process. Variables such as weight, time, and distance are continuous.

Descriptive statistics

Here we are interested only in summarizing the data in front of us, without assuming that it represents anything more. The term “descriptive statistics” refers to the analysis, summary, and presentation of data from a sample or population. Descriptive statistics has three main categories – Frequency Distribution, Measures of Central Tendency, and Measures of Variability. Descriptive statistics allows for data to be presented in a meaningful and understandable way, which, in turn, allows simpler interpretation of the data. The basic overall idea is to turn data into information.

Measures of central tendency

Measures of central tendency (i.e., central location) help find the approximate center of the dataset. These include the mean, the median, and the mode.

Measures of central tendency : MEDIAN

The median is the middle value of the ordered data To get the median, we must first rearrange the data into an ordered array (in ascending or descending order). Generally, we order the data from the lowest value to the highest value. Therefore, the median is the data value such that half of the observations are larger and half are smaller. It is also the 50th percentile (we will be learning about percentiles in a bit). If n is odd, the median is the middle observation of the ordered array. If n is even, it is midway between the two central observations.

Example Consider the sample : 0, 2 , 3 , 5 , 20 , 99 , 100. Find the median. Solution : Data has been ordered from lowest to highest. Since n is odd (n = 7), the median is the (n + 1 )/2 ordered observation, or the 4th observation. Thus, the median is 5.

Unlike the mean, the median is not affected by extreme values. Q : What happens to the median if we change the 100 to 5,000? Not a thing, the median will still be 5. Five is still the middle value of the data set.

Measures of central tendency : MEDIAN

Example Consider the sample : 10, 20 , 30 , 40 , 50 , 60. Find the median. Solution : Data has been ordered from lowest to highest. Since n is even (n = 6), the median is the (n + 1 )/2 ordered observation, or the 3. 5 th observation, i.e., the average of observation 3 and observation 4. The median is

The mean and the median are unique for a given set of data. There will be exactly one mean and one median.

Measures of central tendency : MODE

The mode is different from the mean and the median in that those measures always exist and are always unique. For any numeric data set there will be one mean and one median. The mode may not exist. Data : 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 Here you have 10 observations and they are all different. The mode may not be unique. Data : 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7 Mode = 1, 2, 3, 4, 5, and 6. There are six modes.

Measures of non-central tendency : QUARTILES

Quartiles split a set of ordered data into four parts. Imagine cutting a chocolate bar into four equal pieces. How many cuts would you make? (yes, 3.) Q1 is the First Quartile 25% of the observations are smaller than Q1 and 75 % of the observations are larger Q2 is the Second Quartile 50% of the observations are smaller than Q and 50% of the observations are larger. Same as the Median. It is also the 50th percentile. Q3 is the Third Quartile 75% of the observations are smaller than Q3and 25 % of the observations are larger

Measures of non-central tendency : QUARTILES

Example Computer Sales (n = 12 salespeople). Original Data : 3, 10, 2, 5, 9, 8, 7, 12, 10, 0, 4, 6 Compute the mean, median, mode, quartiles.

First order the data : 0 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 10 , 12 Σxi = 76 x ¯ = 76 / 12 = 6 .33 computers sold Median = 6 .5 computers Mode = 10 computers Q 1 = 3 .5 computers, Q 3 = 9 .5 computers

PERCENTILE

Example You are the fourth tallest person in a group of 20. 80% of people are shorter than you :

That means you are at the 80th percentile.

Measures of dispersion : RANGE

Definition Range = Largest Value – Smallest Value

Example 1 , 2 , 3 , 4 , 5 , 8 , 9 , 21 , 25 , 30 Range = 30 − 1 = 29 .

The range is simple to use and to explain to others. One problem with the range is that it is influenced by extreme values at either end.

Measures of dispersion : INTERQUARTILE RANGE (IQR)

Definition IQR = Q3 – Q

Example 0, 0, 2, 3, 4, 7, 9, 12, 17, 18, 20, 22, 45, 56, 98 Q1 = 3, Q3 = 22 IQR = 22 – 3 = 19, (Range = 98)

IQR is basically the range of the central 50% of the observations in the distribution. Problem : The interquartile range does not take into account the variability of the total data (only the central 50%). We are “throwing out” half of the data.