Hi Rick,
thanks for the quick response.
Where can I get the updated code for Py3? Usually I use something like the following within SPSS syntax.
begin program.
import spss, spssaux, rake
rake.rake(['jobcat','gender','mind'],[{1:.95, 2:.025,3:.025,-99:0.0}, {1:.50, 2:.50}, {0:.25,1:.75}], finalweight='wt', visible=True)
end program.
------------------------------
Alexander Mentrup
(r)evolution GmbH
------------------------------
Original Message:
Sent: Tue April 27, 2021 07:47 AM
From: Rick Marcantonio
Subject: Weighting by using the python rake module
Alexander;
RAKE is not a "native" SPSS procedure; it remains the Python module, its code updated for Python 3.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue April 27, 2021 06:32 AM
From: Alexander Mentrup
Subject: Weighting by using the python rake module
Dear all,
with the old SPSS V22 installation I always used the python rake module (SPSSINC_RAKE extension) to compute weight variables.
After migrating to V27 this module seems no longer existent and I have to use the rake procedure from the SPSS menu i.e. the syntax for that.
Now, I am wondering if it is no longer possible to use SPSSINC_RAKE.
Does anyone know something about that?
Best regards
Alexander
------------------------------
Alexander Mentrup
(r)evolution GmbH
------------------------------
#SPSSStatistics