SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  how to syntax gini index

    Posted Tue August 03, 2021 02:24 PM
    How to form a syntax that counts the value of the Gini coefficient for data in the following form: person 1 believes that the wage in occupation 1 should be ..., in occupation 2 ..... in occupation 3....... The list contains, for example, 11 professions, about which the respondent determines how much people performing those professions should earn. Place occupations in columns, and persons surveyed in rows. We should calculate Gini coefficients for each person, i.e. in a row.

    ------------------------------
    Kazik Boniek
    ------------------------------

    #SPSSStatistics


  • 2.  RE: how to syntax gini index

    Posted Tue August 03, 2021 03:18 PM
    The STATS INEQUALITY extension command can compute a number of inequality measures, including Gini coefficients.  It can be installed from the Extensions > Extension Hub menu.  It requires R and the R Essentials.R=They are included with Statistics 28 but are a separate install in earlier versions.

    Example syntax:
    stats inequality variable=salary measure=gini atkinson atkinsonpar=.1
    /options GINICILEVEL = 95.

    image.png

    --