SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 


#Analytics
#SPSSStatistics
#Analyticstools
 View Only
  • 1.  SPSS Error n° 10933

    Posted 05/14/20 10:07 AM
    Hi there,

    I am currently running an aggregate function and I get :

    Error n° 10933 in column 1. Text: DATASET
    >The definition of a new variable on the AGGREGATE command must be
    >terminated by a slash.
    >This command not executed.

    I want to have the fertility ratio (Woman-Child ratio) from a 1911 census. Here is my syntax:

    DATASET DECLARE AggBirths.
    AGGREGATE OUTFILE = 'AggBirths'
    /BREAK AgeCategories
    /TotalFamilies = N
    /TotalBirths= SUM(TotalYoungChildren)
    DATASET ACTIVATE AggBirths.

    I just don't understand why it cannot go through and adding slashes does not help either.

    I seems to be a very banal error.

    Does anyone have any advice ?

    Thank you !

    ------------------------------
    Guillaume D
    ------------------------------

    #SPSSStatistics


  • 2.  RE: SPSS Error n° 10933

    Posted 05/14/20 12:28 PM
    You are missing a period at the end of the AGGREGATE command, so the next line is interpreted as part of that command.

    --


    ------Original Message------

    Hi there,

    I am currently running an aggregate function and I get :

    Error n° 10933 in column 1. Text: DATASET
    >The definition of a new variable on the AGGREGATE command must be
    >terminated by a slash.
    >This command not executed.

    I want to have the fertility ratio (Woman-Child ratio) from a 1911 census. Here is my syntax:

    DATASET DECLARE AggBirths.
    AGGREGATE OUTFILE = 'AggBirths'
    /BREAK AgeCategories
    /TotalFamilies = N
    /TotalBirths= SUM(TotalYoungChildren)
    DATASET ACTIVATE AggBirths.

    I just don't understand why it cannot go through and adding slashes does not help either.

    I seems to be a very banal error.

    Does anyone have any advice ?

    Thank you !

    ------------------------------
    Guillaume D
    ------------------------------

    #SPSSStatistics


  • 3.  RE: SPSS Error n° 10933

    Posted 05/14/20 05:40 PM
    Of course !

    Thank you Jon. I missed this one.

    Best,

    --
    Guillaume Durou


    ------Original Message------

    You are missing a period at the end of the AGGREGATE command, so the next line is interpreted as part of that command.

    --



    #SPSSStatistics