1 Introduction

Statistics I · Unit 1 · 4 hrs

Introduction

Exam-focused notes for Introduction (Statistics I, STA169): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Introduction in short

This chapter sets out the vocabulary and framework of statistics as a subject, and shows why a computing student needs it: measurement, description, and inference all rest on the ideas introduced here.

Introduction: notes

Basic concept of statistics

Statistics is the branch of applied mathematics concerned with collecting, organising, presenting, analysing, and interpreting numerical data so that sound conclusions can be drawn from them. The subject is commonly split into two branches. Descriptive statistics summarises and presents the data actually collected, using tables, charts, and summary measures such as the mean or standard deviation. Inferential statistics goes further: it uses a sample to draw conclusions, estimates, or predictions about the larger population from which the sample was drawn, together with a statement of how confident that conclusion is. A single data set can be studied descriptively (what happened in this sample) and inferentially (what does this imply about the population).

Application of Statistics in the field of Computer Science and Information Technology

Statistical methods are central to computing, not just to the natural and social sciences. Computers make statistical calculation, such as means, standard deviations, analysis of variance, and covariance, fast and reliable on data sets far too large to summarise by hand. Several areas of computer science and information technology depend directly on statistics:

  • Machine learning and data mining rest on probability distributions, estimation, and hypothesis testing to detect patterns in data.
  • Pattern recognition and image analysis use statistical models to classify signals and images under uncertainty.
  • Software reliability and performance testing use statistical life-testing methods; for example, estimating how long an LCD monitor or a hard disk is expected to last before failure is a statistical question, answered by fitting a lifetime distribution to failure-time data.
  • Resampling techniques, such as the bootstrap, use repeated random sampling from an observed data set to estimate the precision of a statistic without assuming a theoretical distribution.
  • Simulation and network analysis use random variables and queueing models, both built on probability theory, to study system load and response time.

What this unit covers

  • Basic concept of statistics
  • Application of Statistics in the field of Computer Science & Information technology
  • Scales of measurement
  • Variables
  • Types of Data
  • Notion of a statistical population

Types of Data

2080 · 5 marks

Differentiate between primary data and secondary data. What are the sources of secondary data? [5]

Primary Data: Primary data are those data which are collected by the investigator himself/herself for the first time. They are original in nature and collected for a specific purpose of inquiry. Example: Data collected by CBS (Central Bureau of Statistics) during population census is primary data...

Open this answer on its own page →

2075 · 5 marks

Define primary data and secondary data and explain the difference between them. [5]

Show solved answer

Primary Data and Secondary Data

Definition of Data

Data is the raw information which is useful for any kind of research or inquiry.


Primary Data

Primary data are those data which are collected by the investigator himself/herself for the first time for a specific purpose.

In other words, primary data are first-hand or original data collected directly from the source.

Example: The Central Bureau of Statistics (CBS) in Nepal conducts a population census every 10 years. The data collected by CBS itself is primary data for CBS.


Secondary Data

Secondary data are those data which are collected by one person/organization and used by another person/organization for their own purpose.

In other words, secondary data are second-hand data.

Example: If a researcher uses the population data published by CBS for their own study, that data becomes secondary data for the researcher.


Differences Between Primary Data and Secondary Data

BasisPrimary DataSecondary Data
OriginalityOriginal in nature; collected by the investigator himself/herselfNot original; collected by one and used by another
CostCollection is expensive and time-consumingLess expensive than primary data
Method of CollectionCollected through direct interview, indirect interview, mailed questionnaire, telephone, etc.Collected from published (e.g., WHO, CBS, Nepal Rastra Bank) and unpublished sources
PurposeCollected as per the specific requirement of the investigatorMay have been collected for a different objective
Investigator's BiasInfluenced by investigator's biasNot influenced by investigator's bias
ReliabilityGenerally more reliable as the investigator controls the processReliability depends on the original collector

Summary

In short, primary data are fresh, first-time collected data that are more accurate but costly, while secondary data are already available data that are economical but may not perfectly fit the current research objective. The choice between them depends on the nature, scope, and budget of the study.

Open this answer on its own page →

Application of Statistics in the field of Computer Science & Information technology

2078 · 5 marks

State with suitable examples the role played by computer technology in applied statistics and the role of statistics in information technology. [5]

Computer technology has revolutionized the field of applied statistics by making complex calculations faster, more accurate, and more reliable. The key roles are described below: Computers can perform many statistical calculations easily and quickly. Computations such as: - Means and Standard Dev...

Open this answer on its own page →

Scales of measurement

2076 · 5 marks

What do your mean by measurement scale? Describe the different types of measurement scales used in statistics. [5]

The measurement consisting of counting the number of units or parts of units displayed by objects and phenomena is called a measurement scale. In other words, a measurement scale is a system or rule used to assign numbers or symbols to objects, events, or characteristics in a meaningful way. --- ...

Open this answer on its own page →