SlideShare a Scribd company logo
1 of 24
Lecture 1
Topics: Introduction to Statistics
and Data Analysis
SADAF SALEEM
Department of Computer Sciences
GIFT University, Pakistan
Course Title: Probability Theory
Course Code: MATH-313
Program: BS MATH
Semester: Spring 2023
Introduction
Statistics:
• The practice of collecting and analyzing the data
• Use :Areas involve the gathering of information or scientific data
Probability:
• The chance of an outcome or event to occur.
• Examples: Toss a die
Flip a coin
Draw a card
↓
Randomness Deterministic Random
Models
↓
↓
Output can be expressed
exactly with help of a
mathematical equation
Output cannot be
expressed exactly with
help of a mathematical
equation
Introduction
• Three different types of probability
• Theoretical Probability → based on some laws
• Empirical probability →based on historical and geological records
• Subjective Probability →based upon intuition
• Circle of Trust
Introduction to Statistics
and Data Analysis
Data:
• Data: it is Latin for “those that are given”
: Can be thought as the results of the observation
• For Example:
1. Statements given to a police officer or physician or psychologist in a interview is a data
2. Correct and incorrect answers by a student on a final exam
3. Time required by a runner to complete a marathon
4. Positions of aircrafts
5. The spectral composition of light emitted by a star
Types of data:
• Types of data:
Quantitative:
When the data studied can be reported numerically, the data is called a
quantitative data
Examples: age, weight, income
Qualitative:
When the characteristic being studied is nonnumeric, it is called a qualitative data
Examples: education, eye color, poverty
Types of data:
• Types of Quantitative Date:
Discrete Data : can take only a discrete set of integers or whole numbers
Examples: No of persons in a house
No of room in a house
No of death in an accident
Continuous Data : can take on any value fractional or integer
Examples: Height of a plant
Weight of student
Temperature of a room
Age of a person
Types of data:
Types of Data
Study of Quantitative Data
Study of Quantitative Data
• As show in the previous Chart data can be studied by two different Parts:
Modeling:
In this process data is represented by different plot and charts and tables.
In this form of study we will take an overview of the data
Analysis:
This is the part we summarizes the data in two or three number such that mean, median, mode
etc.
The quantitative data can be grouped or ungrouped.
The methods to apply theses statistical tool to grouped and ungrouped data are different.
We will study each part of analysis in deal in coming lectures
Data Modeling:
Frequency Table:
• Data can be arranged in the form of a table
• Table consist of 2 or some time 3 columns.
• First column represent the range of the data
• Second column represent the Frequency of data
• Frequency: total no of observation which are present in that range
Example: suppose you have the following data points
Solution:
Identify the minimum and the maximum data point.
Choose a range for the class,
There is no hard and fast rule to do that.
Tips: avoid any class have zero entry
:5-8 classes are recommended. This may very with the no of data points
Frequency Table
Example 1:
Solution:
Data range Frequency
-10 to -1 3
0-9 13
10-19 2
20-29 1
30-39 1
Frequency Table
Example 2:
Solution:
Data range Frequency
6.5-7.4 4
7.5-8.4 1
8.5-9.4 5
9.5-10.4 7
10.5-11.4 3
Frequency Table
The third column some is the relative frequency
Relative frequency= frequency of the class/ total number of the observations
Example 1 Example 2
Data range Frequency Relative
Frequency
-10 to -9 3 3/20
0-9 13 13/20
10-19 2 2/30
20-29 1 1/30
30-39 1 1/30
Data range Frequency Relative
frequency
6.5-7.4 4 4/20
7.5-8.4 1 1/20
8.5-9.4 5 5/20
9.5-10.4 7 7/20
10.5-11.4 3 3/20
Statistical Modeling
• The importance of characterizing or summarizing the nature of collections of data should be
obvious.
• Often a summary of a collection of data via a graphical display can provide insight regarding the
system from which the data were taken.
1. Dot Plot
2. Scatter Plot
3. Stem and Leaf Plot
4. Histogram
5. Box and Whisker Plot/ Box Plot
Dot Plot:
Find the Max. and Min. of the data
Length and Scaling of the line should appropriate
Example 1: 7,7,9,8,10
:19,20,21,20,22
:2,5,4,9,12,17,20
Example 2: Sketch the dot plot of the given data:
You can represent two different observation on the same line
Scatter Plot:
Sketch the Scatter Plot of the given data:
• What cotton % is more distinct from other?
• Does cotton % enhance the tensile strength?
• For which cotten % population mean is higher?
Stem and Leaf plot: case 1
Step 1: Split the observation into two parts
Step 2: Generate Table
Double Stem and Leaf plot:
Class Practice:
• Construct a stem and Leaf plot for following data
• Construct double Stem and leaf plot
Stem and Leaf plot: Case 2
• When data is in whole number
Step 1: observe max and min of data
Step 2: modify data
Step 3: break into stem and leaf
Step 4: draw table
Stem Leaf Frequency
0 1 3 7 8 9 5
1 0 3 7 4 4 5 6 7 8
2 0 1 2
Stem Leaf Frequency
0 1 3 2
0* 7 8 9 3
1 0 3 4 4 4
1* 5 6 7 7 4
2 0 1 2
Stem and Leaf plot: Case 2
Stem and Leaf plot: Case 3
When data is in whole number (big one)
• Prices of 100 cars from a dealer ($)
18800, 19100, 19600,18885, 19075….
When data is in mixed number
• 21.8 to 74.9
Stem and Leaf plot: Case 4
SADAF SALEEM
Department of Computer Sciences
GIFT University, Pakistan

More Related Content

Similar to lecture 1 Slides.pptx

QUANTITATIVE-DATA.pptx
QUANTITATIVE-DATA.pptxQUANTITATIVE-DATA.pptx
QUANTITATIVE-DATA.pptxViaFortuna
 
General Statistics boa
General Statistics boaGeneral Statistics boa
General Statistics boaraileeanne
 
Statistics Based On Ncert X Class
Statistics Based On Ncert X ClassStatistics Based On Ncert X Class
Statistics Based On Ncert X ClassRanveer Kumar
 
2. week 2 data presentation and organization
2. week 2 data presentation and organization2. week 2 data presentation and organization
2. week 2 data presentation and organizationrenz50
 
box plot or whisker plot
box plot or whisker plotbox plot or whisker plot
box plot or whisker plotShubham Patel
 
Data Analysis in Research: Descriptive Statistics & Normality
Data Analysis in Research: Descriptive Statistics & NormalityData Analysis in Research: Descriptive Statistics & Normality
Data Analysis in Research: Descriptive Statistics & NormalityIkbal Ahmed
 
Chapter 4 MMW.pdf
Chapter 4 MMW.pdfChapter 4 MMW.pdf
Chapter 4 MMW.pdfRaRaRamirez
 
LECTURE 3 - inferential statistics bmaths
LECTURE 3 - inferential statistics bmathsLECTURE 3 - inferential statistics bmaths
LECTURE 3 - inferential statistics bmathsjafari12
 
2.1-2.2 Organizing Data
2.1-2.2 Organizing Data2.1-2.2 Organizing Data
2.1-2.2 Organizing Datamlong24
 
2.1 frequency distributions for organizing and summarizing data
2.1 frequency distributions for organizing and summarizing data2.1 frequency distributions for organizing and summarizing data
2.1 frequency distributions for organizing and summarizing dataLong Beach City College
 

Similar to lecture 1 Slides.pptx (20)

Chp 3
Chp 3Chp 3
Chp 3
 
Chp 3
Chp 3Chp 3
Chp 3
 
QUANTITATIVE-DATA.pptx
QUANTITATIVE-DATA.pptxQUANTITATIVE-DATA.pptx
QUANTITATIVE-DATA.pptx
 
1.2 types of data
1.2 types of data1.2 types of data
1.2 types of data
 
General Statistics boa
General Statistics boaGeneral Statistics boa
General Statistics boa
 
Statistics
StatisticsStatistics
Statistics
 
Statistics Based On Ncert X Class
Statistics Based On Ncert X ClassStatistics Based On Ncert X Class
Statistics Based On Ncert X Class
 
statistics.pdf
statistics.pdfstatistics.pdf
statistics.pdf
 
Lesson 002
Lesson 002Lesson 002
Lesson 002
 
Bba 2001
Bba 2001Bba 2001
Bba 2001
 
2. week 2 data presentation and organization
2. week 2 data presentation and organization2. week 2 data presentation and organization
2. week 2 data presentation and organization
 
box plot or whisker plot
box plot or whisker plotbox plot or whisker plot
box plot or whisker plot
 
Basic Statistics to start Analytics
Basic Statistics to start AnalyticsBasic Statistics to start Analytics
Basic Statistics to start Analytics
 
Data Analysis in Research: Descriptive Statistics & Normality
Data Analysis in Research: Descriptive Statistics & NormalityData Analysis in Research: Descriptive Statistics & Normality
Data Analysis in Research: Descriptive Statistics & Normality
 
CH1.pdf
CH1.pdfCH1.pdf
CH1.pdf
 
Ch1
Ch1Ch1
Ch1
 
Chapter 4 MMW.pdf
Chapter 4 MMW.pdfChapter 4 MMW.pdf
Chapter 4 MMW.pdf
 
LECTURE 3 - inferential statistics bmaths
LECTURE 3 - inferential statistics bmathsLECTURE 3 - inferential statistics bmaths
LECTURE 3 - inferential statistics bmaths
 
2.1-2.2 Organizing Data
2.1-2.2 Organizing Data2.1-2.2 Organizing Data
2.1-2.2 Organizing Data
 
2.1 frequency distributions for organizing and summarizing data
2.1 frequency distributions for organizing and summarizing data2.1 frequency distributions for organizing and summarizing data
2.1 frequency distributions for organizing and summarizing data
 

Recently uploaded

Cot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNACot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNASilpa
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxRenuJangid3
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxANSARKHAN96
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSilpa
 
Plasmid: types, structure and functions.
Plasmid: types, structure and functions.Plasmid: types, structure and functions.
Plasmid: types, structure and functions.Silpa
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspectsmuralinath2
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY1301aanya
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsKanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDeepika Singh
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Silpa
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxSilpa
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Concept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfConcept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfSilpa
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Silpa
 

Recently uploaded (20)

Cot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNACot curve, melting temperature, unique and repetitive DNA
Cot curve, melting temperature, unique and repetitive DNA
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptx
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdf
 
Plasmid: types, structure and functions.
Plasmid: types, structure and functions.Plasmid: types, structure and functions.
Plasmid: types, structure and functions.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsKanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Cyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptxCyanide resistant respiration pathway.pptx
Cyanide resistant respiration pathway.pptx
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Concept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdfConcept of gene and Complementation test.pdf
Concept of gene and Complementation test.pdf
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.
 

lecture 1 Slides.pptx

  • 1. Lecture 1 Topics: Introduction to Statistics and Data Analysis SADAF SALEEM Department of Computer Sciences GIFT University, Pakistan Course Title: Probability Theory Course Code: MATH-313 Program: BS MATH Semester: Spring 2023
  • 2. Introduction Statistics: • The practice of collecting and analyzing the data • Use :Areas involve the gathering of information or scientific data Probability: • The chance of an outcome or event to occur. • Examples: Toss a die Flip a coin Draw a card ↓ Randomness Deterministic Random Models ↓ ↓ Output can be expressed exactly with help of a mathematical equation Output cannot be expressed exactly with help of a mathematical equation
  • 3. Introduction • Three different types of probability • Theoretical Probability → based on some laws • Empirical probability →based on historical and geological records • Subjective Probability →based upon intuition • Circle of Trust
  • 5. Data: • Data: it is Latin for “those that are given” : Can be thought as the results of the observation • For Example: 1. Statements given to a police officer or physician or psychologist in a interview is a data 2. Correct and incorrect answers by a student on a final exam 3. Time required by a runner to complete a marathon 4. Positions of aircrafts 5. The spectral composition of light emitted by a star
  • 6. Types of data: • Types of data: Quantitative: When the data studied can be reported numerically, the data is called a quantitative data Examples: age, weight, income Qualitative: When the characteristic being studied is nonnumeric, it is called a qualitative data Examples: education, eye color, poverty
  • 7. Types of data: • Types of Quantitative Date: Discrete Data : can take only a discrete set of integers or whole numbers Examples: No of persons in a house No of room in a house No of death in an accident Continuous Data : can take on any value fractional or integer Examples: Height of a plant Weight of student Temperature of a room Age of a person
  • 10. Study of Quantitative Data • As show in the previous Chart data can be studied by two different Parts: Modeling: In this process data is represented by different plot and charts and tables. In this form of study we will take an overview of the data Analysis: This is the part we summarizes the data in two or three number such that mean, median, mode etc. The quantitative data can be grouped or ungrouped. The methods to apply theses statistical tool to grouped and ungrouped data are different. We will study each part of analysis in deal in coming lectures
  • 11. Data Modeling: Frequency Table: • Data can be arranged in the form of a table • Table consist of 2 or some time 3 columns. • First column represent the range of the data • Second column represent the Frequency of data • Frequency: total no of observation which are present in that range Example: suppose you have the following data points Solution: Identify the minimum and the maximum data point. Choose a range for the class, There is no hard and fast rule to do that. Tips: avoid any class have zero entry :5-8 classes are recommended. This may very with the no of data points
  • 12. Frequency Table Example 1: Solution: Data range Frequency -10 to -1 3 0-9 13 10-19 2 20-29 1 30-39 1
  • 13. Frequency Table Example 2: Solution: Data range Frequency 6.5-7.4 4 7.5-8.4 1 8.5-9.4 5 9.5-10.4 7 10.5-11.4 3
  • 14. Frequency Table The third column some is the relative frequency Relative frequency= frequency of the class/ total number of the observations Example 1 Example 2 Data range Frequency Relative Frequency -10 to -9 3 3/20 0-9 13 13/20 10-19 2 2/30 20-29 1 1/30 30-39 1 1/30 Data range Frequency Relative frequency 6.5-7.4 4 4/20 7.5-8.4 1 1/20 8.5-9.4 5 5/20 9.5-10.4 7 7/20 10.5-11.4 3 3/20
  • 15. Statistical Modeling • The importance of characterizing or summarizing the nature of collections of data should be obvious. • Often a summary of a collection of data via a graphical display can provide insight regarding the system from which the data were taken. 1. Dot Plot 2. Scatter Plot 3. Stem and Leaf Plot 4. Histogram 5. Box and Whisker Plot/ Box Plot
  • 16. Dot Plot: Find the Max. and Min. of the data Length and Scaling of the line should appropriate Example 1: 7,7,9,8,10 :19,20,21,20,22 :2,5,4,9,12,17,20 Example 2: Sketch the dot plot of the given data: You can represent two different observation on the same line
  • 17. Scatter Plot: Sketch the Scatter Plot of the given data: • What cotton % is more distinct from other? • Does cotton % enhance the tensile strength? • For which cotten % population mean is higher?
  • 18. Stem and Leaf plot: case 1 Step 1: Split the observation into two parts Step 2: Generate Table
  • 19. Double Stem and Leaf plot:
  • 20. Class Practice: • Construct a stem and Leaf plot for following data • Construct double Stem and leaf plot
  • 21. Stem and Leaf plot: Case 2 • When data is in whole number Step 1: observe max and min of data Step 2: modify data Step 3: break into stem and leaf Step 4: draw table Stem Leaf Frequency 0 1 3 7 8 9 5 1 0 3 7 4 4 5 6 7 8 2 0 1 2 Stem Leaf Frequency 0 1 3 2 0* 7 8 9 3 1 0 3 4 4 4 1* 5 6 7 7 4 2 0 1 2
  • 22. Stem and Leaf plot: Case 2
  • 23. Stem and Leaf plot: Case 3 When data is in whole number (big one) • Prices of 100 cars from a dealer ($) 18800, 19100, 19600,18885, 19075…. When data is in mixed number • 21.8 to 74.9 Stem and Leaf plot: Case 4
  • 24. SADAF SALEEM Department of Computer Sciences GIFT University, Pakistan