0% found this document useful (0 votes)
8 views34 pages

Computer Lab 1

The document provides an overview of a marketing research session focusing on preparing SPSS data files, conducting descriptive analysis, and performing Chi-square tests. It details how to navigate SPSS, including data and variable views, and describes various statistical measures such as frequency distribution, central tendency, and measures of spread. Additionally, it explains the Chi-square test for assessing associations between categorical variables and outlines the necessary conditions for its application.

Uploaded by

minyizhang666
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views34 pages

Computer Lab 1

The document provides an overview of a marketing research session focusing on preparing SPSS data files, conducting descriptive analysis, and performing Chi-square tests. It details how to navigate SPSS, including data and variable views, and describes various statistical measures such as frequency distribution, central tendency, and measures of spread. Additionally, it explains the Chi-square test for assessing associations between categorical variables and outlines the necessary conditions for its application.

Uploaded by

minyizhang666
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Marketing Research

Computer Lab 1

Dr Euejung Hwang
euejung.hwang@ed.ac.uk
Overview
• Today :
• Preparing the SPSS data file
• Descriptive analysis
• Chi-square test

2
Preparing the SPSS data file
o SPSS data file
• Data view
• Variable view

o SPSS output file

o SPSS syntax file


Starting SPSS
entering!data,!and!the!variable!view!is!for!defining!characteristics!of!the!variables!within!the!data!
editor.! Notice! at! the! bottom! of! the! data! editor! that! there! are! two! tabs! labelled! ‘Data! View’! and!

The Data View


‘Variable!View’!( );!all!we!do!to!switch!between!these!two!views!is!click!on!these!tabs!
(the!highlighted!tab!tells!you!which!view!you’re!in,!although!it!will!be!obvious).!Let’s!look!at!some!
general!features!of!the!data!editor,!features!that!don’t!change!when!we!switch!between!the!data!
view!and!the!variable!view.!First!off,!let’s!look!at!the!menus.!

The highlighted cell is the This area displays the value


cell that is currently active of the currently active cell

This shows that we are We can click here to switch


currently in the ‘Data View’ to the ‘Variable View’

Figure'3.3:'The!SPSS!Data!Editor'
! The!SPSS!environment! 119!

The Variable View


Click on the appropriate cell
in the column labelled
Values

Then,
This button activates
click on
the Value
Labels dialog box

Figure'3.7:'Defining!coding!variables!and!their!values!
The Variable View
o Numeric
• Numbers (e.g., 1, 0, 70)
o String
• Letters (e.g., messy, Maya, label)
o Currency
• Currency (e.g., £20, $34, €56)
o Date
• Dates (e.g., 12-07-2021, 07-12-2012, 12-Jul-
2021)
The View Window
! The!SPSS!environment! 127!

Graph of
some
data

Tree diagram
of the current
output

Results of
statistical
analysis

Figure'3.11'The!SPSS!Viewer'
Descriptive Statistics
1. Frequency distribution
• Analyze > Descriptive statistics > Frequency
Descriptive Statistics
1. Frequency distribution
Descriptive Statistics
1. Frequency distribution
Descriptive Statistics
2. Measures of central tendency
• Central tendency can be measured in three
ways – the mean, median or mode.
✓ Mode – Nominal scale (e.g., Gender)
✓ Median – Ordinal scale (e.g., Income level)
✓ Mean – Interval/Ratio scale (e.g., age)
Descriptive Statistics
2. Measures of central tendency
• Interval/Ratio scale:
Analyze > Descriptive statistics > Descriptives
Descriptive Statistics
2. Measures of central tendency
Descriptive Statistics
2. Measures of central tendency
Descriptive Statistics
3. Measures of spread
• Different ways of summarising a data set by
describing how spread out the scores are from
the mean.
• E.g., range, deviation, variance, standard
deviation
✓ Variance – The average of the squared
differences from the mean.
✓ Standard deviation – The square root of the
variance.
Descriptive Statistics
2. Measures of central tendency
• Interval/Ratio scale:
Analyze > Descriptive statistics > Descriptives
Descriptive Statistics
3. Measures of Spread
Descriptive Statistics
3. Measures of Spread
Descriptive Statistics
3. Measures of Spread
Descriptive Statistics
3. Measures of Spread
Inferential Statistics for Association
1. Chi-square test
2. Pearson Correlation
Chi-square (χ2) test
o What is a Chi-square (χ2) test?
• A hypothesis test that determines whether there
is an association between categorical (i.e.,
nominal or ordinal) variables.
✓ E.g., Association between smoking behaviour and
voting for different parties.

• The test utilises a contingency table (known as


a cross-tabulation or crosstab) which classifies
data according to two categorical variables.
Chi-square (χ2) test
o When to use a Chi-square (χ2) test?
• At least two categorical variables.
• Two or more groups for each variable.
• Independence of observations (e.g., pre-
test/post-test observations)
• Relatively large sample size – At least more
than 10 in every cell.
Chi-square (χ2) test
• Is there an association between the outcome of
the game and the day it was played?
Chi-square (χ2) test
o Analyze > Descriptive Statistics > Crosstabs
Chi-square (χ2) test
o Analyze > Descriptive Statistics > Crosstabs
Chi-square (χ2) test
o Analyze > Descriptive Statistics > Crosstabs
Chi-square (χ2) test
o SPSS output and reporting
Chi-square (χ2) test
o SPSS output and reporting

• Reporting
: χ2(2) = 9.69, p < .01
Outliers
Outliers
o Analyze > Descriptive Statistics > Explore
Outliers
o Analyze > Descriptive Statistics > Explore
Outliers

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy