SlideShare une entreprise Scribd logo
1  sur  44
Sreejith Aravindakshan,
Consultant, CIMMYT and Wageningen University, Netherlands
1
A date with DATA:
Getting to know more about data analysis and models
“Data is the new oil”
• Data is a collection of facts, such as numbers, words, measurements, observations or
even just descriptions of things
• Data is all around us. But what exactly is it?
Data is a value assigned to a thing. Color, Shape, Number,
Condition, Size
QUALITATIVE DATA : is everything that refers to the
quality of something: A description of colours, texture and
feel of an object, a description of experiences, and
interviews are all qualitative data.
QUANTITATIVE DATA : is data that refers to a number.
E.g. the number of golf balls, the size, the price, a score
on a test etc.
2
3
• Categorical data is qualitative in nature
• Numerical (quantitative) data of both discrete and continuous nature can be interval or ratio data also
• Interval data has ordered values with same difference but lack a true zero value e.g. Temperature. PH.
• Ratio data are also ordered values with same difference but has a true zero value e.g. height, weight.
Categorical Data : puts the item you are describing
into a category: For example, the condition “used”
would be categorical and also categories such as
“new”, “used”, ”broken” etc.
Discrete Data : is numerical data that has gaps in
it: e.g. the count of golf balls. There can only be
whole numbers of golf ball (there is no such thing
as 0.3 golf balls).
Continuous Data : is numerical data with a
continuous range: e.g. size of the golf balls can be
any value (e.q. 10.55 mm or 10.61 mm but also
10.536 mm). In continuous data, all values are
possible with no gaps in between.
Primary Data
Secondary Data
4
5
Hypothesis
Sampling
Data Collection
Data Entry
Data Cleaning
Theory
Research Design
Data storage
What are the steps?
Sampling
Probability (Random)
Non-probability (purposive)
6
• From researchers’ experience
 Can result in wide confidence interval
or measurement error
• Using some formula
For instance, Cochran’s formula for sample size
calculation:
𝑛0 =
𝑍2
𝑝𝑞
𝑒2
Where:
 e is the desired level of precision (i.e.
the margin of error or confidence interval),
 p is the (estimated) proportion of the
population which has the attribute in question,
 q is 1 – p.
Determining the ideal sample size
7
Example
 Suppose we are doing a study on the inhabitants of a large town or village, and want to
find out how many households serve breakfast in the mornings. We don’t have much
information on the subject to begin with, so we’re going to assume that half of the
families serve breakfast: this gives us maximum variability. So p = 0.5. Now let’s say we
want 95% confidence level, and at least 5 percent—plus or minus—precision. A 95 %
confidence level gives us Z values of 1.96, from the table values, so we get
 ((1.96)2 *(0.5) *(0.5)) / (0.05)2 =
384.16 ~ 385.
 So a random sample of 385 households in our target population should be enough to
give us the confidence levels we need.
8
Both Accurate
and Precise
Accurate
Not precise
Not accurate
But precise
Neither accurate
nor precise
• Accuracy refers to how close measurements are to the "true" value
• Precision refers to how close measurements are to each other
Data accuracy vs. precision
9
Independent Variable: The variable in the study
under consideration. The cause for the outcome
for the study.
Dependent Variable: The variable being
affected by the independent variable. The
effect of the study
y = f(x)
Which is which here?
10
Principles of Data Collection
• Understanding and knowing what types of data required
• Collect only relevant data
• Determine methods of data collection
 Survey/questionnaire
 Observation, participatory
 Focus groups
 Standard instruments
 Content analysis
 Experiments/observations
 Personal interviews
 Literature search – meta analysis
11
Principles…..
• Where, who, how, and when to collect
* Research design
* Sampling procedure
* Prepare field work schedule/data plan
* Conduct preliminary (surveys) investigation
• Assess situation and prepare further strategies
12
13
 Enter the data in
MS-Excel.
 Top row with
variable labels in
each cell.
 Save the entered
data as .csv file in
MS-Excel
Data analysis has been around for a while…
R.A. Fisher
Howard Dresner
Peter LuhnW.E. Deming
Robert Gentleman
Ross Ihaka
14
Knowing your data
Descriptive/summary statistics: Mean, median, mode, standard deviation, frequencies, standard error
15
n
i=1
Mean
16
• Consider the set
• 1, 1, 2, 2, 3, 6, 7, 11, 11, 13, 14, 16, 19
• In this case there are 13 values so the median is the middle
value, or (n+1) / 2
• (13+1) /2 = 7
• Consider the set
• 1, 1, 2, 2, 3, 6, 7, 11, 11, 13, 14, 16
• In the second case, the mean of the two middle values is the
median or (n+1) /2
(12 + 1) / 2 = 6.5 ~ (6+7) / 2 = 6.5
Median
17
The most frequent value in a data set
• Consider the set
• 1, 1, 1, 1, 2, 2, 3, 6, 11, 11, 11, 13, 14, 16, 19
• In this case the mode is 1 because it is the most common value.
• This is a case of unimodal distrbution
• There may be cases where there are more than one mode as in this case
• Consider the set
• 1, 1, 1, 1, 2, 2, 3, 6, 11, 11, 11, 11, 13, 14, 16, 19
• In this case there are two modes (bimodal) : 1 and 11 because both
occur 4 times in the data set.
Mode
18
Data distributions
19
Data
visualization with
R
20
R is just super cool for data analytics
21
Visualizing my scientific career using data in R
R package
“ggplot2” is
amazing!!
23
Basic regression models
y = Dependent variable (Response variable)
x = Independent variable (Explanatory or predictor variable)
𝜀 = random error component
𝛽0 = intercept
𝛽1 = Slope or coefficient of 𝑥 and 𝑥1 in linear model and
multiple regression models, respectively
𝑦 = 𝛽0 + 𝛽1 𝑥1 + 𝛽2 𝑥2 + ⋯ + 𝛽 𝑘 𝑥 𝑘 + 𝜀
𝑦 = 𝛽0 + 𝛽1 𝑥 + 𝜀
24
O
F
Y
X I
OLS Regression
SFA
DEA
Output Efficiency of F: FO/YO
Input Efficiency of F: XI/XF
Symbol Meaning Level of
significance
ns P > 0.05 Not applicable
* P ≤ 0.05 At 10% level
** P ≤ 0.01 At 5% level
*** P ≤ 0.001 At 1% level
**** P ≤ 0.0001 At 0.1% level
"p-value offers a first defense line against being fooled by randomness,
separating signal from noise"
26
Statistical significance and p-value
Chance (Random Error; Sampling Error)
Bias (Systematic Errors [inaccuracies])
 Selection bias
 Loss to follow-up bias
Information bias
• Nondifferential (e.g. simple misclassification)
• Differential Biases (e.g., recall bias, interviewer bias)
Confounding (Imbalance in Other Factors)
A situation in which the effect of two processes
are not separated.
Errors affecting validity. A
systematic error (caused by the
investigator or the subjects) that
causes an incorrect (over- or
under-) estimate of an association.
What is bias?
27
28
A word of caution:
“Interpretation can
however be
subjective”
Don’t have any strong opinion about SPSS since I am not an avid user of the
same......
29
R or others – The fight is on
A lot more documents found in Google Scholar still uses
SPSS than R while it is vice-versa in Scopus .
30
What Is R?
• a programming “environment”
• object-oriented
• similar to S-Plus
• freeware
• provides calculations on matrices
• excellent graphics capabilities
• supported by a large user network
31
What is R Not?
• a statistics software package
• menu-driven
• quick to learn
• a program with a complex graphical interface
32
Installing R
• www.r-project.org/
• download from CRAN
• select a download site
• download the base package at a minimum
• download contributed packages as needed
33
Tutorials cont.
• Textbooks
The Art of R programming by Norman Matloff Handbook of programming with R by
Garrett Grolemund
38
DATA in
Disclaimer: Many of the image files used in this presentation have been downloaded from the internet. Any copyright holders who are not
duly acknowledged here may contact me for proper citation.
Contact : sreejiagriman@gmail.com

Contenu connexe

Tendances

Data cleaning and screening
Data cleaning and screeningData cleaning and screening
Data cleaning and screeningHassan Hussein
 
Quantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingQuantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingStatistics Solutions
 
Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Ho Cao Viet
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSSRayman Soe
 
Quantitative analysis using SPSS
Quantitative analysis using SPSSQuantitative analysis using SPSS
Quantitative analysis using SPSSAlaa Sadik
 
Questionnaire analysis using_spss
Questionnaire analysis using_spssQuestionnaire analysis using_spss
Questionnaire analysis using_spssKritika Jain
 
Final spss hands on training (descriptive analysis) may 24th 2013
Final spss  hands on training (descriptive analysis) may 24th 2013Final spss  hands on training (descriptive analysis) may 24th 2013
Final spss hands on training (descriptive analysis) may 24th 2013Tin Myo Han
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSScsula its training
 
Spss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatSpss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatMarwa Zalat
 
Basic knowledge on statistics
Basic knowledge on statisticsBasic knowledge on statistics
Basic knowledge on statisticsSubodh Khanal
 
Mba ii rm unit-4.1 data analysis & presentation a
Mba ii rm unit-4.1 data analysis & presentation aMba ii rm unit-4.1 data analysis & presentation a
Mba ii rm unit-4.1 data analysis & presentation aRai University
 
Research Methodology (MBA II SEM) - Introduction to SPSS
Research Methodology (MBA II SEM) - Introduction to SPSSResearch Methodology (MBA II SEM) - Introduction to SPSS
Research Methodology (MBA II SEM) - Introduction to SPSSGB Technical University
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysisgokulprasath06
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorialJack Rabah
 
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...Sampling Techniques, Data Collection and tabulation in the field of Social Sc...
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...Manoj Sharma
 

Tendances (19)

Data cleaning and screening
Data cleaning and screeningData cleaning and screening
Data cleaning and screening
 
Quantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingQuantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & Writing
 
Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Chapter 6 data analysis iec11
Chapter 6 data analysis iec11
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
 
Quantitative analysis using SPSS
Quantitative analysis using SPSSQuantitative analysis using SPSS
Quantitative analysis using SPSS
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
Statrting spss
Statrting spssStatrting spss
Statrting spss
 
Questionnaire analysis using_spss
Questionnaire analysis using_spssQuestionnaire analysis using_spss
Questionnaire analysis using_spss
 
Final spss hands on training (descriptive analysis) may 24th 2013
Final spss  hands on training (descriptive analysis) may 24th 2013Final spss  hands on training (descriptive analysis) may 24th 2013
Final spss hands on training (descriptive analysis) may 24th 2013
 
Statistics using SPSS
Statistics using SPSSStatistics using SPSS
Statistics using SPSS
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSS
 
Spss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatSpss basic Dr Marwa Zalat
Spss basic Dr Marwa Zalat
 
Basic knowledge on statistics
Basic knowledge on statisticsBasic knowledge on statistics
Basic knowledge on statistics
 
Mba ii rm unit-4.1 data analysis & presentation a
Mba ii rm unit-4.1 data analysis & presentation aMba ii rm unit-4.1 data analysis & presentation a
Mba ii rm unit-4.1 data analysis & presentation a
 
Research Methodology (MBA II SEM) - Introduction to SPSS
Research Methodology (MBA II SEM) - Introduction to SPSSResearch Methodology (MBA II SEM) - Introduction to SPSS
Research Methodology (MBA II SEM) - Introduction to SPSS
 
Exploratory data analysis
Exploratory data analysisExploratory data analysis
Exploratory data analysis
 
Analyzing survey data
Analyzing survey dataAnalyzing survey data
Analyzing survey data
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
 
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...Sampling Techniques, Data Collection and tabulation in the field of Social Sc...
Sampling Techniques, Data Collection and tabulation in the field of Social Sc...
 

Similaire à Data in science

Analysing & interpreting data.ppt
Analysing & interpreting data.pptAnalysing & interpreting data.ppt
Analysing & interpreting data.pptmanaswidebbarma1
 
Statistics pres 3.31.2014
Statistics pres 3.31.2014Statistics pres 3.31.2014
Statistics pres 3.31.2014tjcarter
 
Back to the basics-Part2: Data exploration: representing and testing data pro...
Back to the basics-Part2: Data exploration: representing and testing data pro...Back to the basics-Part2: Data exploration: representing and testing data pro...
Back to the basics-Part2: Data exploration: representing and testing data pro...Giannis Tsakonas
 
Introduction to Data Management in Human Ecology
Introduction to Data Management in Human EcologyIntroduction to Data Management in Human Ecology
Introduction to Data Management in Human EcologyKern Rocke
 
Statistics for IB Biology
Statistics for IB BiologyStatistics for IB Biology
Statistics for IB BiologyEran Earland
 
Datascience Introduction WebSci Summer School 2014
Datascience Introduction WebSci Summer School 2014Datascience Introduction WebSci Summer School 2014
Datascience Introduction WebSci Summer School 2014Claudia Wagner
 
Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Henock Beyene
 
Data and Data Collection - Quantitative and Qualitative
Data and Data Collection - Quantitative and QualitativeData and Data Collection - Quantitative and Qualitative
Data and Data Collection - Quantitative and Qualitativessuserc2c311
 
UNIT I -Data and Data Collection.ppt
UNIT I -Data and Data Collection.pptUNIT I -Data and Data Collection.ppt
UNIT I -Data and Data Collection.pptCHRISCONFORTE
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theoryUnsa Shakir
 
Quantitative Data - A Basic Introduction
Quantitative Data - A Basic IntroductionQuantitative Data - A Basic Introduction
Quantitative Data - A Basic IntroductionDrKevinMorrell
 
5 numerical descriptive statitics
5 numerical descriptive statitics5 numerical descriptive statitics
5 numerical descriptive statiticsPenny Jiang
 
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
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptNAGESH108233
 
Advanced statistics for librarians
Advanced statistics for librariansAdvanced statistics for librarians
Advanced statistics for librariansJohn McDonald
 
Sampling, measurement, and stats(2013)
Sampling, measurement, and stats(2013)Sampling, measurement, and stats(2013)
Sampling, measurement, and stats(2013)BarryCRNA
 

Similaire à Data in science (20)

Environmental statistics
Environmental statisticsEnvironmental statistics
Environmental statistics
 
Analysing & interpreting data.ppt
Analysing & interpreting data.pptAnalysing & interpreting data.ppt
Analysing & interpreting data.ppt
 
Statistics pres 3.31.2014
Statistics pres 3.31.2014Statistics pres 3.31.2014
Statistics pres 3.31.2014
 
Data collection
Data collectionData collection
Data collection
 
Back to the basics-Part2: Data exploration: representing and testing data pro...
Back to the basics-Part2: Data exploration: representing and testing data pro...Back to the basics-Part2: Data exploration: representing and testing data pro...
Back to the basics-Part2: Data exploration: representing and testing data pro...
 
Introduction to Data Management in Human Ecology
Introduction to Data Management in Human EcologyIntroduction to Data Management in Human Ecology
Introduction to Data Management in Human Ecology
 
Statistics for IB Biology
Statistics for IB BiologyStatistics for IB Biology
Statistics for IB Biology
 
Datascience Introduction WebSci Summer School 2014
Datascience Introduction WebSci Summer School 2014Datascience Introduction WebSci Summer School 2014
Datascience Introduction WebSci Summer School 2014
 
Descriptive Analysis.pptx
Descriptive Analysis.pptxDescriptive Analysis.pptx
Descriptive Analysis.pptx
 
Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01Spsshelp 100608163328-phpapp01
Spsshelp 100608163328-phpapp01
 
Data and Data Collection - Quantitative and Qualitative
Data and Data Collection - Quantitative and QualitativeData and Data Collection - Quantitative and Qualitative
Data and Data Collection - Quantitative and Qualitative
 
UNIT I -Data and Data Collection.ppt
UNIT I -Data and Data Collection.pptUNIT I -Data and Data Collection.ppt
UNIT I -Data and Data Collection.ppt
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theory
 
Quantitative Data - A Basic Introduction
Quantitative Data - A Basic IntroductionQuantitative Data - A Basic Introduction
Quantitative Data - A Basic Introduction
 
Metaanalysis copy
Metaanalysis    copyMetaanalysis    copy
Metaanalysis copy
 
5 numerical descriptive statitics
5 numerical descriptive statitics5 numerical descriptive statitics
5 numerical descriptive statitics
 
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
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.ppt
 
Advanced statistics for librarians
Advanced statistics for librariansAdvanced statistics for librarians
Advanced statistics for librarians
 
Sampling, measurement, and stats(2013)
Sampling, measurement, and stats(2013)Sampling, measurement, and stats(2013)
Sampling, measurement, and stats(2013)
 

Dernier

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 

Dernier (20)

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 

Data in science

  • 1. Sreejith Aravindakshan, Consultant, CIMMYT and Wageningen University, Netherlands 1 A date with DATA: Getting to know more about data analysis and models
  • 2. “Data is the new oil” • Data is a collection of facts, such as numbers, words, measurements, observations or even just descriptions of things • Data is all around us. But what exactly is it? Data is a value assigned to a thing. Color, Shape, Number, Condition, Size QUALITATIVE DATA : is everything that refers to the quality of something: A description of colours, texture and feel of an object, a description of experiences, and interviews are all qualitative data. QUANTITATIVE DATA : is data that refers to a number. E.g. the number of golf balls, the size, the price, a score on a test etc. 2
  • 3. 3 • Categorical data is qualitative in nature • Numerical (quantitative) data of both discrete and continuous nature can be interval or ratio data also • Interval data has ordered values with same difference but lack a true zero value e.g. Temperature. PH. • Ratio data are also ordered values with same difference but has a true zero value e.g. height, weight.
  • 4. Categorical Data : puts the item you are describing into a category: For example, the condition “used” would be categorical and also categories such as “new”, “used”, ”broken” etc. Discrete Data : is numerical data that has gaps in it: e.g. the count of golf balls. There can only be whole numbers of golf ball (there is no such thing as 0.3 golf balls). Continuous Data : is numerical data with a continuous range: e.g. size of the golf balls can be any value (e.q. 10.55 mm or 10.61 mm but also 10.536 mm). In continuous data, all values are possible with no gaps in between. Primary Data Secondary Data 4
  • 5. 5 Hypothesis Sampling Data Collection Data Entry Data Cleaning Theory Research Design Data storage What are the steps?
  • 7. • From researchers’ experience  Can result in wide confidence interval or measurement error • Using some formula For instance, Cochran’s formula for sample size calculation: 𝑛0 = 𝑍2 𝑝𝑞 𝑒2 Where:  e is the desired level of precision (i.e. the margin of error or confidence interval),  p is the (estimated) proportion of the population which has the attribute in question,  q is 1 – p. Determining the ideal sample size 7
  • 8. Example  Suppose we are doing a study on the inhabitants of a large town or village, and want to find out how many households serve breakfast in the mornings. We don’t have much information on the subject to begin with, so we’re going to assume that half of the families serve breakfast: this gives us maximum variability. So p = 0.5. Now let’s say we want 95% confidence level, and at least 5 percent—plus or minus—precision. A 95 % confidence level gives us Z values of 1.96, from the table values, so we get  ((1.96)2 *(0.5) *(0.5)) / (0.05)2 = 384.16 ~ 385.  So a random sample of 385 households in our target population should be enough to give us the confidence levels we need. 8
  • 9. Both Accurate and Precise Accurate Not precise Not accurate But precise Neither accurate nor precise • Accuracy refers to how close measurements are to the "true" value • Precision refers to how close measurements are to each other Data accuracy vs. precision 9
  • 10. Independent Variable: The variable in the study under consideration. The cause for the outcome for the study. Dependent Variable: The variable being affected by the independent variable. The effect of the study y = f(x) Which is which here? 10
  • 11. Principles of Data Collection • Understanding and knowing what types of data required • Collect only relevant data • Determine methods of data collection  Survey/questionnaire  Observation, participatory  Focus groups  Standard instruments  Content analysis  Experiments/observations  Personal interviews  Literature search – meta analysis 11
  • 12. Principles….. • Where, who, how, and when to collect * Research design * Sampling procedure * Prepare field work schedule/data plan * Conduct preliminary (surveys) investigation • Assess situation and prepare further strategies 12
  • 13. 13  Enter the data in MS-Excel.  Top row with variable labels in each cell.  Save the entered data as .csv file in MS-Excel
  • 14. Data analysis has been around for a while… R.A. Fisher Howard Dresner Peter LuhnW.E. Deming Robert Gentleman Ross Ihaka 14
  • 15. Knowing your data Descriptive/summary statistics: Mean, median, mode, standard deviation, frequencies, standard error 15
  • 17. • Consider the set • 1, 1, 2, 2, 3, 6, 7, 11, 11, 13, 14, 16, 19 • In this case there are 13 values so the median is the middle value, or (n+1) / 2 • (13+1) /2 = 7 • Consider the set • 1, 1, 2, 2, 3, 6, 7, 11, 11, 13, 14, 16 • In the second case, the mean of the two middle values is the median or (n+1) /2 (12 + 1) / 2 = 6.5 ~ (6+7) / 2 = 6.5 Median 17
  • 18. The most frequent value in a data set • Consider the set • 1, 1, 1, 1, 2, 2, 3, 6, 11, 11, 11, 13, 14, 16, 19 • In this case the mode is 1 because it is the most common value. • This is a case of unimodal distrbution • There may be cases where there are more than one mode as in this case • Consider the set • 1, 1, 1, 1, 2, 2, 3, 6, 11, 11, 11, 11, 13, 14, 16, 19 • In this case there are two modes (bimodal) : 1 and 11 because both occur 4 times in the data set. Mode 18
  • 21. R is just super cool for data analytics 21
  • 22. Visualizing my scientific career using data in R R package “ggplot2” is amazing!! 23
  • 23. Basic regression models y = Dependent variable (Response variable) x = Independent variable (Explanatory or predictor variable) 𝜀 = random error component 𝛽0 = intercept 𝛽1 = Slope or coefficient of 𝑥 and 𝑥1 in linear model and multiple regression models, respectively 𝑦 = 𝛽0 + 𝛽1 𝑥1 + 𝛽2 𝑥2 + ⋯ + 𝛽 𝑘 𝑥 𝑘 + 𝜀 𝑦 = 𝛽0 + 𝛽1 𝑥 + 𝜀 24
  • 24. O F Y X I OLS Regression SFA DEA Output Efficiency of F: FO/YO Input Efficiency of F: XI/XF
  • 25.
  • 26. Symbol Meaning Level of significance ns P > 0.05 Not applicable * P ≤ 0.05 At 10% level ** P ≤ 0.01 At 5% level *** P ≤ 0.001 At 1% level **** P ≤ 0.0001 At 0.1% level "p-value offers a first defense line against being fooled by randomness, separating signal from noise" 26 Statistical significance and p-value
  • 27. Chance (Random Error; Sampling Error) Bias (Systematic Errors [inaccuracies])  Selection bias  Loss to follow-up bias Information bias • Nondifferential (e.g. simple misclassification) • Differential Biases (e.g., recall bias, interviewer bias) Confounding (Imbalance in Other Factors) A situation in which the effect of two processes are not separated. Errors affecting validity. A systematic error (caused by the investigator or the subjects) that causes an incorrect (over- or under-) estimate of an association. What is bias? 27
  • 28. 28 A word of caution: “Interpretation can however be subjective”
  • 29. Don’t have any strong opinion about SPSS since I am not an avid user of the same...... 29
  • 30. R or others – The fight is on A lot more documents found in Google Scholar still uses SPSS than R while it is vice-versa in Scopus . 30
  • 31. What Is R? • a programming “environment” • object-oriented • similar to S-Plus • freeware • provides calculations on matrices • excellent graphics capabilities • supported by a large user network 31
  • 32. What is R Not? • a statistics software package • menu-driven • quick to learn • a program with a complex graphical interface 32
  • 33. Installing R • www.r-project.org/ • download from CRAN • select a download site • download the base package at a minimum • download contributed packages as needed 33
  • 34.
  • 35.
  • 36.
  • 37.
  • 38. Tutorials cont. • Textbooks The Art of R programming by Norman Matloff Handbook of programming with R by Garrett Grolemund 38
  • 39.
  • 40.
  • 41.
  • 42.
  • 44. Disclaimer: Many of the image files used in this presentation have been downloaded from the internet. Any copyright holders who are not duly acknowledged here may contact me for proper citation. Contact : sreejiagriman@gmail.com