SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  Propensity score matching Error message

    Posted Mon March 18, 2024 06:15 PM
      |   view attached

    Hello, I am trying to derive a propensity score to enable matching between my treatment group and a control group.  However, when I run propensity score matching I receive this error message every time. 

    Text: M0.0754580038249427 Command: DELETE VARIABLES
    An undefined variable name, or a scratch or system variable was specified in a variable list which accepts only standard variables.  Check spelling and verify the existence of this variable.
    Execution of this command stops.

    Can someone please let me know if they can identify what is wrong with my dataset that doesn't allow for propensity scores.  I have attached the dataset.



    ------------------------------
    Bridget Byrnes
    ------------------------------

    Attachment(s)

    sav
    12 Tracts_1.sav   3 KB 1 version


  • 2.  RE: Propensity score matching Error message

    Posted Mon March 18, 2024 06:47 PM
    First, go to Extensions > Extension Hub and get the updates for STATS PSM and FUZZY.  These have a number of improvements, and you might get a clearer error message.  Be sure to restart Statistics after installing the updates, and paste the syntax to make sure that it is generating code for STATS PSM rather than the older program block.

    The message you got is a consequence of some earlier problem in the process that caused the procedure to fail.  The most common error that I hear about is that the dependent variable is coded incorrectly.  1 indicates a case, and 0 indicates a control.

    --