SlideShare a Scribd company logo
Introduction to applied statistics &
applied statistical methods
Prof. Dr. Chang Zhu1
Aims
• Exploring data (descriptive statistics)
central tendency
data distribution (spread/dispersion)
• Testing assumption
normal distribution
population vs. sample
• In reality, we can just collect a small
subset of the population.
descriptive vs. inferential
• Inferential statistics: draw conclusions
based on a data set (sample) to the entire
population.
• Descriptive statistics: summarize a data
set
descriptive statistics
• Measures of central tendency
(mean, median, mode)
• Measures of spread or dispersion
(range, variance, standard deviation)
measures of central tendency
• A researcher is interested in the degree to
which a person spends time on Facebook
(in hours per week) and the amount of
time spent socialising with friends (number
of social encounters per month).
• He comes up with the following data set.
(adapted from
http://wps.pearsoned.co.uk/ema_uk_he_dancey_statsmath
_4/84/21626/5536329.cw/index.html)
measures of central tendency
P_ID Facebook use Social encounters
1 10 1
2 11 2
3 11 3
4 12 3
5 14 4
6 15 9
7 16 10
measures of central tendency
10 11 11 12 14 15 16
Facebook use (hours per week)
• How many hours do the participants spend on
average? (sum = 89)
• What is the score that occurs with the most
frequency?
• What is the score that divides the data into 2
equal halves?
measures of central tendency
10 11 11 12 14 15 16
Facebook use (hours per week)
• Mean: on average = 12.7
• Mode: the most frequency = 11
• Medium: divides the data into 2 equal halves = 12
measures of central tendency
10 11 11 12 14 15 16
Facebook use (hours per week)
• mean = 12.7
• mode = 11
• median = 12
measures of central tendency
– Mean: For normally distributed data, measured as
interval and ratio (scales), the appropriate
measure of central tendency is the mean.
– Median: The median is most appropriate for data
measured as ordinal (but can still be used for
continuous data)
– Mode: is the appropriate measure of central
tendency for nominal data.
measures of spread
observed deviance from
mean (M = 12.7)
squared
deviances
10 -2.7 7.29
11 -1.7 2.89
11 -1.7 2.89
12 -0.7 0.49
14 1.3 1.69
15 2.3 5.29
16 3.3 10.89
measures of spread
How representative is the mean?
• add up all the squared deviances: sum of
squared errors
affected by sample size
• divide by the number of participants minus 1:
variance
• square root the variance: standard deviation
measures of spread
• Range: the difference between the highest
(maximum) and lowest (minimum) scores.
e.g. range = 16-10 = 6
not quite objective, depending on the
length of the data set.
In SPSS
Analyse > Descriptive Statistics > Frequencies
> Statistics
SPSS output
M = 12.7
SD = 2.28
Check it!
Are the standard deviations correct for gender
and modes of learning (full-time/part-time)
variables?
visualize the distribution
with histogram
Analyse > Descriptive Statistics >
Frequencies > Charts
normal curve
visualize the distribution
with histogram
a histogram with normal
distribution (bell-shaped)
• unimodal (one peak)
• symmetrical
• centered around the mean
skewed distribution
mode<median<meanmode>median>mean
skewness: measure of symmetry
kurtosis
kurtosis: measure the shape of the “bell”
testing assumption
quantifying normal distribution:
• the Kolmogorov-Smirnov (K-S) test and the
Shapiro-Wilk test: compare the scores of our
data set with a normally distributed set of
scores with the same mean and standard
deviation)
• p>.05: non-significant
not different: normally distributed
• p<.05: significant
different : non-normal
normality assumption
• not normally distributed
• outliers: a score which is very different
from the others
• How to identify outliers?
Boxplot
In SPSS
Graphs > Chart Builder > Boxplot
In SPSS
Graphs > Chart Builder > Boxplot
Questions?
• Descriptive statistics (mean, median,
mode, range, variance, standard
deviation)
• Skewness/Kurtosis
• Histogram to visualize the distribution
In SPSS: Analyse > Descriptive Statistics
> Frequencies > Statistics/Charts
• Test of normal distribution (the K-S test)
In SPSS: Analyse > Descriptive Statistics
> Explore > Plots> Normality plots with tests
PRACTICE
Practice 1
• using the date file sample data 1.sav
• conduct the descriptive statistics to explore (the
variable named Intrinsic_Motivation_learn)
mean, mode, median
range, variance, standard deviation
draw a histogram to see the frequency of
scores
In SPSS
Analyse > Descriptive Statistics > Frequencies
Frequencies: Statistics dialogue box
Frequencies: Charts dialogue box
Descriptive Statistics: results
Descriptive Statistics: Histogram
Practice 2
• using the date file sample data 1.sav
• conduct the Kolmogorov-Smirnov (K-S) test
and the Shapiro-Wilk test
• Are the scores of the variable
Intrinsic_Motivation_learn normally
distributed?
In SPSS
Analyse > Descriptive Statistics > Explore
Explore: Plots dialogue box
Test of normality: results
According to the result, the Kolmogorov-Smirnov test and the
Shapiro-Wilk test are highly significant, indicating that the distribution
of scores for the variable Intrinsic_Motivation_learn is significantly
different from a normal distribution. In other words, the distribution is
not normal.
Practice 3
• using the date file SPSSexam.sav
• conduct the Kolmogorov-Smirnov (K-S) test
and the Shapiro-Wilk test for the variable
exam
1. Are the scores of the variable exam
normally distributed?
2. Redo the K-S test, this time organize the
data by university (Hint: move the variable uni
to the Factor List)

More Related Content

What's hot

Introduction to biostatistics
Introduction to biostatisticsIntroduction to biostatistics
Introduction to biostatistics
Ali Al Mousawi
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
Neny Isharyanti
 
Measures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and ShapesMeasures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and Shapes
ScholarsPoint1
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
Dalia El-Shafei
 
Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
donthuraj
 
Normality
NormalityNormality
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.pptNursing Path
 
statistical analysis
statistical analysisstatistical analysis
statistical analysis
Rakhi Kripa Prince
 
Central limit theorem
Central limit theoremCentral limit theorem
Central limit theoremVijeesh Soman
 
Data Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataData Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataRoqui Malijan
 
Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"
Dalia El-Shafei
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
Attaullah Khan
 
Population and sampling
Population and samplingPopulation and sampling
Population and sampling
Edu Anud, Jr
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
Sarfraz Ahmad
 
In Anova
In  AnovaIn  Anova
In Anova
ahmad bassiouny
 
Introduction to Statistics - Basic concepts
Introduction to Statistics - Basic conceptsIntroduction to Statistics - Basic concepts
Introduction to Statistics - Basic concepts
DocIbrahimAbdelmonaem
 
Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)
YesAnalytics
 
Simple random sampling
Simple random samplingSimple random sampling
Simple random samplingsuncil0071
 

What's hot (20)

Introduction to biostatistics
Introduction to biostatisticsIntroduction to biostatistics
Introduction to biostatistics
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
 
Measures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and ShapesMeasures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and Shapes
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
 
Normality
NormalityNormality
Normality
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
 
statistical analysis
statistical analysisstatistical analysis
statistical analysis
 
Central limit theorem
Central limit theoremCentral limit theorem
Central limit theorem
 
Data Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataData Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of Data
 
Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Population and sampling
Population and samplingPopulation and sampling
Population and sampling
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Data analysis copy
Data analysis   copyData analysis   copy
Data analysis copy
 
In Anova
In  AnovaIn  Anova
In Anova
 
Introduction to Statistics - Basic concepts
Introduction to Statistics - Basic conceptsIntroduction to Statistics - Basic concepts
Introduction to Statistics - Basic concepts
 
Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)Introduction to Statistics (Part -I)
Introduction to Statistics (Part -I)
 
Intro to stats
Intro to statsIntro to stats
Intro to stats
 
Simple random sampling
Simple random samplingSimple random sampling
Simple random sampling
 

Similar to Applied statistics lecture_2

Descriptive_statistics - Sample 1.pptx
Descriptive_statistics - Sample 1.pptxDescriptive_statistics - Sample 1.pptx
Descriptive_statistics - Sample 1.pptx
SachinKumar524686
 
Res701 research methodology lecture 7 8-devaprakasam
Res701 research methodology lecture 7 8-devaprakasamRes701 research methodology lecture 7 8-devaprakasam
Res701 research methodology lecture 7 8-devaprakasam
VIT University (Chennai Campus)
 
Data and Data Collection in Data Science.ppt
Data and Data Collection in Data Science.pptData and Data Collection in Data Science.ppt
Data and Data Collection in Data Science.ppt
ammarhaider78
 
CABT Math 8 measures of central tendency and dispersion
CABT Math 8   measures of central tendency and dispersionCABT Math 8   measures of central tendency and dispersion
CABT Math 8 measures of central tendency and dispersionGilbert Joseph Abueg
 
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
NAGESH108233
 
Descriptive Statistics: Mean, Median Mode and Standard Deviation.
Descriptive Statistics: Mean, Median Mode and Standard Deviation.Descriptive Statistics: Mean, Median Mode and Standard Deviation.
Descriptive Statistics: Mean, Median Mode and Standard Deviation.
Megha Sharma
 
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
NAGESH108233
 
Data collection
Data collectionData collection
Data collection
Suparyati Amikom
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statisticsAmira Talic
 
IDS-Unit-II. bachelor of computer applicatio notes
IDS-Unit-II. bachelor of computer applicatio notesIDS-Unit-II. bachelor of computer applicatio notes
IDS-Unit-II. bachelor of computer applicatio notes
AnkurTiwari813070
 
Descriptive Statistics.pptx
Descriptive Statistics.pptxDescriptive Statistics.pptx
Descriptive Statistics.pptx
test215275
 
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
CHRISCONFORTE
 
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
ssuserc2c311
 
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptxSTATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
MuhammadNafees42
 
Introduction to Statistics53004300.ppt
Introduction to Statistics53004300.pptIntroduction to Statistics53004300.ppt
Introduction to Statistics53004300.ppt
TripthiDubey
 
Basic Statistical Concepts in Machine Learning.pptx
Basic Statistical Concepts in Machine Learning.pptxBasic Statistical Concepts in Machine Learning.pptx
Basic Statistical Concepts in Machine Learning.pptx
bajajrishabh96tech
 
Quantitative Research Design.pptx
Quantitative Research Design.pptxQuantitative Research Design.pptx
Quantitative Research Design.pptx
Alok Kumar Gaurav
 
data analysis in Statistics-2023 guide 2023
data analysis in Statistics-2023 guide 2023data analysis in Statistics-2023 guide 2023
data analysis in Statistics-2023 guide 2023
ayesha455941
 

Similar to Applied statistics lecture_2 (20)

Descriptive_statistics - Sample 1.pptx
Descriptive_statistics - Sample 1.pptxDescriptive_statistics - Sample 1.pptx
Descriptive_statistics - Sample 1.pptx
 
Res701 research methodology lecture 7 8-devaprakasam
Res701 research methodology lecture 7 8-devaprakasamRes701 research methodology lecture 7 8-devaprakasam
Res701 research methodology lecture 7 8-devaprakasam
 
Data and Data Collection in Data Science.ppt
Data and Data Collection in Data Science.pptData and Data Collection in Data Science.ppt
Data and Data Collection in Data Science.ppt
 
CABT Math 8 measures of central tendency and dispersion
CABT Math 8   measures of central tendency and dispersionCABT Math 8   measures of central tendency and dispersion
CABT Math 8 measures of central tendency and dispersion
 
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
 
Descriptive Statistics: Mean, Median Mode and Standard Deviation.
Descriptive Statistics: Mean, Median Mode and Standard Deviation.Descriptive Statistics: Mean, Median Mode and Standard Deviation.
Descriptive Statistics: Mean, Median Mode and Standard Deviation.
 
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
 
Dscriptive statistics
Dscriptive statisticsDscriptive statistics
Dscriptive statistics
 
Data collection
Data collectionData collection
Data collection
 
Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
 
IDS-Unit-II. bachelor of computer applicatio notes
IDS-Unit-II. bachelor of computer applicatio notesIDS-Unit-II. bachelor of computer applicatio notes
IDS-Unit-II. bachelor of computer applicatio notes
 
Descriptive Statistics.pptx
Descriptive Statistics.pptxDescriptive Statistics.pptx
Descriptive Statistics.pptx
 
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
 
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
 
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptxSTATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
 
Introduction to Statistics53004300.ppt
Introduction to Statistics53004300.pptIntroduction to Statistics53004300.ppt
Introduction to Statistics53004300.ppt
 
Basic Statistical Concepts in Machine Learning.pptx
Basic Statistical Concepts in Machine Learning.pptxBasic Statistical Concepts in Machine Learning.pptx
Basic Statistical Concepts in Machine Learning.pptx
 
Quantitative Research Design.pptx
Quantitative Research Design.pptxQuantitative Research Design.pptx
Quantitative Research Design.pptx
 
Statistics
StatisticsStatistics
Statistics
 
data analysis in Statistics-2023 guide 2023
data analysis in Statistics-2023 guide 2023data analysis in Statistics-2023 guide 2023
data analysis in Statistics-2023 guide 2023
 

More from Daria Bogdanova

Get started: Learning approaches
Get started: Learning approachesGet started: Learning approaches
Get started: Learning approaches
Daria Bogdanova
 
Template outline of_a_systematic_review_research_paper
Template outline of_a_systematic_review_research_paperTemplate outline of_a_systematic_review_research_paper
Template outline of_a_systematic_review_research_paper
Daria Bogdanova
 
Template of a_research_proposal
Template of a_research_proposalTemplate of a_research_proposal
Template of a_research_proposal
Daria Bogdanova
 
Research seminar lecture_apa_writing_and_references_students_full
Research seminar lecture_apa_writing_and_references_students_fullResearch seminar lecture_apa_writing_and_references_students_full
Research seminar lecture_apa_writing_and_references_students_fullDaria Bogdanova
 
Research seminar lecture_10_analysing_qualitative_data
Research seminar lecture_10_analysing_qualitative_dataResearch seminar lecture_10_analysing_qualitative_data
Research seminar lecture_10_analysing_qualitative_data
Daria Bogdanova
 
Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groupsResearch seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groupsDaria Bogdanova
 
Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groups Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groups
Daria Bogdanova
 
Research seminar lecture_8_mixed_methods_research
Research seminar lecture_8_mixed_methods_researchResearch seminar lecture_8_mixed_methods_research
Research seminar lecture_8_mixed_methods_research
Daria Bogdanova
 
Research seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_researchResearch seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_research
Daria Bogdanova
 
Research seminar lecture_6
Research seminar lecture_6Research seminar lecture_6
Research seminar lecture_6
Daria Bogdanova
 
Research seminar lecture_4_research_questions
Research seminar lecture_4_research_questionsResearch seminar lecture_4_research_questions
Research seminar lecture_4_research_questions
Daria Bogdanova
 
Research seminar lecture_3_literature_review
Research seminar lecture_3_literature_reviewResearch seminar lecture_3_literature_review
Research seminar lecture_3_literature_review
Daria Bogdanova
 
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
Daria Bogdanova
 
Research seminar lecture_1_educational_research_proposal_&_apa
Research seminar lecture_1_educational_research_proposal_&_apaResearch seminar lecture_1_educational_research_proposal_&_apa
Research seminar lecture_1_educational_research_proposal_&_apa
Daria Bogdanova
 
Lecture 8 guidelines_and_assignments
Lecture 8 guidelines_and_assignmentsLecture 8 guidelines_and_assignments
Lecture 8 guidelines_and_assignmentsDaria Bogdanova
 
Lecture 7 guidelines_and_assignment
Lecture 7 guidelines_and_assignmentLecture 7 guidelines_and_assignment
Lecture 7 guidelines_and_assignmentDaria Bogdanova
 
Lecture 6 guidelines_and_assignment
Lecture 6 guidelines_and_assignmentLecture 6 guidelines_and_assignment
Lecture 6 guidelines_and_assignmentDaria Bogdanova
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsDaria Bogdanova
 
Lecture 3 practical_guidelines_assignment
Lecture 3 practical_guidelines_assignmentLecture 3 practical_guidelines_assignment
Lecture 3 practical_guidelines_assignmentDaria Bogdanova
 
Lecture 2 practical_guidelines_assignment
Lecture 2 practical_guidelines_assignmentLecture 2 practical_guidelines_assignment
Lecture 2 practical_guidelines_assignmentDaria Bogdanova
 

More from Daria Bogdanova (20)

Get started: Learning approaches
Get started: Learning approachesGet started: Learning approaches
Get started: Learning approaches
 
Template outline of_a_systematic_review_research_paper
Template outline of_a_systematic_review_research_paperTemplate outline of_a_systematic_review_research_paper
Template outline of_a_systematic_review_research_paper
 
Template of a_research_proposal
Template of a_research_proposalTemplate of a_research_proposal
Template of a_research_proposal
 
Research seminar lecture_apa_writing_and_references_students_full
Research seminar lecture_apa_writing_and_references_students_fullResearch seminar lecture_apa_writing_and_references_students_full
Research seminar lecture_apa_writing_and_references_students_full
 
Research seminar lecture_10_analysing_qualitative_data
Research seminar lecture_10_analysing_qualitative_dataResearch seminar lecture_10_analysing_qualitative_data
Research seminar lecture_10_analysing_qualitative_data
 
Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groupsResearch seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groups
 
Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groups Research seminar lecture_9_focus_groups
Research seminar lecture_9_focus_groups
 
Research seminar lecture_8_mixed_methods_research
Research seminar lecture_8_mixed_methods_researchResearch seminar lecture_8_mixed_methods_research
Research seminar lecture_8_mixed_methods_research
 
Research seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_researchResearch seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_research
 
Research seminar lecture_6
Research seminar lecture_6Research seminar lecture_6
Research seminar lecture_6
 
Research seminar lecture_4_research_questions
Research seminar lecture_4_research_questionsResearch seminar lecture_4_research_questions
Research seminar lecture_4_research_questions
 
Research seminar lecture_3_literature_review
Research seminar lecture_3_literature_reviewResearch seminar lecture_3_literature_review
Research seminar lecture_3_literature_review
 
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
Research seminar lecture_2_research_proposal__types_of_research_methods_stude...
 
Research seminar lecture_1_educational_research_proposal_&_apa
Research seminar lecture_1_educational_research_proposal_&_apaResearch seminar lecture_1_educational_research_proposal_&_apa
Research seminar lecture_1_educational_research_proposal_&_apa
 
Lecture 8 guidelines_and_assignments
Lecture 8 guidelines_and_assignmentsLecture 8 guidelines_and_assignments
Lecture 8 guidelines_and_assignments
 
Lecture 7 guidelines_and_assignment
Lecture 7 guidelines_and_assignmentLecture 7 guidelines_and_assignment
Lecture 7 guidelines_and_assignment
 
Lecture 6 guidelines_and_assignment
Lecture 6 guidelines_and_assignmentLecture 6 guidelines_and_assignment
Lecture 6 guidelines_and_assignment
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignments
 
Lecture 3 practical_guidelines_assignment
Lecture 3 practical_guidelines_assignmentLecture 3 practical_guidelines_assignment
Lecture 3 practical_guidelines_assignment
 
Lecture 2 practical_guidelines_assignment
Lecture 2 practical_guidelines_assignmentLecture 2 practical_guidelines_assignment
Lecture 2 practical_guidelines_assignment
 

Applied statistics lecture_2

  • 1. Introduction to applied statistics & applied statistical methods Prof. Dr. Chang Zhu1
  • 2. Aims • Exploring data (descriptive statistics) central tendency data distribution (spread/dispersion) • Testing assumption normal distribution
  • 3. population vs. sample • In reality, we can just collect a small subset of the population.
  • 4. descriptive vs. inferential • Inferential statistics: draw conclusions based on a data set (sample) to the entire population. • Descriptive statistics: summarize a data set
  • 5. descriptive statistics • Measures of central tendency (mean, median, mode) • Measures of spread or dispersion (range, variance, standard deviation)
  • 6. measures of central tendency • A researcher is interested in the degree to which a person spends time on Facebook (in hours per week) and the amount of time spent socialising with friends (number of social encounters per month). • He comes up with the following data set. (adapted from http://wps.pearsoned.co.uk/ema_uk_he_dancey_statsmath _4/84/21626/5536329.cw/index.html)
  • 7. measures of central tendency P_ID Facebook use Social encounters 1 10 1 2 11 2 3 11 3 4 12 3 5 14 4 6 15 9 7 16 10
  • 8. measures of central tendency 10 11 11 12 14 15 16 Facebook use (hours per week) • How many hours do the participants spend on average? (sum = 89) • What is the score that occurs with the most frequency? • What is the score that divides the data into 2 equal halves?
  • 9. measures of central tendency 10 11 11 12 14 15 16 Facebook use (hours per week) • Mean: on average = 12.7 • Mode: the most frequency = 11 • Medium: divides the data into 2 equal halves = 12
  • 10. measures of central tendency 10 11 11 12 14 15 16 Facebook use (hours per week) • mean = 12.7 • mode = 11 • median = 12
  • 11. measures of central tendency – Mean: For normally distributed data, measured as interval and ratio (scales), the appropriate measure of central tendency is the mean. – Median: The median is most appropriate for data measured as ordinal (but can still be used for continuous data) – Mode: is the appropriate measure of central tendency for nominal data.
  • 12. measures of spread observed deviance from mean (M = 12.7) squared deviances 10 -2.7 7.29 11 -1.7 2.89 11 -1.7 2.89 12 -0.7 0.49 14 1.3 1.69 15 2.3 5.29 16 3.3 10.89
  • 13. measures of spread How representative is the mean? • add up all the squared deviances: sum of squared errors affected by sample size • divide by the number of participants minus 1: variance • square root the variance: standard deviation
  • 14. measures of spread • Range: the difference between the highest (maximum) and lowest (minimum) scores. e.g. range = 16-10 = 6 not quite objective, depending on the length of the data set.
  • 15. In SPSS Analyse > Descriptive Statistics > Frequencies > Statistics
  • 16. SPSS output M = 12.7 SD = 2.28
  • 17. Check it! Are the standard deviations correct for gender and modes of learning (full-time/part-time) variables?
  • 18. visualize the distribution with histogram Analyse > Descriptive Statistics > Frequencies > Charts
  • 19. normal curve visualize the distribution with histogram
  • 20. a histogram with normal distribution (bell-shaped) • unimodal (one peak) • symmetrical • centered around the mean
  • 22. kurtosis kurtosis: measure the shape of the “bell”
  • 23. testing assumption quantifying normal distribution: • the Kolmogorov-Smirnov (K-S) test and the Shapiro-Wilk test: compare the scores of our data set with a normally distributed set of scores with the same mean and standard deviation) • p>.05: non-significant not different: normally distributed • p<.05: significant different : non-normal
  • 24. normality assumption • not normally distributed • outliers: a score which is very different from the others • How to identify outliers? Boxplot
  • 25. In SPSS Graphs > Chart Builder > Boxplot
  • 26. In SPSS Graphs > Chart Builder > Boxplot
  • 27. Questions? • Descriptive statistics (mean, median, mode, range, variance, standard deviation) • Skewness/Kurtosis • Histogram to visualize the distribution In SPSS: Analyse > Descriptive Statistics > Frequencies > Statistics/Charts • Test of normal distribution (the K-S test) In SPSS: Analyse > Descriptive Statistics > Explore > Plots> Normality plots with tests
  • 29. Practice 1 • using the date file sample data 1.sav • conduct the descriptive statistics to explore (the variable named Intrinsic_Motivation_learn) mean, mode, median range, variance, standard deviation draw a histogram to see the frequency of scores
  • 30. In SPSS Analyse > Descriptive Statistics > Frequencies
  • 35. Practice 2 • using the date file sample data 1.sav • conduct the Kolmogorov-Smirnov (K-S) test and the Shapiro-Wilk test • Are the scores of the variable Intrinsic_Motivation_learn normally distributed?
  • 36. In SPSS Analyse > Descriptive Statistics > Explore
  • 38. Test of normality: results According to the result, the Kolmogorov-Smirnov test and the Shapiro-Wilk test are highly significant, indicating that the distribution of scores for the variable Intrinsic_Motivation_learn is significantly different from a normal distribution. In other words, the distribution is not normal.
  • 39. Practice 3 • using the date file SPSSexam.sav • conduct the Kolmogorov-Smirnov (K-S) test and the Shapiro-Wilk test for the variable exam 1. Are the scores of the variable exam normally distributed? 2. Redo the K-S test, this time organize the data by university (Hint: move the variable uni to the Factor List)