Quantcast
Channel: Noodling in the data stream
Browsing all 48 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Data visualization, Budapest Ethnography Museum

Goods on the Pest market and their origins around 1736 Big circles designate villages that sent goods to the market. Small circles designate other villages. Double lines mean postal roads, single lines...

View Article


Image may be NSFW.
Clik here to view.

Supply chain magic

View Article


Building a repeater bridge

I turned a 7-year old Motorola WR850G (v3) 802.11b/g router into a repeater for a dual-channel Netgear WNDR3700 that I bought a few weeks ago. Dual-channel means that the thing works over both 2.4GHz...

View Article

All the SAS you need

You may find yourself on a job where people use SAS, but you would rather use Stata. If you have both SAS and Stata installed on your computer, you can simply put Dan Blanchette's usesas to work....

View Article

Factors in Stata and R

The quick version of this post goes like this: -- # in Stata is : in R -- ## in Stata is * in R. The long version is that both Stata and R handle very nicely factor variables in regression models. If...

View Article


How I rooted my Nook Color

The job takes one microSD card and two files that you download from the Internet: a CWR .img file, that you use to make the microSD card bootable; and a ManualNooter .zip file, which you do not unzip;...

View Article

Stata 12 with MacVim

I used to run Stata 10 with Vim on Windows. Now I run Stata 12 with MacVim. In Windows, there is a nice way to integrate Stata and Vim based on the work of Friedrich Huebler and Dimitriy Masterov. A...

View Article

From Stata to Google Maps

At the Stata command line, type "findit geocode". You will turn up a command that matches physical addresses with latitude and longitude coordinates using the Google Maps API. Then if you type "findit...

View Article


On work

Last week Ezra Klein wrote this. His main point, the way I read it, is that the Obama stimulus was insufficient. But he makes a few other claims, one of which is that the government should have stopped...

View Article


Mapping Durham

Today, Kirstin wanted to make a grocery trip to the Whole Foods at Bull City Market, then take Kate to the nearest playground. That seems to be Oval Drive Park, but it won't be obvious from querying...

View Article

How many zeroes in that Poisson?

I have a data set, and some of the variables there are counts of a given event. Four count outcomes, the easiest thing to do is a Poisson regression, but before you do that, it's worth asking if what...

View Article

A quick tip for using Stata in interactive mode

You don't always want to start a do-file in the editor for every small thing, though I usually do, and then trash it if I don't need it. So, my default stance is that I want to preserve work for later....

View Article

Fighting the R graphics

If you've ever seen the Error in plot.new(): figure margins too large message before, this is the best overview of the problem that I could find anywhere. There can be a lot of knobs to turn when it...

View Article


Stata 12 with MacVim, updated

A while back I showed how to get Stata 12 to work with MacVim. This is to let you know about a bug fix. I posted the details on the Statalist just now. If you're reading this blog and you're not also a...

View Article

Human rights stats, part 1

I follow @simplystats on Twitter, and on March 1 they had a post that linked to an article in Foreign Policy about a guy who has the coolest job in applied stats. He works here. The original piece...

View Article


Image may be NSFW.
Clik here to view.

Human rights stats, part 2

My previous post promised some simulations. To refresh your memory, I am trying to see how reliably Multiple Systems Estimation, as described here, can guess the true number of fish in a pond. The...

View Article

Image may be NSFW.
Clik here to view.

Human right stats, one last thing

The R code in my previous post could also produce the picture below. The implication is this: A small sample is still bad news. It is biased toward underestimating the population. There's nothing you...

View Article


Turn a date into Stata format quickly

There's a little program that's shown up more than once now in my housekeeping do-files, so it may be useful enough for a blog post, but it doesn't quite warrant a spot in c(sysdir_personal) as a...

View Article

Image may be NSFW.
Clik here to view.

Stata for stocks

The people at StataCorp are on Facebook, and the other day they linked to this blog post by Paul Clist about checking on a stock you might own through clever use of the stockquote Stata command. Last...

View Article

Do-file rules, revisited

Back in 2009 I wrote this post, detailing what at the time I thought would be a good way to write do-files. Some of the ideas there have stood the test of time. Others haven't. The changes are driven...

View Article
Browsing all 48 articles
Browse latest View live