Tip: How to Create Dummy Variable by Pyhon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Tip: How to Create Dummy Variable by Pyhon

Wilhelm Landerholm | Queue
Hi!
A very common problem at Queue is that we want to create dummy variables from many other variables in SPSS.
I have noticed that some on this list also have the same problem, so I just want to tip you of a useful Python Script to Create Dummy Variables.

Just Copy and Run. Hopefully it will be useful for someone.

All the best

Wilhelm (Wille) Landerholm
+46-735-460000

Queue/STATB
BOX 92
162 12 Vallingby
Sweden

http://www.qsweden.com
http://www.statb.com

QUEUE/STATB - your partner in data analysis, data modeling and data mining.