Descriptive 2024 Lec
Descriptive 2024 Lec
DESCRIPTIVE STATISTICS
2024 2024
Lecture (1)
Introduction
1. Statistics:
Statistics is the science that deals with (Collecting, organizing, presenting, analyzing,
and interpreting) data to make decisions.
Deals with methods for organizing, displaying, Deals with methods that use sample results to
and describing data by using tables, graphs, help make decisions or predictions about a
and summary measures. population.
5. Random Samples:
▪ A sample drawn in such a way that each element of the population has a chance of being
selected is called a random sample.
▪ If all samples of the same size selected from a population have the same chance of being
selected, we call it simple random sampling. Such a sample is called a simple random sample.
7. Variables:
A variable is a characteristic under study that assumes different values for different elements. In
contrast to variable, the value of a constant is fixed.
8. Observations or Measurements:
The value of a variable for an element is called an observation or measurement.
9. Data Sets:
A data set is a collection of observations on one or more variables.
Example (1)
The following table represents the Math. scores of a random sample of the second level students in the
Faculty of Business 2022:
Student Score
Ahmed 82
Nehal 70
Ali 75
Ziad 94
Yara 70
Determine the population, the sampling unit, and the variable.
Answer:
• The population is “All second level students in the Faculty of Business 2022”.
• The sampling unit is the “student”.
• The variable is the “Math. Scores”.
-3-
Example (2)
In a study of the speeds of cars in a certain district in Alexandria, Egypt during rush hours, a random
sample of 25 cars was drawn and the speed of each car was recorded.
Determine the population, the sampling unit, and the variable.
Answer:
• The population is “All cars pass that certain district in Alexandria, Egypt during rush hours”.
• The sampling unit is the “car”.
• The variable is the “speeds”.
Discrete Continuous
* A discrete variable can assume certain The variable cannot assume a numerical
values with no intermediate values. * The variable can assume any numerical
value but can be classified into two or
value over a certain interval.
* Examples: more nonnumeric categories.
No. of children, No. of cars, No. of * Examples:
* Example:
students, No. of defective units ……… Time, temperature, income, length,
+ The grades are: V.W, W, G, V.G, and EX.
weights, age, and heights ……….
* A discrete variable may take on non- + The gender (M, F).
integer values. + The colors, opinion of the people.
+ The marital status (d, m, s)……..
Example (1):
The following data represent the Math. grades of a random sample of 20 students in the
faculty of commerce:
V.W V.W W W W P P P P P
Solution:
Note: The variable is the "grades" and its type is "qualitative.
1. The frequency distribution table is columns 1 and 2
The relative frequency distribution table is columns 1 and 3
The percentage frequency distribution table is columns 1 and 4
Relative frequency
Frequency Percentage
Grades 𝒇
𝒇 𝒓𝒇 = 𝒓𝒇 × 𝟏𝟎𝟎%
∑𝒇
EX 1 1/20= 0.05 5%
Total 20 1 100%
-5-
2. Bar chart:
Bar Graph
4
Frequency
0
V.W W P G V.G EX
Grades
3. Pie chart
Relative frequency
Frequency Angel =
Grades 𝑓
𝑓 𝑟𝑓 = 𝒓𝒇 × 𝟑𝟔𝟎
∑𝑓
Total 20 1 𝟑𝟔𝟎
-6-
V.G
This technique is useful in cases of discrete data with only a few possible values. For
example, the number of defective units in the daily production of a machine, the number of absent
workers, or the number of children in family. A frequency distribution of a discrete variable is a
table with two columns. In the first we put the values of the variable and in the second put the
frequency.
The frequency distribution of a discrete variable can be represented graphically using a
Dot plots or a line chart.
Example (2):
The administration in a large city wanted to know the distribution of cars owned by
households in that city. A random sample of 20 randomly selected households from this
city produced the following data on the number of cars owned.
0 2 0 1 1 0 2 1 0 1
1 0 2 1 4 1 1 3 1 3
-7-
1) Construct a frequency distribution table for these data using single-valued classes.
2) Create a dot plot for the data.
3) Draw a line chart for the data.
Solution:
1)
Frequency Distribution of cars owned
0 5
1 9
2 3
3 2
4 1
Total ∑ 𝐟 =20
Dotplot of x
0 1 2 3 4
x
-8-
Line Chart
5
f
0
0 1 2 3 4
x