All,
It seems I am getting rusted. I am not able to recall how to create a weight variable based on three variables. I know that SPSS python has Rake syntax but it does not create interlocked weights. I have census and sample data by gender by age and 4 region as below. I need to create one weight variable to reflect census proportion. Unfortunately SPSS Rake would not do this and it seems I have to do it manually but honestly I forgot the method. Can anyone help?
Region 1 Region 2 Region 3 Region 4
Male Age 1
Male Age 2
Male Age 3
Male Age 4
Female Age1
Female Age2
........
Mike