Bugs on a Plane: Bad quotes & getting rid of character data

Little known fact (because, seriously, how would you know) , I write a lot of code while sitting on a plane and I can’t always connect to the Internet. NOT ALL QUOTATION MARKS ARE CREATED EQUAL Sometimes, when I copy and paste my code into SAS Studio, it doesn’t work. if compress(q23) = “3/4” then…

| |

MANOVA from beginning to end : Creating the scales

Last time, we saw how to recode variables to score answers correct or incorrect, on a rating scale and weighted by importance. Today, we’re going to look at creating some scales from those variables because for reasons I’m sure I have written about at some point in the past, single items are usually not very…

| |

MANOVA beginning to end: Recoding Data is Part of the Process

Other people want to go see the new Wonder Woman movie. I’ve been wanting to talk about MANOVA, but first, we need some decent dependent and independent measures. I have the India Human Development Survey data on over 39,000 women and my hypothesis is that education is related to women’s rights’ issues, especially autonomy, health…

| |

Getting STC files into SAS Studio – one reason I’m using it for class

It’s been almost two weeks of reviewing textbooks, revising my syllabus and I have to go back to it in a couple of hours to edit my last few powerpoints before class starts. Yes, when I was a brand-new baby professor I was sometimes rushing to write a lecture before class, but now that I…

|

Pointy, Clicky Propensity Score Matching With SAS

Hopefully, you have read my Beginner’s Guide to Propensity Score matching or through some other means become aware of what the hell propensity score matching is. Okay, fine, how do you get those propensity scores? Think about this carefully for a moment, if you are using quintiles, you are matching people by which group they…