IBM Support

PH27340: PROPENSITY SCORE MATCHING PSM NOT WORKING IN SPSS 27 AND PYTHON 3: RECEIVE ERROR "FUZZY IS NOT DEFINED"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • You work with IBM SPSS Statistics 27 on a Windows or Macintosh
    computer. You would like to perform Propensity Score Matching
    PSM with embedded Python 3
    Embedded Python 3 is enabled on Edit - Options - File Location
    tab.
    
    You open your data file and select Data - Propensity Matching
    dialog. After you defined your model you click on OK.
    On output viewer yousee no output.
    Instead you see below error:
    
    This procedure requires the FUZZY extension command which is not
    installed.
    Traceback (most recent call last):
      File "<string>", line 7, in <module>
    NameError: name 'FUZZY' is not defined
    
    
    This issue is caused by a problem with Python 3 plugin, and this
    issue only occurs when running the first extension command is
    PSM. For example if you run any other extension before PSM you
    will not get the FUZZY error.
    
    Workarounds for this issue are:
    
    1. Run any other extension command before you run PSM
    for example run below command on a new syntax window:
    
    FUZZY / help.
    
    2. Run following syntax before execute PSM extension:
    
    For Windows:
    BEGIN PROGRAM PYTHON3.
    import sys
    sys.path.insert(0,
    r"C:\ProgramData\IBM\SPSS\Statistics\27\extensions")
    END PROGRAM.
    
    For Mac:
    BEGIN PROGRAM PYTHON3.
    import sys
    sys.path.insert(0, r"/Applications/IBM SPSS Statistics
    27/Resources/Extensions/extensions")
    END PROGRAM.
    
    After that, run your PSM model either via dialog or syntax and
    you no longer will get the FUZZY error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Propensity Score Matching and Fuzzy Extension       *
    * Commands on macOS                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * PROPENSITY SCORE MATCHING PSM NOT WORKING IN SPSS 27 AND     *
    * PYTHON3: RECEIVE ERROR "FUZZY IS NOT DEFINED"                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This issue is resolved in IBM SPSS Statistics 27.0.1.        *
    * Please update to IBM SPSS Statistics 27.0.1 at your earliest *
    * convenience.                                                 *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH27340

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    Q00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-10

  • Closed date

    2020-11-16

  • Last modified date

    2020-11-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Q00"}]

Document Information

Modified date:
17 November 2020