Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CMNS201 - Lab 4. SPSS Univariate Analysis

CMNS201 - Lab 4. SPSS Univariate Analysis

Alberto Lusoli

March 02, 2022
Tweet

More Decks by Alberto Lusoli

Other Decks in Education

Transcript

  1. Univariate analysis
    SPSS LABORATORY 4

    View full-size slide

  2. 1. Calendar
    2. Previous lecture recap
    3. Descriptive statistics: Univariate analysis
    4. Exercise
    INDEX

    View full-size slide

  3. Still having problems installing SPSS?
    ○ Book an appointment for office hour (Thursday, 12.30 - 1.20)
    ○ Tech problem? Email [email protected]
    No extensions for technical issues.
    Photo: Startup Weekend Hackathon. Nov.2014
    …BEFORE WE START

    View full-size slide

  4. Photo: Startup Weekend Hackathon. Nov.2014
    TOPICS COVERED SO FAR
    ■ Import a dataset in SPSS
    ■ Set variable parameters (Name, Type, Label, Measure)
    ■ Recoding variables

    View full-size slide

  5. Photo: Startup Weekend Hackathon. Nov.2014
    LAUNCH SPSS
    ■ Go to Canvas
    ○ Assignments > SPSS Lab 4 - Descriptive statistics - Univariate analysis
    ○ Download the Week-4.sav file
    ■ Open the file on SPSS
    ○ Launch SPP
    ■ File > Open > Data…
    ■ Find and open the Week-4.sav file

    View full-size slide

  6. Photo: Startup Weekend Hackathon. Nov.2014
    CENTRALITY AND DISPERSION
    8
    How to calculate the main central tendency and dispersion measures in SPSS.
    Centrality:
    1. Mean (average)
    2. Median
    3. Mode
    Dispersion:
    1. Standard deviation
    2. Min and max
    3. Range (Max - Min)

    View full-size slide

  7. Photo: Startup Weekend Hackathon. Nov.2014
    CALCULATING CENTRALITY AND DISPERSION IN SPSS

    View full-size slide

  8. Photo: Startup Weekend Hackathon. Nov.2014
    CALCULATING CENTRALITY AND DISPERSION IN SPSS

    View full-size slide

  9. Photo: Startup Weekend Hackathon. Nov.2014
    ∑ [tempo]
    1239
    number of songs
    in the dataset.
    Population, or n
    sum of all values in
    the tempo colum
    CALCULATING CENTRALITY AND DISPERSION IN SPSS
    Numeric variables

    View full-size slide

  10. Photo: Startup Weekend Hackathon. Nov.2014
    the tempo of the
    602nd song (ordered
    from the slowest to
    the fastest)
    Why 602?
    CENTRALITY AND DISPERSION
    601 songs
    median (song
    n.602)
    601 songs
    Numeric variables
    fastest
    slowest

    View full-size slide

  11. Photo: Startup Weekend Hackathon. Nov.2014
    The most “popular”
    tempo.
    CALCULATING CENTRALITY AND DISPERSION IN SPSS
    Numeric variables

    View full-size slide

  12. Photo: Startup Weekend Hackathon. Nov.2014
    Tempo of the fastest
    and of the slowest
    songs
    CALCULATING CENTRALITY AND DISPERSION IN SPSS
    Numeric variables

    View full-size slide

  13. Photo: Startup Weekend Hackathon. Nov.2014
    CALCULATING CENTRALITY AND DISPERSION IN SPSS
    Max - Min
    Numeric variables

    View full-size slide

  14. Photo: Startup Weekend Hackathon. Nov.2014
    QUESTION: WHAT % OF SONGS HAVE TEMPO > 147 BPM?

    View full-size slide

  15. Photo: Startup Weekend Hackathon. Nov.2014
    122 147
    97
    72
    47 172 197
    QUESTION: WHAT % OF SONGS HAVE TEMPO > 147 BPM?

    View full-size slide

  16. Photo: Startup Weekend Hackathon. Nov.2014
    122 147
    97
    72
    47 172 197
    QUESTION: WHAT % OF SONGS HAVE TEMPO > 147 BPM?

    View full-size slide

  17. Photo: Startup Weekend Hackathon. Nov.2014
    WHAT ABOUT STRING (TEXT) VARIABLES?
    Try to calculate centrality and dispersion of the variable “Genre”.
    Centrality:
    1. Mean (average)
    2. Median
    3. Mode
    Dispersion:
    1. Standard deviation
    2. Min and max
    3. Range (Max - Min)

    View full-size slide

  18. Photo: Startup Weekend Hackathon. Nov.2014
    PERCENT Vs VALID PERCENT
    Percent: % calculated on the entire
    dataset population (n). In this case,
    1,239
    Valid Percent: % calculated on the
    entire dataset population (n) minus
    missing values. In this case,
    1,239 - 34 = 1,205

    View full-size slide

  19. Photo: Startup Weekend Hackathon. Nov.2014
    MULTIPLE ANALYSES AT ONCE
    Analyzing more than one variable at once it might be useful
    to conduct comparative analysis. Especially if the variables
    share the same scale and measurement unit.
    To analyze more than one variables at once, simply add
    more variables to the “Variable” box in the Frequencies
    window.
    This week’s exercise: Analyze loudness and energy. Take a
    screenshot of the Frequency table and upload it on Canvas.

    View full-size slide

  20. THANK YOU
    Alberto Lusoli
    [email protected]
    Office hour: Thursday, 12.30pm - 1.20pm (please book an appointment in advance via email).

    View full-size slide