**tl;dr**: paste outcome and dependent variables into R's `as.formula()`

function to avoid typing the same models out repetitively.

**tl;dr**: paste outcome and dependent variables into R's `as.formula()`

function to avoid typing the same models out repetitively.

I used to think of CVs as a relic of an antiquated system of prestige. But working on some software changed my mind. CVs are, it turns out, pretty complicated artifacts. They reveal a great deal about the professional life of academics *and* all of the systems on which they come to rely.

Like most academics, I found it difficult to keep my CV up to date. I was surprised to learn that there was not a straight-forward system for managing this information. I thought that there should be a better system. It turns out, I'm not alone. About a week ago, Daniel Laurison posted the following to Twitter ...

I had the good fortune to participate in a conversation about how policies can create positive outcomes for racial integration. The American University Center for Latin American and Latino Studies hosted the event that included nationally renowned scholars and policymakers from the District. I was invited to talk and took the opportunity to provide a context for the DC area.

I emphasized three major points in my talk. First, **race and class are not synonymous in the DC area**. A higher percentage of blacks in the DC area have college degrees than any other metropolitan area ...

On Twitter, Phil Cohen asked how he might make a plot showing overlapping distributions:

Hey, here's a question. Does this work for showing the inequality between two distributions? Also, the data, if you have a better idea: pic.twitter.com/ViXuMfw1Qt

— Philip N Cohen (@familyunequal) May 7, 2018

I think that he was on the right track using transparency, but I am not sure that the color was exactly right. The plot reminded me of what Mike Bostock (my generation's Edward Tufte) did to make a population pyramid.

Phil was also working with another disadvantage: he's using Microsoft Excel. Excel (all Microsoft Office products actually), renders the ...

R presents more of a challenge to Stata on many fronts, one of which is basic data management.

I often find myself calculating the value of one observation given the value of an adjacent value. For example, to assess a lagged effect, I would take the value of the preceding interval. Stata makes this really easy, R not so much.

Here's what we would do in Stata:

set obs 1000 gen i = _n gen val = round(runiform()*10) gen lag = val[_n-1]

The last command throws the warning, `(1 missing value generated)`

because the first observation has no lagged observation. The first 10 observations look like this:

`. list ...`

Texmaker stopped compiling LaTeX code after I (finally) upgraded to High Sierra (btw, what a stupid name; it's not like the U.S. has a shortage of rock formations to use as names). I avoid upgrading operating systems because of this very problem: things just stop working. Fortunately this one turned out to be an easy fix.

I have set up HTTPS on my website (see the closed lock in the address bar?). Webfaction hosts my websites and I set up the TSL certificates I did it using free security certificates from Let's Encrypt. I have done it several times now, but I continue to forget how to do it the next time that I try to set it up. The following are notes to myself that I hope might be helpful to someone else as well. (Note that these instructions work only for websites hosted on Webfaction.)

I participated in a panel yesterday to discuss the book Trespassers?: Asian Americans and the Battle for Suburbia by my friend and colleague, Willow Lung-Amam. I have written out a summary of my comments on this very important and timely book below.

I want to congratulate Dr. Lung-Amam on the great accomplishment that this book represents. People who want to understand race in its contemporary context should read this book. I intend to assign it to my students for this very purpose.

The way that Lung-Amam scales different levels of geography was impressive. She connects factors as large as the geopolitics of global capital and migration flows to those as ...

I did it! I finally updated my website from my state-of-the-art-in-2007 website to this new, shiny version. All of the same content from my old website *should* be on this one, including this here blog and my CV as well as additional content including descriptions of my projects, class webpages, and a page with tools that I use. In addition, I have made the interactive website of neighborhood trajectories from my paper with Siri Warkentien part of the main website as well (and hope to be adding new interactive content in the future).

The redesign has been a work in progress for several years now, though that time was spent ...

I have been using the exam class by Philip Hirschhorn in LaTeX to write out homework and tests for my class, The Epidemiology of Everyday Life. It allows me to write out problems with the ease of mathematical notation in LaTeX, provide solutions that can be turned on and off with a single line of code, and to easily tally points on various pages. If you haven't used it and teach a stats-based course, I would definitely recommend checking it out.

I ran into a problem, however, because I am a procrastinating perfectionist. I have had a desired to have all of my teaching handouts to have a similar ...