Week 9 Data Analysis Using SPSS 33
Week 9 Data Analysis Using SPSS 33
Week 9 Data Analysis Using SPSS 33
USING SPSS
fathony.rahman@pmbs.ac.id
School of Business & Economics
Chapter Outline
Check Questionnaire
Edit
Code
Transcribe
Clean Data
Check
Questionnaire
Edit
Treatment of Unsatisfactory Results
Code
Returning to the Field.
Transcribe Assigning Missing Values.
Clean Data Discarding Unsatisfactory
Statistically Adjust
Respondents.
the Data
Check
Questionnaire
Check
Guidelines for Coding Unstructured
Questionnaire Questions:
Edit Category codes should be mutually exclusive
and collectively exhaustive.
Code
Only a few (10% or less) of the responses
Transcribe
should fall into the “other” category.
Clean Data Category codes should be assigned for critical
issues even if no one has mentioned them.
Statistically Adjust
the Data Data should be coded to retain as much detail
as possible.
Select Data Analysis
Strategy
Codebook
Prepare Preliminary
Plan of Data Analysis
A codebook contains coding
Check
instructions and the necessary
Questionnaire information about variables in the data
Edit set. A codebook generally contains the
following information:
column number
Code
Transcribe
record number
Clean Data variable number
Statistically Adjust
variable name
the Data question number
Select Data Analysis instructions for coding
Strategy
Coding Questionnaires
Prepare Preliminary
Check
Questionnaire record number appear on each
Edit
record in the data.
Code The first record contains the
Transcribe
additional codes: project code,
interviewer code, date and time
Clean Data
codes, and validation code.
Statistically Adjust
the Data It is a good practice to insert blanks
Select Data Analysis between parts.
Strategy
Restaurant Preference
ID PREFER. QUALITY QUANTITY VALUE SERVICE INCOME
1 2 2 3 1 3 6
2 6 5 6 5 7 2
3 4 4 3 4 5 3
4 1 2 1 1 2 5
5 7 6 6 5 4 1
6 5 4 4 5 4 3
7 2 2 3 2 3 5
8 3 3 4 2 3 4
9 7 6 7 6 5 2
10 2 3 2 2 2 5
11 2 3 2 1 3 6
12 6 6 6 6 7 2
13 4 4 3 3 4 3
14 1 1 3 1 2 4
15 7 7 5 5 4 2
16 5 5 4 5 5 3
17 2 3 1 2 3 4
18 4 4 3 3 3 3
19 7 5 5 7 5 5
20 3 2 2 3 3 3
SPSS Variable View of the Data of
Table 14.1
Codebook Excerpt
Column Variable Variable Question Coding
Number Number Name Number Instructions
1 1 ID 1 to 20 as coded
Input the number circled.
2 2 Preference 1 1=Weak Preference
7=Strong Preference
Input the number circled.
3 3 Quality 2 1=Poor
7=Excellent
Input the number circled.
4 4 Quantity 3 1=Poor
7=Excellent
Input the number circled.
5 5 Value 4 1=Poor
7=Excellent
Input the number circled.
6 6 Service 5 1=Poor
7=Excellent
Codebook Excerpt
Column Variable Variable Question Coding
Number Number Name Number Instructions
Input the number circled.
1 = Less than $20,000
2 = $20,000 to 34,999
7 7 Income 6 3 = $35,000 to 49,999
4 = $50,000 to 74,999
5 = $75,000 to 99,999
6 = $100,00 or more
Data Transcription
Prepare Preliminary
Plan of Data Analysis
Statistically Adjust
the Data Transcribed Data
Check
Questionnaire
Consistency checks identify
Edit
data that are out of range,
Code logically inconsistent, or have
Transcribe extreme values.
Clean Data
Check
Questionnaire
Edit
Code
Transcribe
Clean Data
Statistically Adjust
the Data
Check
Questionnaire
Edit
Code
Transcribe
Note that X1 = 1 for nonusers and 0 for all others. Likewise, X2 = 1 for
light users and 0 for all others, and X3 = 1 for medium users and 0 for all
Clean Data
others. In analyzing the data, X1, X2, and X3 are used to represent all
user/nonuser groups.
Statistically Adjust
the Data
Check
Questionnaire
Edit
Known Characteristics of the Data
Code
Transcribe
Properties of Statistical Techniques
Clean Data
Background and Philosophy of the
Researcher
Statistically Adjust
the Data
Familiarity
Valid Cumulative
Frequency Percent Percent Percent
Valid 2 2 6,7 6,9 6,9
3 6 20,0 20,7 27,6
4 6 20,0 20,7 48,3
5 3 10,0 10,3 58,6
6 8 26,7 27,6 86,2
Very
Familiar 4 13,3 13,8 100,0
Total 29 96,7 100,0
Missing 9 1 3,3
Total 30 100,0
SPSS Windows: Frequencies
Cross-Tabulation
Gender
Row
Internet Usage Male Female Total
Light (1) 5 10 15
Heavy (2) 10 5 15
Column Total 15 15
Purchase of Fashion Clothing by Sex
& Marital Status
Sex
Purchase of
Fashion Clothing Male Female
Cases
Valid Missing Total
N Percent N Percent N Percent
Internet
Usage
Group * 30 100,0% 0 0,0% 30 100,0%
Sex
Sex
Male Female Total
Internet Light Users Count 5 10 15
Usage
% within
Group 33,3% 66,7% 50,0%
Sex
Heavy Count 10 5 15
Users % within
Sex 66,7% 33,3% 50,0%
Total Count 15 15 30
% within
Sex 100,0% 100,0% 100,0%
Steps Involved in Hypothesis
Testing
Step 1 Formulate H0 and H1
Example:
The new service will be introduced if more than
40 percent of the Internet users shop via the
Internet.
The appropriate way to formulate the
hypotheses is:
H 0: p 0. 40
H 1: p > 0. 40
A General Procedure for Hypothesis Testing
Step 2: Select an Appropriate Test
Type I Error
Type I error occurs when the sample results
lead to the rejection of the null hypothesis
when it is in fact true.
Type II Error
Type II error occurs when, based on the
sample results, the null hypothesis is not
rejected when it is in fact false.
A General Procedure for Hypothesis Testing
Step 4: Collect Data and Calculate Test Statistic
pˆ - p
z =
s p
= 0.567-0.40
0.089
= 1.88
A General Procedure for Hypothesis Testing
Step 5: Determine the Probability (Critical Value)
The samples are independent if they are The samples are paired when the data for
drawn randomly from different the two samples relate to the same group
populations. For the purpose of analysis, of respondents.
data pertaining to different groups of
respondents, e.g., males and females, are
generally treated as independent samples.
A Classification of Hypothesis Testing
Procedures for Examining Differences
Hypothesis Tests
One-Sample Statistics
Std. Std. Error
N Mean Deviation Mean
Familiarity 29 4,72 1,579 ,293
One-Sample Test
Test Value = 4
95% Confidence
Interval of the
Difference
Sig. (2- Mean
t df tailed) Difference Lower Upper
Familiarity 2,470 28 ,020 ,724 ,12 1,32
SPSS Windows:
Two Independent Samples t Test
Select ANALYZE from the SPSS menu bar.
Click COMPARE MEANS and then INDEPENDENT
SAMPLES T TEST.
Move “Internet Usage Hrs/Week [iusage]” in to
the TEST VARIABLE(S) box.
Move “Sex[sex]” to GROUPING VARIABLE box.
Click DEFINE GROUPS.
Type “1” in GROUP 1 box and “2” in GROUP 2
box.
Click CONTINUE.
Click OK.
SPSS Windows:
Two Independent Samples t Test
Group Statistics
Std. Std. Error
Sex N Mean Deviation Mean
Internet Male 15 9,33 4,402 1,137
Usage
Female 15 3,87 1,685 ,435
Hrs/Week
Attitude toward
Technology 4,10 30 1,398 ,255
N Correlation Sig.
Pair 1 Attitude toward
Internet & Attitude
toward 30 ,809 ,000
Technology
Binary
For example:
Do the various segments differ in terms of their volume of
product consumption?
Do the brand evaluations of groups exposed to different
commercials vary?
What is the effect of consumers' familiarity with the store
(measured as high, medium, and low) on preference for the
store?
Conducting One-Way ANOVA
No Interaction
Interaction
(Case 1)
Ordinal
Disordinal
(Case 2)
Noncrossover Crossover
(Case 3) (Case 4)
Patterns of Interaction
Case 1: No Interaction Case 2: Ordinal Interaction
X 22 X 22
Y X 21 Y X 21
X 11 X 12 X13 X 11 X 12 X13
Case 3: Disordinal Interaction: Case 4: Disordinal Interaction:
Noncrossover Crossover
X 22 X 22
Y X 21 Y
X21
X 11 X 12 X13 X 11 X 12 X13
Multivariate Analysis of Variance
Sales
95% Confidence
Interval for Mean
Std. Lower Upper
N Mean Deviation Std. Error Bound Bound Minimum Maximum
High 10 8,30 1,337 ,423 7,34 9,26 6 10
Medium 10 6,20 1,751 ,554 4,95 7,45 4 9
Low 10 3,70 2,003 ,633 2,27 5,13 1 7
Total 30 6,07 2,532 ,462 5,12 7,01 1 10
ANOVA
Sales
Sum of Mean
Squares df Square F Sig.
Between
Groups 106,067 2 53,033 17,944 ,000
Within
Groups 79,800 27 2,956
Total 185,867 29
SPSS Windows:
Analysis of Covariance