1 Introduction To Statistics And Data

Basic Statistics · Unit 1

Introduction to Statistics and Data

Exam-focused notes for Introduction to Statistics and Data (Basic Statistics, STA154): what the TU syllabus asks and how it has actually been tested, with 10 solved past questions from this unit.

Introduction to Statistics and Data in short

Statistics is the science of collecting, organizing, analysing and interpreting data to make decisions. In IT, data from servers, users and tests is everywhere, so statistics helps turn it into clear answers.

Introduction to Statistics and Data: notes

Definition and role of statistics in IT

Statistics is the branch of science that deals with collecting, presenting, analysing and interpreting numerical data. The word is also used for the numbers themselves, such as the average response time of a server.

Statistics helps IT work in many ways:

  • Performance testing: averages and spread of response time show whether a system meets its target.
  • Quality control: control charts and defect rates show whether a software build is stable.
  • Reliability: probability models estimate how long a server runs before it fails.
  • Machine learning and data mining: regression, probability and sampling are the base of most models.
  • Decision making: A/B tests and surveys tell a team which design users prefer.
  • Capacity planning: past traffic data helps predict future load on networks and databases.
  • Security: unusual login counts or packet sizes are found by comparing them with normal behaviour.

Descriptive versus inferential statistics

Descriptive statistics organizes and summarizes the data we already have. It uses tables, graphs, averages and measures of spread. Inferential statistics uses a sample to draw conclusions about a larger population. It uses estimation and hypothesis testing, and it always carries some uncertainty.

BasisDescriptiveInferential
PurposeSummarize the data in handDraw conclusions about the population
Data usedWhole data setA sample
ToolsMean, SD, charts, tablesConfidence intervals, tests, regression
ResultExact for the dataProbable, with some error
ExampleAverage load time of 50 pages testedEstimate the load time of all pages from those 50

What this unit covers

  • Definition and role of statistics in IT
  • Descriptive versus inferential statistics
  • Primary and secondary data sources
  • Measurement scales and types
  • Population and sample concepts
  • Parameter and statistic distinction

Measurement scales and types

2082 · 5 marks

Fill the scale of measurement with the correct statistical test/measure.

VariableMeasurement ScaleBest Statistical Method
Blood groupNominalMode, Chi-square test
Students' satisfaction (5-point Likert scale)OrdinalMedian, Mann-Whitney U test, Spearman's rank correlation
Annual incomeRatioMean, Standard deviation, t-test, Pearson correlation
Age group (18–25, 26–35, 36–45, 46+)OrdinalMedian, Mode, Chi-square test
The lifetime of an electronic deviceRatioMean, Standard deviation, t-test, ANOVA

[5]

Variable Measurement Scale Best Statistical Method ----------------------------------------------------- Blood group Nominal Mode, Chi-square test, Frequency distribution Students' satisfaction (5-point Likert scale) Ordinal Median, Mode, Mann-Whitney U test, Spearman's rank correlation Annual in...

Open this answer on its own page →

2078 · 5 marks

What is measurement of scale? Describe different types of measurement scale. [5]

Show solved answer

Measurement of Scale

Definition

Measurement of scale refers to the system or framework used to categorize, quantify, and classify data based on the properties and relationships of the values assigned to variables. It defines the nature of information contained in data and determines which statistical operations and analyses are appropriate.

In other words, a scale of measurement is a classification that describes the nature of information within the numbers assigned to variables.


Types of Measurement Scales

There are four main types of measurement scales:

1. Nominal Scale

  • Definition: The most basic level of measurement where data is categorized into distinct, non-overlapping categories with no inherent order or ranking.
  • Characteristics:
    • Categories are mutually exclusive
    • No numerical relationship between categories
    • No ordering or hierarchy
  • Examples: Gender (Male/Female), Religion, Blood type (A, B, AB, O), Color
  • Allowed Operations: Counting, frequency, mode

2. Ordinal Scale

  • Definition: Data is organized into categories that have a natural order or ranking, but the intervals between categories are not equal or meaningful.
  • Characteristics:
    • Categories can be ranked or ordered
    • Differences between ranks are not uniform
    • Relative position matters, not absolute value
  • Examples: Educational level (Primary, Secondary, Bachelor's, Master's), Customer satisfaction (Poor, Fair, Good, Excellent), Military rank
  • Allowed Operations: Median, mode, ranking, correlation

3. Interval Scale

  • Definition: Numerical scale where the distance between any two adjacent units is equal, but there is no true zero point (zero is arbitrary).
  • Characteristics:
    • Equal intervals between values
    • No true/absolute zero
    • Allows meaningful differences
  • Examples: Temperature (Celsius/Fahrenheit), Calendar years, IQ scores
  • Allowed Operations: Mean, standard deviation, addition, subtraction

4. Ratio Scale

  • Definition: The highest level of measurement with equal intervals between values AND a true/absolute zero point, allowing for meaningful ratios.
  • Characteristics:
    • Equal intervals between values
    • True zero point exists
    • Ratios are meaningful
    • Most flexible scale
  • Examples: Height, Weight, Age, Income, Distance, Time
  • Allowed Operations: All statistical operations including mean, median, mode, standard deviation, multiplication, division

Summary Table

ScaleOrderEqual IntervalsTrue ZeroExample
NominalNoNoNoGender
OrdinalYesNoNoSatisfaction rating
IntervalYesYesNoTemperature (°C)
RatioYesYesYesWeight (kg)
Open this answer on its own page →

0 · 5 marks

Explain the differences between ordinal and interval scales of measurement with suitable examples. [5]

Ordinal Scale: - A scale that ranks data in a meaningful order or sequence - Establishes relative position or ranking among observations - The distance between ranks is not uniform or meaningful - Only shows "greater than" or "less than" relationships Interval Scale: - A scale where data points a...

Open this answer on its own page →

Definition and role of statistics in IT

2081 · 5 marks

Discuss the importance of statistics in the field of information technology. [5]

Statistics plays a crucial role in the field of Information Technology by providing methods to collect, analyze, and interpret data. It enables IT professionals to make informed decisions and optimize system performance. - Statistics enables IT professionals to analyze large volumes of data and e...

Open this answer on its own page →

2080 · 5 marks

Describe the role of Statistics in information technology. [5]

Statistics plays a fundamental and multifaceted role in modern Information Technology, serving as a bridge between raw data and actionable insights. It provides the mathematical and analytical foundation for decision-making in IT systems and applications. Statistics enables IT professionals to co...

Open this answer on its own page →

Descriptive versus inferential statistics

2080 · 10 marks

Distinguish between Descriptive and Inferential Statistics

Descriptive Statistics involves organizing, summarizing, and presenting data in a meaningful way using measures like mean, median, mode, standard deviation, and visual representations. It describes the characteristics of the data itself.

Inferential Statistics involves using sample data to make conclusions, predictions, or inferences about a larger population. It uses probability theory and hypothesis testing to draw generalizations beyond the observed data.

Show solved answer

Model Answer: Descriptive vs Inferential Statistics and Consistency Analysis

Part 1: Distinction between Descriptive and Inferential Statistics

AspectDescriptive StatisticsInferential Statistics
DefinitionMethods used to organize, summarize, and describe the features of a datasetMethods used to draw conclusions/generalizations about a population from a sample
PurposePresent and describe data in a meaningful formTest hypotheses and make predictions beyond the data
ScopeLimited to the data actually collectedExtends findings from sample to population
Tools/MethodsMean, median, mode, range, variance, standard deviation, tables, graphsEstimation, confidence intervals, hypothesis testing, regression, probability
UncertaintyNo probability/uncertainty involvedInvolves probability and margin of error
ExampleAverage marks of 10 studentsPredicting all students' performance from these 10

Part 2: Consistency using Coefficient of Variation (CV)

Consistency is measured by the Coefficient of Variation. The subject with the lower CV is more consistent.

$$CV = \frac{\sigma}{\bar{x}} \times 100%$$

Given data

  • Basic Statistics: 53, 55, 52, 32, 30, 60, 47, 46, 35, 58
  • Computer Science: 57, 45, 24, 31, 25, 84, 43, 80, 32, 72
  • n = 10 each

Basic Statistics

Mean: $$\bar{x}_1 = \frac{468}{10} = 46.8$$

Squared deviations:

$x$$x-\bar{x}$$(x-\bar{x})^2$
536.238.44
558.267.24
525.227.04
32-14.8219.04
30-16.8282.24
6013.2174.24
470.20.04
46-0.80.64
35-11.8139.24
5811.2125.44
Σ = 1073.60

$$\sigma_1 = \sqrt{\frac{1073.6}{10}} = \sqrt{107.36} = 10.36$$

$$CV_1 = \frac{10.36}{46.8}\times100 = 22.14%$$


Computer Science

Mean: $$\bar{x}_2 = \frac{493}{10} = 49.3$$

Squared deviations:

$x$$x-\bar{x}$$(x-\bar{x})^2$
577.759.29
45-4.318.49
24-25.3640.09
31-18.3334.89
25-24.3590.49
8434.71204.09
43-6.339.69
8030.7942.49
32-17.3299.29
7222.7515.29
Σ = 4644.10

Check on the sum of squared deviations:

$$59.29+18.49+640.09+334.89+590.49+1204.09+39.69+942.49+299.29+515.29 = 4644.10$$

$$\sigma_2 = \sqrt{\frac{4644.1}{10}} = \sqrt{464.41} = 21.55$$

$$CV_2 = \frac{21.55}{49.3}\times100 = 43.71%$$


Conclusion

$$CV_1 = 22.14% < CV_2 = 43.71%$$

Since Basic Statistics has the lower coefficient of variation, Basic Statistics is the more consistent subject. The marks in Basic Statistics are more uniformly clustered about the mean than those in Computer Science.

Open this answer on its own page →

2080.1 · 5 marks

Highlight the difference between descriptive and inferential statistics. Describe the role of Statistics in information technology. [5]

Aspect Descriptive Statistics Inferential Statistics -------------------------------------------------------- Purpose Summarizes and describes characteristics of a dataset Draws conclusions about a population based on sample data Scope Works with the entire dataset available Works with a sample t...

Open this answer on its own page →

Primary and secondary data sources

2079 · 5 marks

What do you mean by secondary data? Write the source of secondary data with special focus to Nepalese context. [5]

Secondary data refers to information that has already been collected, processed, and published by other researchers, organizations, or institutions for purposes other than the current research study. It is data that exists in compiled or aggregated form and is obtained from existing sources rathe...

Open this answer on its own page →

Parameter and statistic distinction

2078 · 5 marks

Write short notes on the following: a.) Choice of appropriate measure of central tendency b.)Parameter and statistic [5]

The selection of an appropriate measure of central tendency depends on several factors: 1. Nature of Data - Mean: Best for continuous, normally distributed data without extreme outliers - Median: Preferred for skewed distributions or when outliers are present; works well for ordinal data - Mode: ...

Open this answer on its own page →

2080.1 · 5 marks

Write short notes on any two: (a) Sampling and non-sampling error (b) Parameter and statistic. [5]

Sampling Error: - Arises due to the use of a sample instead of the entire population - Occurs because a sample is only a part of the population and cannot perfectly represent all characteristics - Can be reduced by increasing sample size - Is inherent and unavoidable in sampling, but can be contr...

Open this answer on its own page →