Tag Archives: SAS catalog

WLS SAS Catalog or Command Files and Bit Arrays

Using a text editor it was easy to convert the SAS catalog files which come with the WLS to simpler formats to be read by simple programs.

Creating a bit array with the Python Bitarray package will produce a one dimensional array of bits, any number of which can be put in a list to produce a two dimensional thing. I need them transposed. You can transpose an ordinary two dimensional list of lists in one line of code using map and zip. Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Update on Using WLS Data

It seems that data from the Wisconsin Longitudinal Study can be used without easily machine readable codebooks by using the catalog files from the SAS distribution with the CSV distribution. The fact that some raw data is hidden in constructed variables in unfortunate, but we can probably work with what we have, at least for prototyping. “Just the facts, ma’am, just the facts”, please, questions exactly as asked, answers exactly as received would be the most useful. Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment