chrisadolph/tile-simcf — Issue #5: simcf Modularity, step 2:  Simulation function simplification
Author: chrisadolph
Created: 2012-01-29 20:16:38+00:00
State: open

For a given regression model like logit, there are several functions, ```logitsimev```, ```logitsimfd```, and ```logitsimrr``` which simulate expected values, first differences, and relative risks using largely redundant code. Another issue (Issue 4) asks for a modular solution to model matrix definition in these functions, which is half the trouble. But we also should find a way to make each of the ```ev```, ```fd```, and ```rr``` functions draw on a single underlying ```logitsim``` function, which would make things easier for programmers, but not remove the handy function nomenclature for end-users.

(When I say "make things easier for programmers", note that we might want to add ```logitsimpv``` for predicted values, and ```logitsimdd``` for diff-in-diff simulation, all without touching the underlying ```logitsim``` code if possible.)