SlideShare a Scribd company logo
1 of 21
RECODING VARIABLE &
ANOVA IN SPSS
The Data Editor of SPSS consists of two windows:
- Data View spreadsheet allows the data to be entered and viewed.
Each variable occupies a column of this spreadsheet.
The Data Editor of SPSS consists of two windows:
- Variable View spreadsheet allows to define the types of variables
to be specified and viewed. Each variable occupies a row of this
spreadsheet.
1- Name: represents the variable name, that must be define
as alphanumeric characters (special characters are not
allowed).
2- Type: represents the definition of variable including
various formats for numerical data, dates, or currencies.
3- Width: represents the width of the actual data entries (
number of digits).
4- Decimals: represents the number of digits to the right of
the decimal place to be displayed for data entries.
5- Label: is attached to the variable name to remind user
about the meaning of variable.
6- Values: is used to define the categorical variables such as
sex variable includes ( male and female).
The Data Editor of SPSS consists of two windows:
- Variable View spreadsheet allows to define the types of variables
to be specified and viewed. Each variable occupies a row of this
spreadsheet.
7- Missing: represents the values that are outside your
actual data range.
8- Columns: represents the width of the variable column in
the data view spreadsheet.
9- Align: represents how the variable entries to be aligned in
data view spreadsheet.
10- Measure: represents the measurement scale of the
variable.
Numeric variable  scale
String variable  Nominal
Categorical Variable  Ordinal
Recoding Variable in SPSS
Recoding variable is a process of creating a new variable from current available variables in the
dataset. This enable the user to work with some variables in different forms. For instance, the user
might want to categorize income or age variables into categories.
There are two types of recoding variable:
1- Into same variable (the original data will be replaced permanently by the new data)
2- Into different variable (create new variable to put the data into)
Let us start with the following example:
Recoding Variable in SPSS
To recode the age variable into three categorizes:
(20-25)  Group A
(26-30)  Group B
(31-40)  Group C
From Transformation menu  Recode  Into Different Variables
Recoding Variable in SPSS
To recode the age variable into three variables:
(20-25)  Group A
(26-30)  Group B
(31-40)  Group C
Recoding Variable in SPSS
To recode the age variable into three variables:
(20-25)  Group A
(26-30)  Group B
(31-40)  Group C
Analysis of Variance (ANOVA)
An ANOVA test is a way to find out if experiment results are significant. In other words,
it helps you to figure out if you need to reject the null hypothesis or accept
the alternate hypothesis. Basically, you’re testing groups to see if there’s a difference
between them.
Examples of when you might want to test different groups:
- A group of pathological patients are trying three different therapies. You want to see if one therapy is
better than the others.
- A manufacturer has two different processes to make light bulbs. They want to know if one process is
better than the other.
- Students from different colleges take the same exam. You want to see if one college outperforms the
other.
Analysis of Variance (ANOVA)
An ANOVA test is parametric tests that require assumptions for using it correctly.
The assumptions are:
1- Normality (the simplest identification trait for normality is that the mean, median and
trimmed mean are similar. For perfectly normal distribution, all three central tendency
measures must be equal. If the mean is considerably above or below the median and
trimmed mean, the data is skewed or asymmetrically distributed.
2- Homogeneity (this assumption implies that the variances of the three or more groups are similar (p
value >0.05).
3- Independence (ensure that the data values are not related. That is no two data items measure the
same thing or produce that same effect.
Analysis of Variance (ANOVA) Example
A farmer wants to know if the weight of parsley plants is influenced by using a fertilizer. He selects 90
plants and randomly divides them into three groups of 30 plants each. He applies a biological
fertilizer to the first group, a chemical fertilizer to the second group and no fertilizer at all to the third
group. After a month he weighs all plants, and he want to conclude the fertilizer affects weight?
1- Quick Normality Check of Data
Fertilizer mean median
None 51.2 50
Biological 53.63 53.5
Chemical 56.96 57.5
Analysis of Variance (ANOVA) Example
1- Quick Normality Check of Data
It is possible to check the distribution of data visually
by drawing the histogram.
Graphs Legacy Dialog Histogram
Analysis of Variance (ANOVA) Example
Analyze  Compare means  One-way ANOVA
Analysis of Variance (ANOVA) Example
P-value >0.05
P-value <0.05 that’s mean
there is a significant
differences among the
three fertilizer methods
and the weights of parsley
plants are affected by the
fertilizer. We need to
explore where the
differences are?
We need to carry out a
post-Hoc analyses.
Analysis of Variance (ANOVA) Example
Analysis of Variance (ANOVA) Example
From the multiple comparison
table we see that none and
chemical fertilizer exert
significantly different effects on
parsley plants, where
(p<0.008)
Analysis of Variance (ANOVA)
Calculate the mean, median and 20% trimmed mean for the number set x={8, 3, 7, 1, 3, 9}:
Sample size = 6 then:
1- mean= 𝑖 𝑥𝑖
𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒
=
(8+3+7+1+3+9)
6
= 5.17
2- To find median, it is important to arrange the sample ascending:
The new number set is {1,3,3,7,8,9} then the median=
(3+7)
2
= 5
3- To find trimmed mean,
Trimmed count = Trimmed Mean Percent x Sample Size = ~(0.2*6)=~(1.2)=1
Then remove first and last numbers from {1,3,3,7,8,9}  {3,3,7,8}
Now we can calculate the mean = 𝑖 𝑥𝑖
𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒
=
(3+3+7+8)
4
= 5.25
Descriptive Statistics
Descriptive statistics can be used to summarize the data. It can be implemented from
Analyze  Descriptive Statistics
If your data is categorical, try the frequencies or crosstabs procedures to determine the following
statistics, while the descriptive is used when we have scale or nominal data:
Descriptive Statistics
The Frequencies
1- Quartile:
- Q1 is defined as the middle number between the smallest number and
the median of the data set (splits off the lowest 25% of data from
the highest 75%)
- Q2 is the median of the data (cuts data set in half).
- Q3 is the middle value between the median and the highest value of
the data set (splits off the highest 25% of data from the lowest 75%).
The main advantages of Quartile:
As you know, the median is a measure of the central tendency of the data but says nothing about
how the data is distributed in the two arms on either side of the median. Quartiles help us measure
this.
Descriptive Statistics
The Frequencies
2- Mean
3- Median
4- Mode: refers to the most frequently occurring number found in a set of numbers.
5- range: is the difference between the largest and smallest values, and it gives a good sense of data
distribution (dispersion).
6- Standard deviation is used to quantify the amount of variation or dispersion of a set of data values.
A low standard deviation indicates that the data points tend to be close to the mean of the set, while a
high standard deviation indicates that the data points are spread out over a wider range of values.
7- Variance measures how far a set of (random) numbers are spread out from their average value.
Descriptive Statistics
The Frequencies
8- Skewness is a measure of the symmetry in a distribution. A symmetrical dataset will have a
skewness equal to 0. So, a normal distribution will have a skewness of 0. Skewness essentially
measures the relative size of the two tails.
9- Kurtosis measures the heaviness or lightness of the tails of your data, this indicates that your data
looks flatter (or less flat) compared to the normal distribution. So the kurtosis is 0 for a normal
distribution.

More Related Content

Similar to spss.pptx (20)

Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
Anova.pptx
Anova.pptxAnova.pptx
Anova.pptx
 
T - test independent samples
T - test  independent samplesT - test  independent samples
T - test independent samples
 
T test independent samples
T test  independent samplesT test  independent samples
T test independent samples
 
ANOVA (Educational Statistics)
ANOVA (Educational Statistics)ANOVA (Educational Statistics)
ANOVA (Educational Statistics)
 
In Anova
In  AnovaIn  Anova
In Anova
 
Data presenatation
Data presenatationData presenatation
Data presenatation
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
Anova n metaanalysis
Anova n metaanalysisAnova n metaanalysis
Anova n metaanalysis
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
students_t_test.ppt
students_t_test.pptstudents_t_test.ppt
students_t_test.ppt
 
students_t_test.ppt
students_t_test.pptstudents_t_test.ppt
students_t_test.ppt
 
Chapter 5 anova analysis
Chapter 5 anova analysisChapter 5 anova analysis
Chapter 5 anova analysis
 
Week 7 spss
Week 7 spssWeek 7 spss
Week 7 spss
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
April Heyward Research Methods Class Session - 8-5-2021
April Heyward Research Methods Class Session - 8-5-2021April Heyward Research Methods Class Session - 8-5-2021
April Heyward Research Methods Class Session - 8-5-2021
 

More from saraso888

lecture bacteriology theoretical 11,12.pptx
lecture bacteriology theoretical  11,12.pptxlecture bacteriology theoretical  11,12.pptx
lecture bacteriology theoretical 11,12.pptxsaraso888
 
radiation effect on water, DNA damage lec 9.pptx
radiation effect on water, DNA damage lec 9.pptxradiation effect on water, DNA damage lec 9.pptx
radiation effect on water, DNA damage lec 9.pptxsaraso888
 
Vancomycin resistant staphylococcus aureus (vrsa).pptx
Vancomycin resistant staphylococcus aureus (vrsa).pptxVancomycin resistant staphylococcus aureus (vrsa).pptx
Vancomycin resistant staphylococcus aureus (vrsa).pptxsaraso888
 
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptx
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptxStaphylococcus aureus potential vaccine for skin and soft tissue infections.pptx
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptxsaraso888
 
Radioimmunoassay (RIA) immunologynotes .pptx
Radioimmunoassay (RIA) immunologynotes .pptxRadioimmunoassay (RIA) immunologynotes .pptx
Radioimmunoassay (RIA) immunologynotes .pptxsaraso888
 
lec7- vibrio cholera - theoretical bacteriology.pptx
lec7- vibrio cholera - theoretical bacteriology.pptxlec7- vibrio cholera - theoretical bacteriology.pptx
lec7- vibrio cholera - theoretical bacteriology.pptxsaraso888
 
Yersinia pestis- lec6 bacteriology therory.pptx
Yersinia pestis- lec6 bacteriology therory.pptxYersinia pestis- lec6 bacteriology therory.pptx
Yersinia pestis- lec6 bacteriology therory.pptxsaraso888
 
lec8& 9-campylobacter and h. pylori bacteriology.pptx
lec8& 9-campylobacter and h. pylori bacteriology.pptxlec8& 9-campylobacter and h. pylori bacteriology.pptx
lec8& 9-campylobacter and h. pylori bacteriology.pptxsaraso888
 
lec4- Micropipette- biotechnology استاذ حيدر.pptx
lec4- Micropipette- biotechnology استاذ حيدر.pptxlec4- Micropipette- biotechnology استاذ حيدر.pptx
lec4- Micropipette- biotechnology استاذ حيدر.pptxsaraso888
 
methods_of_enzyme_assay_4.pdf
methods_of_enzyme_assay_4.pdfmethods_of_enzyme_assay_4.pdf
methods_of_enzyme_assay_4.pdfsaraso888
 
Do worms protect against MetS (4).pptx
Do worms protect against MetS (4).pptxDo worms protect against MetS (4).pptx
Do worms protect against MetS (4).pptxsaraso888
 
B cells generation 2019.ppt
B cells  generation 2019.pptB cells  generation 2019.ppt
B cells generation 2019.pptsaraso888
 
مناعة نظري mhc - lec 7.pptx
مناعة نظري mhc - lec 7.pptxمناعة نظري mhc - lec 7.pptx
مناعة نظري mhc - lec 7.pptxsaraso888
 
lec 4 bio اشعة.pptx
lec 4 bio اشعة.pptxlec 4 bio اشعة.pptx
lec 4 bio اشعة.pptxsaraso888
 
med. terminology 1.pptx
med. terminology 1.pptxmed. terminology 1.pptx
med. terminology 1.pptxsaraso888
 
محاضرة 1 - اجهزة مختبرية.pptx
محاضرة 1 - اجهزة مختبرية.pptxمحاضرة 1 - اجهزة مختبرية.pptx
محاضرة 1 - اجهزة مختبرية.pptxsaraso888
 
اجهزة مختبرية -م2.pptx
اجهزة مختبرية -م2.pptxاجهزة مختبرية -م2.pptx
اجهزة مختبرية -م2.pptxsaraso888
 
Centrifuge.pptx
Centrifuge.pptxCentrifuge.pptx
Centrifuge.pptxsaraso888
 

More from saraso888 (20)

lecture bacteriology theoretical 11,12.pptx
lecture bacteriology theoretical  11,12.pptxlecture bacteriology theoretical  11,12.pptx
lecture bacteriology theoretical 11,12.pptx
 
radiation effect on water, DNA damage lec 9.pptx
radiation effect on water, DNA damage lec 9.pptxradiation effect on water, DNA damage lec 9.pptx
radiation effect on water, DNA damage lec 9.pptx
 
Vancomycin resistant staphylococcus aureus (vrsa).pptx
Vancomycin resistant staphylococcus aureus (vrsa).pptxVancomycin resistant staphylococcus aureus (vrsa).pptx
Vancomycin resistant staphylococcus aureus (vrsa).pptx
 
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptx
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptxStaphylococcus aureus potential vaccine for skin and soft tissue infections.pptx
Staphylococcus aureus potential vaccine for skin and soft tissue infections.pptx
 
Radioimmunoassay (RIA) immunologynotes .pptx
Radioimmunoassay (RIA) immunologynotes .pptxRadioimmunoassay (RIA) immunologynotes .pptx
Radioimmunoassay (RIA) immunologynotes .pptx
 
lec7- vibrio cholera - theoretical bacteriology.pptx
lec7- vibrio cholera - theoretical bacteriology.pptxlec7- vibrio cholera - theoretical bacteriology.pptx
lec7- vibrio cholera - theoretical bacteriology.pptx
 
Yersinia pestis- lec6 bacteriology therory.pptx
Yersinia pestis- lec6 bacteriology therory.pptxYersinia pestis- lec6 bacteriology therory.pptx
Yersinia pestis- lec6 bacteriology therory.pptx
 
lec8& 9-campylobacter and h. pylori bacteriology.pptx
lec8& 9-campylobacter and h. pylori bacteriology.pptxlec8& 9-campylobacter and h. pylori bacteriology.pptx
lec8& 9-campylobacter and h. pylori bacteriology.pptx
 
lec4- Micropipette- biotechnology استاذ حيدر.pptx
lec4- Micropipette- biotechnology استاذ حيدر.pptxlec4- Micropipette- biotechnology استاذ حيدر.pptx
lec4- Micropipette- biotechnology استاذ حيدر.pptx
 
methods_of_enzyme_assay_4.pdf
methods_of_enzyme_assay_4.pdfmethods_of_enzyme_assay_4.pdf
methods_of_enzyme_assay_4.pdf
 
Do worms protect against MetS (4).pptx
Do worms protect against MetS (4).pptxDo worms protect against MetS (4).pptx
Do worms protect against MetS (4).pptx
 
B cells generation 2019.ppt
B cells  generation 2019.pptB cells  generation 2019.ppt
B cells generation 2019.ppt
 
مناعة نظري mhc - lec 7.pptx
مناعة نظري mhc - lec 7.pptxمناعة نظري mhc - lec 7.pptx
مناعة نظري mhc - lec 7.pptx
 
lec 4 bio اشعة.pptx
lec 4 bio اشعة.pptxlec 4 bio اشعة.pptx
lec 4 bio اشعة.pptx
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
 
med. terminology 1.pptx
med. terminology 1.pptxmed. terminology 1.pptx
med. terminology 1.pptx
 
محاضرة 1 - اجهزة مختبرية.pptx
محاضرة 1 - اجهزة مختبرية.pptxمحاضرة 1 - اجهزة مختبرية.pptx
محاضرة 1 - اجهزة مختبرية.pptx
 
اجهزة مختبرية -م2.pptx
اجهزة مختبرية -م2.pptxاجهزة مختبرية -م2.pptx
اجهزة مختبرية -م2.pptx
 
lec5.pptx
lec5.pptxlec5.pptx
lec5.pptx
 
Centrifuge.pptx
Centrifuge.pptxCentrifuge.pptx
Centrifuge.pptx
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

spss.pptx

  • 2. The Data Editor of SPSS consists of two windows: - Data View spreadsheet allows the data to be entered and viewed. Each variable occupies a column of this spreadsheet.
  • 3. The Data Editor of SPSS consists of two windows: - Variable View spreadsheet allows to define the types of variables to be specified and viewed. Each variable occupies a row of this spreadsheet. 1- Name: represents the variable name, that must be define as alphanumeric characters (special characters are not allowed). 2- Type: represents the definition of variable including various formats for numerical data, dates, or currencies. 3- Width: represents the width of the actual data entries ( number of digits). 4- Decimals: represents the number of digits to the right of the decimal place to be displayed for data entries. 5- Label: is attached to the variable name to remind user about the meaning of variable. 6- Values: is used to define the categorical variables such as sex variable includes ( male and female).
  • 4. The Data Editor of SPSS consists of two windows: - Variable View spreadsheet allows to define the types of variables to be specified and viewed. Each variable occupies a row of this spreadsheet. 7- Missing: represents the values that are outside your actual data range. 8- Columns: represents the width of the variable column in the data view spreadsheet. 9- Align: represents how the variable entries to be aligned in data view spreadsheet. 10- Measure: represents the measurement scale of the variable. Numeric variable  scale String variable  Nominal Categorical Variable  Ordinal
  • 5. Recoding Variable in SPSS Recoding variable is a process of creating a new variable from current available variables in the dataset. This enable the user to work with some variables in different forms. For instance, the user might want to categorize income or age variables into categories. There are two types of recoding variable: 1- Into same variable (the original data will be replaced permanently by the new data) 2- Into different variable (create new variable to put the data into) Let us start with the following example:
  • 6. Recoding Variable in SPSS To recode the age variable into three categorizes: (20-25)  Group A (26-30)  Group B (31-40)  Group C From Transformation menu  Recode  Into Different Variables
  • 7. Recoding Variable in SPSS To recode the age variable into three variables: (20-25)  Group A (26-30)  Group B (31-40)  Group C
  • 8. Recoding Variable in SPSS To recode the age variable into three variables: (20-25)  Group A (26-30)  Group B (31-40)  Group C
  • 9. Analysis of Variance (ANOVA) An ANOVA test is a way to find out if experiment results are significant. In other words, it helps you to figure out if you need to reject the null hypothesis or accept the alternate hypothesis. Basically, you’re testing groups to see if there’s a difference between them. Examples of when you might want to test different groups: - A group of pathological patients are trying three different therapies. You want to see if one therapy is better than the others. - A manufacturer has two different processes to make light bulbs. They want to know if one process is better than the other. - Students from different colleges take the same exam. You want to see if one college outperforms the other.
  • 10. Analysis of Variance (ANOVA) An ANOVA test is parametric tests that require assumptions for using it correctly. The assumptions are: 1- Normality (the simplest identification trait for normality is that the mean, median and trimmed mean are similar. For perfectly normal distribution, all three central tendency measures must be equal. If the mean is considerably above or below the median and trimmed mean, the data is skewed or asymmetrically distributed. 2- Homogeneity (this assumption implies that the variances of the three or more groups are similar (p value >0.05). 3- Independence (ensure that the data values are not related. That is no two data items measure the same thing or produce that same effect.
  • 11. Analysis of Variance (ANOVA) Example A farmer wants to know if the weight of parsley plants is influenced by using a fertilizer. He selects 90 plants and randomly divides them into three groups of 30 plants each. He applies a biological fertilizer to the first group, a chemical fertilizer to the second group and no fertilizer at all to the third group. After a month he weighs all plants, and he want to conclude the fertilizer affects weight? 1- Quick Normality Check of Data Fertilizer mean median None 51.2 50 Biological 53.63 53.5 Chemical 56.96 57.5
  • 12. Analysis of Variance (ANOVA) Example 1- Quick Normality Check of Data It is possible to check the distribution of data visually by drawing the histogram. Graphs Legacy Dialog Histogram
  • 13. Analysis of Variance (ANOVA) Example Analyze  Compare means  One-way ANOVA
  • 14. Analysis of Variance (ANOVA) Example P-value >0.05 P-value <0.05 that’s mean there is a significant differences among the three fertilizer methods and the weights of parsley plants are affected by the fertilizer. We need to explore where the differences are? We need to carry out a post-Hoc analyses.
  • 15. Analysis of Variance (ANOVA) Example
  • 16. Analysis of Variance (ANOVA) Example From the multiple comparison table we see that none and chemical fertilizer exert significantly different effects on parsley plants, where (p<0.008)
  • 17. Analysis of Variance (ANOVA) Calculate the mean, median and 20% trimmed mean for the number set x={8, 3, 7, 1, 3, 9}: Sample size = 6 then: 1- mean= 𝑖 𝑥𝑖 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 = (8+3+7+1+3+9) 6 = 5.17 2- To find median, it is important to arrange the sample ascending: The new number set is {1,3,3,7,8,9} then the median= (3+7) 2 = 5 3- To find trimmed mean, Trimmed count = Trimmed Mean Percent x Sample Size = ~(0.2*6)=~(1.2)=1 Then remove first and last numbers from {1,3,3,7,8,9}  {3,3,7,8} Now we can calculate the mean = 𝑖 𝑥𝑖 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 = (3+3+7+8) 4 = 5.25
  • 18. Descriptive Statistics Descriptive statistics can be used to summarize the data. It can be implemented from Analyze  Descriptive Statistics If your data is categorical, try the frequencies or crosstabs procedures to determine the following statistics, while the descriptive is used when we have scale or nominal data:
  • 19. Descriptive Statistics The Frequencies 1- Quartile: - Q1 is defined as the middle number between the smallest number and the median of the data set (splits off the lowest 25% of data from the highest 75%) - Q2 is the median of the data (cuts data set in half). - Q3 is the middle value between the median and the highest value of the data set (splits off the highest 25% of data from the lowest 75%). The main advantages of Quartile: As you know, the median is a measure of the central tendency of the data but says nothing about how the data is distributed in the two arms on either side of the median. Quartiles help us measure this.
  • 20. Descriptive Statistics The Frequencies 2- Mean 3- Median 4- Mode: refers to the most frequently occurring number found in a set of numbers. 5- range: is the difference between the largest and smallest values, and it gives a good sense of data distribution (dispersion). 6- Standard deviation is used to quantify the amount of variation or dispersion of a set of data values. A low standard deviation indicates that the data points tend to be close to the mean of the set, while a high standard deviation indicates that the data points are spread out over a wider range of values. 7- Variance measures how far a set of (random) numbers are spread out from their average value.
  • 21. Descriptive Statistics The Frequencies 8- Skewness is a measure of the symmetry in a distribution. A symmetrical dataset will have a skewness equal to 0. So, a normal distribution will have a skewness of 0. Skewness essentially measures the relative size of the two tails. 9- Kurtosis measures the heaviness or lightness of the tails of your data, this indicates that your data looks flatter (or less flat) compared to the normal distribution. So the kurtosis is 0 for a normal distribution.